Skip to content

Commit bfb5053

Browse files
also export deactivate
1 parent df0d1e5 commit bfb5053

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

API

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
cache_activate(cache_name = NULL)
66
cache_clear(cache_name = NULL, ask = TRUE)
7+
cache_deactivate()
78
cache_info(cache_name = NULL, format = "lucid")
89
create_style_guide(initialize = default_style_guide_attributes, line_break = NULL, space = NULL, token = NULL, indention = NULL, use_raw_indention = FALSE, reindention = tidyverse_reindention())
910
default_style_guide_attributes(pd_flat)

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
S3method(print,vertical)
44
export(cache_activate)
55
export(cache_clear)
6+
export(cache_deactivate)
67
export(cache_info)
78
export(create_style_guide)
89
export(default_style_guide_attributes)

R/ui.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ cache_activate <- function(cache_name = NULL) {
319319
}
320320

321321
#' @rdname cache_activate
322+
#' @export
322323
cache_deactivate <- function() {
323324
options("styler.use_cache" = FALSE)
324325
options("styler.cache_name" = NULL)

0 commit comments

Comments
 (0)