install.deps: Install package dependencies of a TAF analysis

View source: R/install.deps.R

install.depsR Documentation

Install package dependencies of a TAF analysis

Description

Search R scripts for packages that are required and install them.

Usage

install.deps(path = ".", ...)

Arguments

path

a directory or file containing R scripts.

...

arguments passed on to install.packages

Details

This function additionally looks in the TAF boot directory for packages that are required by the TAF boot process (i.e. called from a boot script).

See Also

deps install.packages

Examples

## Not run: 

library(TAF)

# Download a TAF analysis
download("https://github.com/ices-taf/2019_san.sa.6/archive/refs/heads/master.zip")
unzip("master.zip")

# move into analysis folder
setwd("2019_san.sa.6-master")

# list dependencies
deps()
deps(taf.boot.path())

# install (uninstalled) dependencies
install.deps()

## End(Not run)


ices-tools-prod/TAF documentation built on April 17, 2025, 2:02 p.m.