From 37041a7e38d4b0c32a949df529b1046522614ad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Drago=C8=99=20Moldovan-Gr=C3=BCnfeld?= Date: Fri, 18 Jul 2025 21:09:53 +0100 Subject: [PATCH] use {testthat} 3rd edition --- DESCRIPTION | 2 +- tests/testthat.R | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index d224b66..93811da 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -26,7 +26,7 @@ Imports: tibble Suggests: covr, - testthat + testthat (>= 3.0.0) Config/testthat/edition: 3 Encoding: UTF-8 LazyData: true diff --git a/tests/testthat.R b/tests/testthat.R index e89d749..3de065c 100644 --- a/tests/testthat.R +++ b/tests/testthat.R @@ -1,3 +1,11 @@ +# 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/testing-design.html#sec-tests-files-overview +# * https://testthat.r-lib.org/articles/special-files.html + library(testthat) library(rocnp)