Last active
August 29, 2015 14:04
-
-
Save brodieG/084edb4122c6ee2b2b6b to your computer and use it in GitHub Desktop.
Test setOldClass Issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(devtools) | |
install_github("pckgA", "brodieg") # defines old class "file" and class union "fileOrNULL" == c("file", "NULL") | |
install_github("pckgB", "brodieg") # defines old class "file", and nothing else | |
library(pckgA) | |
makeDummy() # from pckgA, instantiates a class with a "fileOrNULL" slot, placing a temp file S3 object in the slot | |
library(pckgB) | |
makeDummy() # this fails now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment