Skip to content

Commit

Permalink
Use dev pkgcache
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Jun 24, 2024
1 parent 789ce19 commit e7f729f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/library/pkgcache/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Language: en-US
Roxygen: list(markdown = TRUE, r6 = FALSE)
RoxygenNote: 7.3.1.9000
NeedsCompilation: yes
Packaged: 2024-05-03 09:58:15 UTC; gaborcsardi
Packaged: 2024-06-24 11:04:06 UTC; gaborcsardi
Author: Gábor Csárdi [aut, cre],
Posit Software, PBC [cph, fnd]
Maintainer: Gábor Csárdi <[email protected]>
2 changes: 1 addition & 1 deletion src/library/pkgcache/R/archive.R
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ cran_archive_list <- function(cran_mirror = default_cran_mirror(),
packages = NULL) {
get_archive_cache(cran_mirror)$list(
update_after = update_after,
package = packages
packages = packages
)
}

Expand Down
3 changes: 2 additions & 1 deletion src/library/pkgcache/R/metadata-cache.R
Original file line number Diff line number Diff line change
Expand Up @@ -779,9 +779,10 @@ missing_pkgs_note <- function(pkgs, result) {

what <- vcapply(msgs, "[[", 1)
where <- vcapply(msgs, "[[", 2)
errmsg <- vcapply(which(bad), function(i) conditionMessage(result[[i]]))
for (wt in unique(what)) {
wh <- unique(where[what == wt])
cli::cli_alert_info("{wt} packages are missing from {wh}")
cli::cli_alert_info("{wt} packages are missing from {wh}: {errmsg}")
}
}

Expand Down

0 comments on commit e7f729f

Please sign in to comment.