DESCRIPTION file in your package’s root. Note: Installing R packages can be slow and so you should only install the specific packages you need, not umbrella packages like tidyverse (in fact installing tidyverse will cause the system to timeout and therefore fail). For example, we’ve just added the dplyr and readr packages:
datascript.R to the code you need for data cleaning and manipulation.github/workflows/R-CMD-check.yaml file. If you are using RStudio you may need to enable “Show Hidden Files” to locate this file:
- name: Run datascript
run: Rscript datascript.R
so that in the end your file looks like this (in particular the spacing at the beginning of each line):
