Prepare a package for rextdata

Usage

use_rextdata(compress = "xz", pkg = ".", overwrite = FALSE)

Arguments

compress
a logical specifying whether saving to a named file is to use "gzip" compression, or one of "gzip", "bzip2" or "xz" to indicate the type of compression to be used.
pkg
package description, can be path or package name. See as.package for more information.
overwrite
overwrite existing files?

Description

Adds the rextdata package to the Imports section of the DESCRIPTION, creates a helper file that loads all external data sets via auto_extdata, and converts all existing data sets to extdata files.