diff --git a/DESCRIPTION b/DESCRIPTION index 3513e12af789e9f9ea60871d47cd1aafadfb82f3..a75d70104b5394a1c2dc81597c3e9f44a1b25e89 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -25,8 +25,11 @@ Imports: ranger (>= 0.12.1), Rcpp, rlist +Suggests: + testthat (>= 3.0.0) LinkingTo: Rcpp +Config/testthat/edition: 3 Encoding: UTF-8 LazyData: true RoxygenNote: 7.2.3 diff --git a/tests/testthat.R b/tests/testthat.R new file mode 100644 index 0000000000000000000000000000000000000000..9aeffeb4785a09c5c4885e07302568d9e75bd5ce --- /dev/null +++ b/tests/testthat.R @@ -0,0 +1,12 @@ +# This file is part of the standard setup for testthat. +# It is recommended that you do not modify it. +# +# Where should you do additional test configuration? +# Learn more about the roles of various files in: +# * https://r-pkgs.org/tests.html +# * https://testthat.r-lib.org/reference/test_package.html#special-files + +library(testthat) +library(RFSurrogates) + +test_check("RFSurrogates")