add_PACKAGES: Add R packages to the package database

View source: R/cranlike.R

add_PACKAGESR Documentation

Add R packages to the package database

Description

The files must exist in the directory. If the package database does not exist, then it will be created.

Usage

add_PACKAGES(files, dir = ".", fields = NULL, xcolumns = NULL)

Arguments

files

Files to add, only the file names, without the path. You can use base::basename() to chop off the path.

dir

Package directory.

fields

Fields to use in the database if the database is created.

xcolumns

Extra scalar columns to add to the database. Should be a named list of character scalars or NULL for no extra columns.

See Also

Other PACKAGES manipulation: remove_PACKAGES(), update_PACKAGES()


r-hub/cranlike documentation built on April 25, 2024, 9:22 a.m.