scheme_active()
: Shows the name and version of the active scheme.
scheme_default()
: Shows the name of the default scheme which
comes with the package and can not be deleted. If name
and
version
is specified, the default scheme to be used will be set.
There is no need to do this only internally!. Otherwise, the scheme
repository used is only returned.
scheme_download()
: Scheme definitions can be stored in an online repo. The default is a github
repo at https://github.com/Exp-Micro-Ecol-Hub/dmdSchemeRepository. This
function dowloads a scheme definition, specified by name
and
version
, and saves it locally under the name destfile
scheme_install()
: Installed schemes are copied to
cache("installedSchemes")
and , if necessary, an .xlsx
definition is saved in addition. These can be listed by using
scheme_list.
scheme_install_r_package()
: Install R package for scheme
name
version
definition using the script
install_R_package.R
in the scheme package.
scheme_installed()
: Checks if a scheme is installed
scheme_list()
: Lists all definitions for schemes which are installed. Each follows the
pattern SCHEMENAME_SCHEMEVERSION.EXT
. All files with the same basename
but different extensions represent different representations of the same
scheme definition and are effectively equivalent, only that the tab
Documentation can only be found in the .xls
files.
scheme_list_in_repo()
: Scheme definitions can be stored in an online repo.
scheme_repo()
: Get or set scheme repository. If repo
is specified, the scheme
repository to be used is set. Otherwise, the scheme repository used is only
returned.
scheme_uninstall()
: Installed schemes are deleted from
cache("installedSchemes")
and moved to a temporary folder which is
rteturned invisibly.
scheme_use()
: Switch from the current scheme to a new scheme as defined in the scheme
schemeDefinition
. Installed schemes can be listed by using scheme_list()
.
New schemes can be added to the library via a call to scheme_add()
.
The name of the active scheme is saved in dmdScheme_active