Skip to content

Commit

Permalink
Small robustification for package version check during dev cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Jun 12, 2024
1 parent 528f453 commit 69cb4dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/tinytest/test_packageversion.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

## Copyright (C) 2019 - 2022 Dirk Eddelbuettel
## Copyright (C) 2019 - 2024 Dirk Eddelbuettel
##
## This file is part of Rcpp.
##
Expand Down Expand Up @@ -30,7 +30,7 @@ v <- as.integer(unlist(strsplit(pvstr, "\\.")))
relstr <- as.character(as.package_version(paste(v[1:3], collapse=".")))

## call C++ function returning list of six values, three each for 'release' and 'dev' version
res <- checkVersion(v)
res <- checkVersion(v[1:min(4, length(v))])


## basic check: is the #defined version equal to the computed version (issue #1014)
Expand Down

0 comments on commit 69cb4dd

Please sign in to comment.