pkgman_describe: Functions to manage R side of the SciViews R package manager

View source: R/pkgMan.R

pkgman_describeR Documentation

Functions to manage R side of the SciViews R package manager

Description

These functions should not be used directly by the end-user. They implement the R-side code for the SciViews R package manager.

Usage

pkgman_describe(pkgname, print.it = TRUE)

pkgman_get_mirrors()

pkgman_get_available(
  page = "next",
  pattern = "",
  n = 50,
  keep = c("Package", "Version", "InstalledVersion", "Status"),
  reload = FALSE,
  sep = ";",
  eol = "\t\n"
)

pkgman_get_installed(sep = ";", eol = "\t\n")

pkgman_set_cran_mirror(url)

pkgman_install(pkgs, install.deps = FALSE, ask = TRUE)

pkgman_remove(pkgname)

pkgman_load(pkgname)

pkgman_detach(pkgname)

pkgManDescribe(pkgname, print.it = TRUE)

pkgManGetMirrors()

pkgManGetAvailable(
  page = "next",
  pattern = "",
  n = 50,
  keep = c("Package", "Version", "InstalledVersion", "Status"),
  reload = FALSE,
  sep = ";",
  eol = "\t\n"
)

pkgManGetInstalled(sep = ";", eol = "\t\n")

pkgManSetCRANMirror(url)

pkgManInstall(pkgs, install.deps = FALSE, ask = TRUE)

pkgManRemove(pkgname)

pkgManLoad(pkgname)

pkgManDetach(pkgname)

Arguments

pkgname

The name of one R package (character string).

print.it

Should the result be printed?

page

Which page to get?

pattern

Selection pattern.

n

The number of items to retrieve.

keep

The columns to keep in the resulting data frame.

reload

Do we force reload of the data and ignore cache version?

sep

Field separator to use.

eol

End-of-line sequence to use.

url

The URL to use for the current CRAN mirror.

pkgs

A list of packages to install.

install.deps

Do we also install dependencies?

ask

Do we prompt the user for package installation?

Value

These functions return data that is intended to be used by the SciViews R package manager.

Author(s)

Kamil Barton kamil.barton@uni-wuerzburg.de

See Also

package()


SciViews/svMisc documentation built on Sept. 15, 2023, 3:51 a.m.