nse_dots {librarian}R Documentation

Convert dots to package names

Description

Convert dots to package names

Usage

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

## 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)


[Package librarian version 1.8.1 Index]