Skip to content

Commit

Permalink
Remove check warning
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke committed Mar 14, 2024
1 parent d2e23dc commit be655aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ get_extra_shinyverse_deps <- function(packages) {
getOption("repos", c("CRAN" = "https://cloud.r-project.org"))
)
), {
pkg_dep_packages <- pak::pkg_deps(pkg)$package
stopifnot(utils::packageVersion("pak") >= "0.3.0")
pak__pkg_deps <- utils::getFromNamespace("pkg_deps", "pak")
pkg_dep_packages <- pak__pkg_deps(pkg)$package
})
# Store in env does not need `<<-`
pak_deps_map[[pkg]] <- pkg_dep_packages
Expand Down

0 comments on commit be655aa

Please sign in to comment.