Skip to content

Commit

Permalink
Fix caching on old R versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- committed Jun 8, 2021
1 parent 639ce00 commit b501cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/compat-downstream-deps.R
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ check_downstream <- function(ver,

# Don't ask again. Flip now instead of on exit to defensively
# prevent recursion.
cache[[pkg]][[deps_key]] <- TRUE
cache[[pkg]][deps_key] <- list(TRUE)
env$checked <- TRUE

pkgs <- vapply(deps, `[[`, "", "pkg")
Expand Down

0 comments on commit b501cf7

Please sign in to comment.