Skip to content

Commit 0ae2df9

Browse files
committed
skip last check for tinytest < 1.2.0
1 parent c9d405e commit 0ae2df9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

inst/tinytest/test_xptr.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,7 @@ void test() {
6262
writeLines(code, file_path)
6363
expect_silent(system(cmd), info="check that finalizer is NOT called on exit")
6464

65+
if (packageVersion("tinytest") < "1.2.0") exit_file("Skip remainder on older test platform")
66+
6567
writeLines(c("#define RCPP_USE_FINALIZE_ON_EXIT", code), file_path)
6668
expect_stdout(system(cmd), info="check that finalizer is called on exit")

0 commit comments

Comments
 (0)