Skip to content

Commit

Permalink
Update dev pkgcache
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Jun 25, 2024
1 parent e7f729f commit e5258bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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-06-24 11:04:06 UTC; gaborcsardi
Packaged: 2024-06-25 08:37:02 UTC; gaborcsardi
Author: Gábor Csárdi [aut, cre],
Posit Software, PBC [cph, fnd]
Maintainer: Gábor Csárdi <[email protected]>
8 changes: 5 additions & 3 deletions src/library/pkgcache/R/packages-gz.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,11 @@ read_packages_file <- function(path, mirror, repodir, platform,
pkgs$sysreqs <- ifelse(is.na(pkgs$sysreqs), sysreqs2, pkgs$sysreqs)

} else {
pkgs$filesize <- rep(NA_integer_, nrow(pkgs))
pkgs$sha256 <- pkgs$sysreqs <- pkgs$built <- pkgs$published <-
rep(NA_character_, nrow(pkgs))
pkgs$filesize <- pkgs$filesize %||% rep(NA_integer_, nrow(pkgs))
pkgs$sha256 <- pkgs$sha256 %||% rep(NA_character_, nrow(pkgs))
pkgs$sysreqs <- pkgs$sysreqs %||% pkgs$systemrequirements %||% rep(NA_character_, nrow(pkgs))
pkgs$built <- pkgs$built %||% rep(NA_character_, nrow(pkgs))
pkgs$published <- pkgs$published %||% rep(NA_character_, nrow(pkgs))
}

# We add some Bioconductor system requirements manually
Expand Down

0 comments on commit e5258bb

Please sign in to comment.