Skip to content

Commit

Permalink
namespace utils::available.packages 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 4a36598 commit 3ffc224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pkg-versions.R
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ add_pkg_name <- function (repo_data, cm_path) {
#' @noRd
add_CRAN_version <- function (repo_data, CRAN_only = TRUE) {

ap <- data.frame (available.packages ()) |>
ap <- data.frame (utils::available.packages ()) |>
dplyr::select (Package, Version) |>
dplyr::rename (pkg_name = Package)
repo_data <- dplyr::left_join (repo_data, ap, by = "pkg_name")
Expand Down

0 comments on commit 3ffc224

Please sign in to comment.