Install a study as an R package
installStudy(study, requireValid = TRUE, library = .libPaths()[1])
Invisibly returns the original onStudy
object that was passed
to the argument study
An OmicNavigator study to install (class onStudy
)
Require that study is valid before installing (passed to
exportStudy
, which runs validateStudy
)
Directory to install package. Defaults to first directory
returned by .libPaths
.
Note that installStudy
is only intended for directly
installing an OmicNavigator study object loaded in your current R session.
If you have already exported your study to a package tarball via
exportStudy
, then you can install it with
install.packages
, for example:
tarball <- exportStudy(myStudy)
install.packages(tarball, repos = NULL)