This function wraps the functionality of usethis::use_data() and
stw_write_roxygen() to write a data-frame (or tibble) to your package data,
as well as to write the Roxygen-documentation to a file in your package's R
directory.
stw_use_data( ..., file_doc = NULL, keep_steward = FALSE, overwrite = FALSE, compress = "bzip2", version = 2 )
| ... | Unquoted names of existing objects to save. |
|---|---|
| file_doc |
|
| keep_steward |
|
| overwrite | By default, |
| compress | Choose the type of compression used by |
| version | The serialization format version to use. The default, 2, was the default format from R 1.4.0 to 3.5.3. Version 3 became the default from R 3.6.0 and can only be read by R versions 3.5.0 and higher. |
invisible(NULL), called for side-effects