use_drat_repo: Adds Repository field to DESCRIPTION

Description Usage Arguments Details Value Examples

View source: R/use_drat.R

Description

This function helps you add a repository field to a package DESCRIPTION file.

Usage

1
2
3

Arguments

name

character, name of repository

Details

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.

Value

invisible(NULL), called for side effect

Examples

1
2
3
4
5
6
7
8
## 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")

## End(Not run)

ijlyttle/ghentr documentation built on May 18, 2019, 3:41 a.m.