Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Small robustification for package version check during dev cycle
  • Loading branch information
eddelbuettel committed Jun 12, 2024
commit 69cb4dd0fe9e1b1292b7a9b0ed1a2f689281272f
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