diff --git a/R/package.R b/R/package.R index 989efe0a8..4160aedf7 100644 --- a/R/package.R +++ b/R/package.R @@ -23,7 +23,8 @@ #' "Suggests", "Enhances", or "LinkingTo" (or unique abbreviation). Matching #' is case insensitive. #' @param min_version Optionally, supply a minimum version for the package. Set -#' to `TRUE` to use the currently installed version. +#' to `TRUE` to use the currently installed version or use a version string +#' suitable for [numeric_version()], such as "2.5.0". #' @param remote By default, an `OWNER/REPO` GitHub remote is inserted. #' Optionally, you can supply a character string to specify the remote, e.g. #' `"gitlab::jimhester/covr"`, using any syntax supported by the [remotes diff --git a/man/use_package.Rd b/man/use_package.Rd index 586d9cc64..a0b6659e3 100644 --- a/man/use_package.Rd +++ b/man/use_package.Rd @@ -17,7 +17,8 @@ use_dev_package(package, type = "Imports", remote = NULL) is case insensitive.} \item{min_version}{Optionally, supply a minimum version for the package. Set -to \code{TRUE} to use the currently installed version.} +to \code{TRUE} to use the currently installed version or use a version string +suitable for \code{\link[=numeric_version]{numeric_version()}}, such as "2.5.0".} \item{remote}{By default, an \code{OWNER/REPO} GitHub remote is inserted. Optionally, you can supply a character string to specify the remote, e.g.