Displaying 1 result from an estimated 1 matches for "textpkg".
Did you mean:
testpkg
2019 Jan 24
0
Possible setClassUnion Unloading Issue
...he problems it causes:
## the character and NULL basic types, and install it
testpkg <- tempfile()
dir.create(file.path(testpkg, '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(tes...