From cf5fb9f8cbd38cd48305de066719b91ee9fbd00a Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Fri, 18 Oct 2024 14:20:32 +0100 Subject: [PATCH] Consistency in option names --- R/outpack_index.R | 2 +- tests/testthat/helper-orderly.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/outpack_index.R b/R/outpack_index.R index f11a037e..6b3dde02 100644 --- a/R/outpack_index.R +++ b/R/outpack_index.R @@ -57,7 +57,7 @@ outpack_index <- R6::R6Class( index_update <- function(root_path, prev, skip_cache, progress) { - progress <- progress %||% getOption("orderly_index_progress", TRUE) + progress <- progress %||% getOption("orderly.index_progress", TRUE) path_index <- file.path(root_path, ".outpack", "index", "outpack.rds") if (length(prev) == 0 && file.exists(path_index) && !skip_cache) { diff --git a/tests/testthat/helper-orderly.R b/tests/testthat/helper-orderly.R index f29fd6c2..611cccf5 100644 --- a/tests/testthat/helper-orderly.R +++ b/tests/testthat/helper-orderly.R @@ -1,7 +1,7 @@ options(outpack.schema_validate = requireNamespace("jsonvalidate", quietly = TRUE) && packageVersion("jsonvalidate") >= "1.4.0", - orderly_index_progress = FALSE, + orderly.index_progress = FALSE, orderly.quiet = TRUE)