add_PACKAGES: Add R packages to the package database

Description Usage Arguments See Also

View source: R/cranlike.R

Description

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

Usage

1
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 Nov. 24, 2021, 3:14 p.m.