Skip to content

Commit f5d6fc2

Browse files
committed
Fix CRAN submission failures
1 parent b397f59 commit f5d6fc2

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,4 @@
6060
^README_files/figure-markdown_github$
6161
^README_files//figure-markdown_github/compare-30-37-42-thresholds-1\.svg$
6262
^README_files$
63+
^CRAN-SUBMISSION$

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: grattan
22
Type: Package
33
Title: Australian Tax Policy Analysis
4-
Version: 2023.1.0
4+
Version: 2023.1.1
55
Date: 2023-09-04
66
Authors@R: c(person("Hugh", "Parsonage", role = c("aut", "cre"), email = "[email protected]"),
77
person("Tim", "Cameron", role = "aut"),

cran-comments.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ NOTES:
77

88
Spelling of 'Grattan' and 'indices' are correct
99
Previous CRAN failure has been fixed (void in C functions)
10+
setDTthreads(1) to ensure single-thread ops during testing
1011

tests/testthat.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
all.pkgs <- c("testthat", "data.table", "magrittr", "survey", "zoo")
2+
all.pkgs <- c("testthat", "data.table", "magrittr", "withr")
33

44

55
if (all(vapply(all.pkgs, requireNamespace, logical(1L), quietly = TRUE))) {
@@ -9,7 +9,7 @@ if (all(vapply(all.pkgs, requireNamespace, logical(1L), quietly = TRUE))) {
99
library(hutils)
1010
library(data.table)
1111
library(magrittr)
12-
12+
setDTthreads(1L)
1313
if (identical(Sys.getenv("CIRCLECI"), "true")) {
1414
test_check("grattan",
1515
reporter = JunitReporter$new(file = "junit_result.xml"))

0 commit comments

Comments
 (0)