Skip to content

Commit

Permalink
Indicate argument type (#1940)
Browse files Browse the repository at this point in the history
* Indicate argument type

Make it clear that `min_version` expects a character vector, and not a double/integer when specifying exact versions.

* Correct typo

* Rebuild docs

* Tweak wording

---------

Co-authored-by: Jenny Bryan <[email protected]>
  • Loading branch information
MikeJohnPage and jennybc authored Jul 24, 2024
1 parent acac3f9 commit 93f4410
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion R/package.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion man/use_package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 93f4410

Please sign in to comment.