diff --git a/CITATION.cff b/CITATION.cff index 0ed6908..867c3f5 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -150,17 +150,6 @@ references: email: csardi.gabor@gmail.com year: '2024' doi: 10.32614/CRAN.package.cli -- type: software - title: autotest - abstract: 'autotest: Automatic Package Testing' - notes: Suggests - url: https://docs.ropensci.org/autotest/ - authors: - - family-names: Padgham - given-names: Mark - email: mark.padgham@email.com - orcid: https://orcid.org/0000-0003-2172-5265 - year: '2024' - type: software title: knitr abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R' diff --git a/DESCRIPTION b/DESCRIPTION index 8340cb7..c60afbc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -37,7 +37,6 @@ Imports: vctrs, cli Suggests: - autotest, knitr, rmarkdown, testthat (>= 3.0.0), diff --git a/codemeta.json b/codemeta.json index aff2048..c9b87b9 100644 --- a/codemeta.json +++ b/codemeta.json @@ -60,11 +60,6 @@ } ], "softwareSuggestions": [ - { - "@type": "SoftwareApplication", - "identifier": "autotest", - "name": "autotest" - }, { "@type": "SoftwareApplication", "identifier": "knitr", @@ -213,7 +208,7 @@ }, "SystemRequirements": null }, - "fileSize": "2143.621KB", + "fileSize": "2198.879KB", "citation": [ { "@type": "SoftwareSourceCode", diff --git a/tests/testthat/test-autotest.R b/tests/testthat/test-autotest.R index cdec5dd..02e68ac 100644 --- a/tests/testthat/test-autotest.R +++ b/tests/testthat/test-autotest.R @@ -3,11 +3,12 @@ test_that( desc = "Relevant `autotest` checks pass", code = { - testthat::skip( - message = paste0( - "There is a bug which causes errors in autotest when all tests with ", - "issues are not supposed to be tested. For now, I am skipping instead ", - "of having testthat fail.") + skip_on_ci() + skip_on_cran() + skip(message = paste0( + "There is a bug which causes errors in autotest when all tests with ", + "issues are not supposed to be tested. For now, I am skipping instead ", + "of having testthat fail.") ) at_table <- autotest::autotest_package(test = FALSE) at_table$note <- rep_len(x = NA_character_, length.out = nrow(at_table))