R/use_drat.R
This function helps you add a repository field to a package DESCRIPTION file.
use_drat_repo() use_repo(name)
name |
|
---|
invisible(NULL)
, called for side effect
For packrat and RStudioConnect deployment to work, packages in CRAN-like repositories must identify the name of the repository in their DESCRIPTION files. For CRAN, this line is added by the CRAN maintainers. If you are submitting a package to your institution's repository, you will need to add its name to your DESCRIPTION file.
# NOT RUN { # if you have a DRAT repository with the same basename use_drat_repo() # if you know the name of the repository use_repo(name = "ACMERAN") # }