[R-pkg-devel] R Internal data can not use

2018-03-31 Thread
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] Fwd: R package can not over write

2018-03-01 Thread
Hi guys, I am writing my second R package and get in trouble with some wired problems. I used to create "mypack" and "mypackV1" as two practics folders to save the data and code. (1) In one function in "mypack", I have a code that load("xx.rda") and in the same function in "mypackV1", I deleted t