The files must exist in the directory. If the package database does not exist, then it will be created.
add_PACKAGES(files, dir = ".", fields = NULL)
Files to add, only the file names, without the path.
You can use base::basename()
to chop off the path.
Package directory.
Fields to use in the database if the database is created.
Other PACKAGES manipulation: remove_PACKAGES
,
update_PACKAGES