nse_dots: Convert dots to package names

Description Usage Arguments Value Examples

View source: R/process_dots.R

Description

Convert dots to package names

Usage

1
nse_dots(..., keep_user = FALSE)

Arguments

...

(Dots) Package names provided as bare names or strings (of length 1). If a character vector is provided as the first argument, it will be used and all other arguments in dots will be ignored.

keep_user

(Logical) If FALSE, omit the username from a GitHub package reference.

Value

A character vector.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
nse_dots(dplyr, DesiQuintans/desiderata, keep_user = FALSE)

#> [1] "dplyr"   "desiderata"

nse_dots(dplyr, DesiQuintans/desiderata, keep_user = TRUE)

#> [1] "dplyr"   "DesiQuintans/desiderata"

## End(Not run)

DesiQuintans/librarian documentation built on July 16, 2021, 2:25 a.m.