Use model object in your package
rxUse(obj, overwrite = TRUE, compress = "bzip2", internal = FALSE)
obj
: model to save.overwrite
: By default, use_data()
will not overwrite existing files. If you really want to do so, set this to TRUE
.compress
: Choose the type of compression used by save()
. Should be one of "gzip", "bzip2", or "xz".internal
: If this is run internally. By default this is FALSENothing; This is used for its side effects and shouldn't be called by a user
Useful links