Skip to content

Commit

Permalink
use string for package version comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
yjunechoe committed Jul 18, 2023
1 parent ac6e76d commit 1aacdb2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# jlmerclusterperm (development version)

Fixes for CRAN:

- Use string for package version comparison

# jlmerclusterperm 1.0.2

Expand Down
2 changes: 1 addition & 1 deletion R/aaa.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Helpers
julia_version_compatible <- function() {
julia_version <- gsub("^.*(\\d+\\.\\d+\\.\\d+).*$", "\\1", system2("julia", "--version", stdout = TRUE))
as.package_version(julia_version) >= 1.8
as.package_version(julia_version) >= "1.8"
}
is_setup <- function() isTRUE(.jlmerclusterperm$is_setup)

Expand Down
6 changes: 1 addition & 5 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
* Small patch to fix a failure to parse the Julia version when it's in rc or alpha.

* The exclusion of Manifest.toml is now specified in .Rbuildignore - only Project.toml is bundled as intended. Users will generate their own Manifest.toml as part of activating the project. This resolves the errors from a prior submission where the accidental inclusion of my own Manifest.toml triggered a stricter criteria for resolving the versions of (downstream) dependencies.

Apologies for frequency of resubmission.
* Small patch to use string for package version comparison

## R CMD check results

Expand Down

0 comments on commit 1aacdb2

Please sign in to comment.