Skip to content

Commit 13e0045

Browse files
committed
Add missing Suggests
1 parent 2f3fa16 commit 13e0045

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

DESCRIPTION

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ Imports:
2929
utils,
3030
yaml
3131
Suggests:
32+
callr,
3233
curl,
34+
dplyr,
3335
flextable,
3436
ggiraph,
3537
ggplot2,
@@ -38,6 +40,7 @@ Suggests:
3840
knitr,
3941
palmerpenguins,
4042
patchwork,
43+
pkgload,
4144
plotly,
4245
rsconnect (>= 0.8.26),
4346
testthat (>= 3.1.7),

tests/testthat/helper.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ local_quarto_run_echo_cmd <- function(.env = parent.frame()) {
220220
}
221221

222222
quick_install <- function(package, lib, quiet = TRUE) {
223+
skip_if_not_installed("callr")
223224
opts <- c(
224225
"--data-compress=none",
225226
"--no-byte-compile",
@@ -239,6 +240,7 @@ quick_install <- function(package, lib, quiet = TRUE) {
239240
install_dev_package <- function(.local_envir = parent.frame()) {
240241
# if not inside of R CMD check, install dev version into temp directory
241242
if (Sys.getenv("_R_CHECK_TIMINGS_") == "") {
243+
skip_if_not_installed("pkgload")
242244
withr::local_temp_libpaths(.local_envir = .local_envir)
243245
quick_install(pkgload::pkg_path("."), lib = .libPaths()[1])
244246
withr::local_envvar(

0 commit comments

Comments
 (0)