I'm writing my own package and plan to publish to R CRAN.
And my function will use some data so I create a csv file called "keyboardvalue.csv", this csv file is only for my function, not for the package user, and package user can not access it.
But when I use "Check Package", there is always a warning says : Undocumented data sets: 'keyboardvalue' All user-level objects in a package should have documentation entries.
The question is, this data is not a user-level data, and I don't want to make a document for it, how could I solve that? The file path of this file is "mypackage/data/keyboardvalue.csv"
Answer myself:
Save my data into sysdata.rda
and put it in the R
folder in my package.