Displaying 1 result from an estimated 1 matches for "chrornull".
2019 Jan 24
0
Possible setClassUnion Unloading Issue
...tpkg, 'R'), recursive=TRUE)
writeLines('', file.path(testpkg, 'NAMESPACE'))
description <- 'Package: testpkg\nTitle: Textpkg\nVersion: 0.1\n'
writeLines(description, file.path(testpkg, 'DESCRIPTION'))
code <- 'setClassUnion("chrOrNULL", c("character", "NULL"))'
writeLines(code, file.path(testpkg, 'R', 'union.R'))
install.packages(testpkg, repos=NULL, type='src')
## Load the package and check validity of a character object
library('testpkg')
va...