Skip to content

Commit 8d5c3a2

Browse files
committed
Tweak documentation for pkg argument
1 parent bdcf660 commit 8d5c3a2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

R/package.R

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
#' package library.
66
#'
77
#' @param pkg Package names or package references. E.g.
8-
#' - `ggplot2`: package from CRAN, Bioconductor or a CRAN-like repository
8+
#' - `ggplot2` or `cran::ggplot2`: package from CRAN, Bioconductor or a CRAN-like repository
99
#' in general,
10-
#' - `tidyverse/ggplot2`: package from GitHub,
11-
#' - `tidyverse/ggplot2@v3.4.0`: package from GitHub tag or branch,
12-
#' - `https://examples.com/.../ggplot2_3.3.6.tar.gz`: package from URL,
13-
#' - `.`: package in the current working directory.
10+
#' - `tidyverse/ggplot2` or `github::tidyverse/ggplot2`: package from GitHub,
11+
#' - `tidyverse/ggplot2@v3.4.0` or `github::tidyverse/ggplot2@v3.4.0`: package from GitHub tag or branch,
12+
#' - `url::https://examples.com/.../ggplot2_3.3.6.tar.gz`: package from URL,
13+
#' - `.` or `local::.`: package in the current working directory.
1414
#'
1515
#' See "[Package sources]" for more details.
1616
#' @param lib Package library to install the packages to. Note that _all_

0 commit comments

Comments
 (0)