Hi there, I am creating an R package now. I use devtools::use_data(mydat, internal = T) to add a sysdata.rda in R/ folder. The building process works well, but when I installed it, and I can not reach the data in sysdata.rda. Did anyone have this problem before? Thank you for your help. Frank
[R-pkg-devel] R Internal data can not use
2 messages · 王玥, Duncan Murdoch
On 31/03/2018 10:34 AM, ?? wrote:
Hi there, I am creating an R package now. I use devtools::use_data(mydat, internal = T) to add a sysdata.rda in R/ folder. The building process works well, but when I installed it, and I can not reach the data in sysdata.rda. Did anyone have this problem before?
How are you trying to reach it? The sysdata.rda data is not supposed to be accessible outside the package. Duncan Murdoch