Skip to content

Commit

Permalink
update man entries for ropensci-org#76
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Jul 23, 2024
1 parent 903c7ea commit 4a36598
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
11 changes: 10 additions & 1 deletion R/pkg-versions.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Functions to extract version numbers of packages, both from CRAN and latest
# GitHub releases.

check_pkg_version_path <- function () {
cm_path <- normalizePath (file.path ("raw_cm.json"), mustWork = FALSE)

Expand All @@ -13,7 +16,13 @@ check_pkg_version_path <- function () {
return (cm_path)
}

#' Ensure CRAN versions are released on GitHUb
#' Extract data on releases of packages, both on CRAN and GitHub.
#'
#' @param CRAN_only If `TRUE`, return only those rows of `repo_data` which
#' correspond to packages which are or were on CRAN; otherwise return all data.
#' @return A `data.frame` with one row for each package, and columns containing
#' information on the package including dates and version numbers of GitHub and
#' CRAN releases (if any).
#'
#' @export
registry_pkg_versions <- function (CRAN_only = TRUE) {
Expand Down
13 changes: 11 additions & 2 deletions man/registry_pkg_versions.Rd

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

0 comments on commit 4a36598

Please sign in to comment.