Skip to content

Commit

Permalink
chore: Drop autotest from suggests, due to issues with CI
Browse files Browse the repository at this point in the history
  • Loading branch information
simpar1471 committed Nov 9, 2024
1 parent f647a55 commit 108c079
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 23 deletions.
11 changes: 0 additions & 11 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Imports:
vctrs,
cli
Suggests:
autotest,
knitr,
rmarkdown,
testthat (>= 3.0.0),
Expand Down
7 changes: 1 addition & 6 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@
}
],
"softwareSuggestions": [
{
"@type": "SoftwareApplication",
"identifier": "autotest",
"name": "autotest"
},
{
"@type": "SoftwareApplication",
"identifier": "knitr",
Expand Down Expand Up @@ -213,7 +208,7 @@
},
"SystemRequirements": null
},
"fileSize": "2143.621KB",
"fileSize": "2198.879KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
11 changes: 6 additions & 5 deletions tests/testthat/test-autotest.R
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 108c079

Please sign in to comment.