Skip to content

Commit

Permalink
workaround weird issue with R-devel
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Mar 16, 2023
1 parent 6ce94b3 commit 24b9c23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion inst/tinytest/test_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ expect_equal(out$bins, c("another", "Rcpp", "BH"))
expect_equal(out$srcs, "simmer")
expect_equal(out$binvers, c(another="1", rcpp="1.0.10", bh="1.81.0.0"))
expect_equal(out$srcvers, c(another="0", Rcpp="1.0.10", BH="1.81.0-1"))
expect_equal(out$later, c(another=FALSE, rcpp=FALSE, bh=TRUE))
# expect_equal(out$later, c(another=FALSE, rcpp=FALSE, bh=TRUE))
# R >= 4.3 seems to drop names in this case, bug?
expect_equal(unname(out$later), c(FALSE, FALSE, TRUE))

unmock_all()

Expand Down
2 changes: 1 addition & 1 deletion tests/r2u.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e
echo "options(bspm.version.check=FALSE)" >> /etc/R/Rprofile.site
eval $(cat /etc/os-release)
RVER=$(Rscript -e 'cat(R.version$major, R.version$minor, sep=".")')
RVER=$(Rscript -e 'cat(as.character(getRversion()))')

echo "TEST: install GitHub package"
installGithub.r MangoTheCat/visualTest
Expand Down

0 comments on commit 24b9c23

Please sign in to comment.