License
44 | 45 |YEAR: 2020 48 | COPYRIGHT HOLDER: Iñaki Ucar 49 |50 | 51 |
YEAR: 2020 48 | COPYRIGHT HOLDER: Iñaki Ucar 49 |50 | 51 |
Internal scripts can be called via Rscript (see examples).
bspm-options
60 | bspm-package
65 | bspm-scripts
70 | install_sys() remove_sys() moveto_sys() available_sys() discover()
80 | shadowed_packages()
85 | List of options() supported to configure bspm's behavior.
52 | In general, these should be set before calling any package function.
bspm.backend.check:logical, default TRUE. If false,
62 | the initial check on enable() is not performed.
bspm.version.check:logical, default TRUE. If false,
66 | as many binaries are installed as possible without any version check,
67 | and then installation from source is used as a fallback.
bspm.sudo.autodetect:logical, default FALSE. If true,
71 | enables autodetection and selection of password-less sudo.
bspm.sudo:logical, default FALSE. If true, forces
75 | sudo unconditionally as the preferred mechanism.
These are used in the same way as in base R. See options for
84 | a detailed description.
askYesNo
install.packages.compile.from.source
Enables binary package installations on Linux distributions.
62 | Provides functions to manage packages via the distribution's package
63 | manager. Also provides transparent integration with R's install.packages
64 | and a fallback mechanism. When installed as a system package, interacts
65 | with the system's package manager without requiring administrative
66 | privileges via an integrated D-Bus service; otherwise, uses sudo.
67 | Currently, the following backends are supported: DNF, APT, ALPM.
manager, integration,
78 | bspm-scripts, bspm-options
Find packages that are shadowed by others in library locations 52 | with a higher priority.
53 |character vector describing the location of the R library
64 | trees to search through, or NULL for all known trees
65 | (see .libPaths).
A data.frame with one row per package, row names the package
73 | names and column names (currently) "Package", "LibPath", "Version",
74 | "Shadow.LibPath", "Shadow.Version", "Shadow.Newer".
R supports setting several locations for library trees. This is a
79 | powerful feature, but many times packages end up installed in multiple
80 | locations, and in such cases R silently uses the one in the path with the
81 | highest priority (appearing first in .libPaths), thus
82 | shadowing packages in locations with a lower priority.
For bspm installations, this means that outdated user packages may
84 | break system libraries. This utility reports packages that are shadowed
85 | (one per row) with information on which location ("Shadow.LibPath")
86 | and version ("Shadow.Version") has priority over it.
87 | The moveto_sys method is a great complement to move such
88 | outdated versions to the system libraries.