Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and krlmlr committed Sep 24, 2022
1 parent b4cb213 commit 08a8def
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 36 deletions.
18 changes: 9 additions & 9 deletions R/testing.R
Original file line number Diff line number Diff line change
Expand Up @@ -164,16 +164,16 @@ NULL
style_empty <- function(text, base_indention = 0) {
transformers <- list(
# transformer functions
initialize = list(
initialize = list(
default_style_guide_attributes = default_style_guide_attributes
),
line_break = NULL,
space = NULL,
token = NULL,
line_break = NULL,
space = NULL,
token = NULL,
# transformer options
use_raw_indention = FALSE,
reindention = specify_reindention(),
indent_character = " ",
reindention = specify_reindention(),
indent_character = " ",
NULL
)
transformed_text <- parse_transform_serialize_r(text,
Expand All @@ -188,7 +188,7 @@ style_empty <- function(text, base_indention = 0) {
style_op <- function(text, base_indention = 0L) {
transformers <- list(
# transformer functions
initialize = list(
initialize = list(
default_style_guide_attributes = default_style_guide_attributes
),
line_break = NULL,
Expand All @@ -198,8 +198,8 @@ style_op <- function(text, base_indention = 0L) {
token = NULL,
# transformer options
use_raw_indention = FALSE,
reindention = specify_reindention(),
indent_character = " ",
reindention = specify_reindention(),
indent_character = " ",
NULL
)

Expand Down
2 changes: 1 addition & 1 deletion R/visit.R
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ make_visit_one <- function(funs) {
body <- rlang::call2("{", !!!all_calls)

env <- rlang::as_environment(funs, rlang::base_env())
rlang::new_function(rlang::pairlist2(pd_flat =), body, env)
rlang::new_function(rlang::pairlist2(pd_flat = ), body, env)
}

#' Propagate context to terminals
Expand Down
4 changes: 1 addition & 3 deletions man/visit.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 0 additions & 23 deletions man/visit_one.Rd

This file was deleted.

0 comments on commit 08a8def

Please sign in to comment.