From ee87534ec9304fce4f9d3285a7020306bc4aacd5 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Tue, 12 Mar 2024 13:28:42 -0500 Subject: [PATCH] Run tests in parallel (#2414) --- DESCRIPTION | 1 + R/build-news.R | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index aa7501f1e..c7138f547 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -64,6 +64,7 @@ VignetteBuilder: Config/Needs/website: usethis, servr Config/potools/style: explicit Config/testthat/edition: 3 +Config/testthat/parallel: true Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.1 diff --git a/R/build-news.R b/R/build-news.R index 03643affb..dec9ab041 100644 --- a/R/build-news.R +++ b/R/build-news.R @@ -141,7 +141,7 @@ build_news_multi <- function(pkg = ".") { ) } -globalVariables(".") +utils::globalVariables(".") data_news <- function(pkg = list()) { html <- markdown_body(path(pkg$src_path, "NEWS.md"))