use_data {devtools} | R Documentation |
This function makes it easy to save package data in the correct format.
use_data(..., pkg = ".", internal = FALSE, overwrite = FALSE, compress = "bzip2")
... |
Unquoted names of existing objects to save. |
pkg |
Package where to store data. Defaults to package in working directory. |
internal |
If |
overwrite |
By default, |
compress |
Choose the type of compression used by |
Other infrastructure: infrastructure
,
use_build_ignore
,
use_data_raw
, use_news_md
,
use_package
, use_readme_rmd
## Not run: x <- 1:10 y <- 1:100 use_data(x, y) # For external use use_data(x, y, internal = TRUE) # For internal use ## End(Not run)