installSpaDES: Install SpaDES packages, making sure to 'update.packages'...

View source: R/install.R

installSpaDESR Documentation

Install SpaDES packages, making sure to update.packages first

Description

Install SpaDES packages, making sure to update.packages first

Usage

installSpaDES(
  type,
  libPath = .libPaths()[1],
  fromSource = sourcePkgs(),
  versions = c("SpaDES.core (>= 1.0.9)", "SpaDES.tools (>= 0.3.9)"),
  dontUpdate = c("scam"),
  upgrade = c("default", "ask", "always", "never"),
  SpaDES.project = TRUE,
  ...
)

Arguments

type

passed to both update.packages and install.packages. This will be set to "binary" on Windows, if not set, to get the binary packages from CRAN.

libPath

Passed to both update.packages(lib.lob = libPath) and install.packages(lib = libPath, ...)

fromSource

A character vector of packages that must be installed from source on Linux-alikes, even if the options("repos") is pointing to a binary repository of binary packages. The default is all the spatial packages, plus a few others. Has no effect if

versions

named list of package versions to install

dontUpdate

character vector of packages not to update

upgrade

Logical or character ("default", "ask", "never", "always"). If TRUE or "always", then update.packages will be run on installed packages, and any packages that are not their most recent will be installed with their current version on CRAN.

SpaDES.project

logical. If TRUE, the default, then the SpaDES.project will also be installed. This is not on CRAN. It will first attempt to install from predictiveecology.r-universe.dev. If that fails, then it will install from source from github.com/PredictiveEcology/SpaDES.project

...

Passed to deprecated arguments (currently: ask)


PredictiveEcology/SpaDES.install documentation built on March 10, 2023, 1:19 p.m.