R Package Development 5: Including Data in a Package

Описание к видео R Package Development 5: Including Data in a Package

This video is the third in a series on R package development in in RStudio. Here we will discuss including data in your package in rda files, as well as external data. See https://cran.r-project.org/doc/manual... for the definitive rules for data in packages including:

"Data files can have one of three types as indicated by their extension: plain R code (.R or .r), tables (.tab, .txt, or .csv, see ?data for the file formats, and note that .csv is not the standard CSV format), or save() images (.RData or .rda)"

The usethis package will be used heavily, and I recommend checking it out: https://github.com/r-lib/usethis.

Комментарии

Информация по комментариям в разработке