![]() They include reusable R functions, the documentation that describes how to use them, and sample data. My function takes a file as argument, i.e. Packages are the fundamental units of reproducible R code. ![]() Thanks in advance! Edit # Response to comment I am having an issue getting my package to pass the check stage as I am unclear how to get my functions to read the sample data files as opposed to first loading them and then passing the resulting table/data frame as an argument. As such, my functions read files line by line. We will use devtools package to create an appropriate package structure and perform frequent development tasks, like building, installing, and loading the package, checking and updating its documentation, run examples and tests. The problem is, I designed the functions to read files as input - the reason being that those using my package will typically be loading large datasets. I am aware of the data directory created by package.skeleton() and how to load datasets, etc. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |