7.1 Exported data
R objects for the user
.rda
files from save()
- single R objects, same name as file
LazyData: true
in DESCRIPTION
To do this easily, usethis::use_data()
saves data to the data/
directory
For example:
my_pkg_data <- sample(1000)
usethis::use_data(my_pkg_data)