diff --git a/NEWS.md b/NEWS.md index 5606ef6..71dba32 100644 --- a/NEWS.md +++ b/NEWS.md @@ -37,7 +37,7 @@ tibble(subjid=c(1:10, 1)) %>% assert_no_duplicate() %>% nrow() #### Minor breaking changes -- `read_trialmaster(use_cache=FALSE)` is now the default. Caching is not that useful after all so you should opt-in rather than opt-out. +- `read_trialmaster(use_cache="write")` is now the default. Caching is not that useful after all so you should opt-in rather than opt-out. - `read_trialmaster(extend_lookup=TRUE)` is now the default. diff --git a/R/trialmaster.R b/R/trialmaster.R index de9ed72..7595924 100644 --- a/R/trialmaster.R +++ b/R/trialmaster.R @@ -18,8 +18,8 @@ #' @importFrom glue glue #' @importFrom rlang check_dots_empty #' @importFrom stringr str_remove -read_trialmaster = function(archive, ..., use_cache=FALSE, #' @importFrom utils object.size +read_trialmaster = function(archive, ..., use_cache="write", clean_names_fun=NULL, split_mixed=FALSE, extend_lookup=TRUE,