a | b/data-raw/MAKEDATA.R | ||
---|---|---|---|
1 | # Data that the package will use, and is explorable by users: |
||
2 | usethis::use_data(x) # This will create a file at data/x.Rda |
||
3 | |||
4 | # Data that the package will use, and is not explorable by users, internal data: |
||
5 | usethis::use_data(y, internal = TRUE) # This will create a file at R/sysdata.rda. Note, this data does not require documentation, nor does it need to be exported, it is not visible to users. |