Skip to content

Commit

Permalink
Reviewer suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg committed Jul 26, 2024
1 parent aae8424 commit 7d14f3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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)
}

warn_repo_pkg_version <- function(desc, ver) {
check_repo_pkg_version <- function(desc, ver) {
# 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 Down Expand Up @@ -39,7 +39,7 @@ get_default_wasm_assets <- function(desc) {
}

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

list(
list(
Expand All @@ -66,7 +66,7 @@ get_r_universe_wasm_assets <- function(desc) {
}

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

list(
list(
Expand Down

0 comments on commit 7d14f3c

Please sign in to comment.