For the time being, this function only checks projects.
Keep in mind that R packages have requirements for the folder structure.
That is one of things that check_cran() checks.
Recommended folder structure
source: contains allRscripts andRmdfiles.data: contains all data files.
source
A simple project with only R scripts or only Rmd files can place all the
files directly in the source folder.
More elaborate projects should place in the files in several folders under
source.
Place every bookdown document in a dedicated folder.
And create an RStudio project for that folder.
data
Simple projects in which source has no subfolders, place data at the
root of the project.
For more elaborate project you must choose between either data at the root
of the project or data as subfolder of the subfolders of source.
E.g. source/report/data.
Place the data in an open file format.
E.g. csv, txt or tsv for tabular data.
We strongly recommend to use git2rdata::write_vc() to store such data.
Use the geopackage format for spatial data.
Optionally add description of the data as markdown files.
See also
Other project:
check_project(),
check_source()