taf.install | R Documentation |
Install packages in ‘tar.gz’ format in local TAF library.
taf.install(targz = NULL, lib = taf.boot.path("library"), quiet = FALSE)
targz |
a package filename, vector of filenames, or |
lib |
location of local TAF library. |
quiet |
whether to suppress messages. |
If targz = NULL
, all packages found in boot/software
are
installed, as long as they have filenames of the form
package_sha.tar.gz
containing a 7-character SHA reference code.
The default behavior of taf.install
is to install packages in
alphabetical order. When the installation order matters because of
dependencies, the user can specify a vector of package filenames to install.
No return value, called for side effects.
The taf.boot
procedure downloads and installs R packages, without
requiring the user to run taf.install
. The main reason for a TAF user
to run taf.install
directly is to initialize and run a TAF analysis
without running the boot procedure, e.g. to avoid updating the underlying
datasets and software.
After installing the package, this function writes the remote SHA reference
code into the package files DESCRIPTION
and Meta/package.rds
.
taf.boot
calls download.github
and
taf.install
to download and install R packages.
taf.library
loads a package from boot/library
.
clean.library
selectively removes packages from the local TAF
library.
install.packages
is the underlying base function to install a
package.
TAF-package
gives an overview of the package.
## Not run:
# Install one package
taf.install("boot/software/FLAssess_f1e5acb.tar.gz")
# Install all packages found in boot/software
taf.install()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.