Skip to content

Commit

Permalink
fix: Missing pkg variable (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke authored Jul 30, 2024
1 parent 3822e0f commit 73b3b85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/packages.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resolve_dependencies <- function(pkgs, local = TRUE) {
unique(inst$get_resolution()$package)
}

check_repo_pkg_version <- function(desc, ver) {
check_repo_pkg_version <- function(desc, ver, pkg) {
# Show a warning if packages major.minor versions differ
# We don't worry too much about patch, since webR versions of packages may be
# patched at the repo for compatibility with Emscripten
Expand All @@ -38,7 +38,7 @@ get_wasm_assets <- function(desc, repo) {
}

ver <- info[pkg, "Version", drop = TRUE]
check_repo_pkg_version(desc, ver)
check_repo_pkg_version(desc, ver, pkg)

list(
list(
Expand Down

0 comments on commit 73b3b85

Please sign in to comment.