insert packages into a drat repo
Usage
insert_packages(pkgs, repository, archive = TRUE, ..., os_flavor = NULL)
Arguments
- pkgs
list of packages to insert
- repository
repository folder to insert
- archive
whether to archive the packages after insertion to prevent duplicates
- ...
parameters passed to `drat::archivePackages`
- os_flavor
optional os_flavor specification, defaults to NULL unless detected as aarch64
Details
repository folder should most likely correspond to the name
of the repository set in the pkg metadata, however
realistically, the time that they need to match when
repos is set in a user session in the `getOption('repos')` field