Skip to content

Commit

Permalink
Tune one test file
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Jan 8, 2024
1 parent 82d1878 commit 117dfa0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inst/tinytest/test_utilities.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
library(inline)

isM1 <- grepl("aarch64-apple", R.version$platform)
isLinux <- Sys.info()[["sysname"]] == "Linux"

code <- "
int i;
Expand All @@ -25,6 +26,7 @@ gc()
expect_false(file.exists(environment(quadfn)$libLFile))

if (isM1) exit_file("Skip remainer")
if (!isLinux) exit_file("Skip remainer")

# So we recreate the function and move the DLL to a user defined location
quadfn <- cfunction(signature(n = "integer", x = "numeric"), code,
Expand Down

0 comments on commit 117dfa0

Please sign in to comment.