Skip to content

Commit

Permalink
BUG FIX: Internal r_version_has_bug18119() failed to infer the SVN re…
Browse files Browse the repository at this point in the history
…vision, which in turn led to Issue #65
  • Loading branch information
HenrikBengtsson committed Aug 3, 2021
1 parent f630586 commit 07d27d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/parallelly_disable_parallel_setup_if_needed.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ r_version_has_bug18119 <- local({
revision <- Sys.getenv("R_PARALLELLY_R_REVISION", NA_character_)
if (is.na(revision)) {
revision <- R.version[["svn rev"]]
if (length(revision) != 1 || !is.finite(revision)) revision <- -1L
if (length(revision) != 1) revision <- -1L
}
revision <- as.integer(revision)

if (!is.finite(revision)) revision <- -1L
list(version = version, revision = revision)
}

Expand Down

0 comments on commit 07d27d0

Please sign in to comment.