File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -62,24 +62,23 @@ touchstone_clear <- function(all = FALSE) {
62
62
# ' @return The quoted input (invisibly).
63
63
# ' @keywords internal
64
64
exprs_eval <- function (... , env = parent.frame()) {
65
-
66
- expr <- rlang :: enexprs(... )[[1 ]]
65
+ expr <- rlang :: enexprs(... )[[1 ]]
67
66
68
- if (is.symbol(expr )) {
67
+ if (is.symbol(expr )) {
69
68
expr <- rlang :: eval_tidy(expr , env = env )
70
- }
69
+ }
71
70
72
- if (is.character(expr )) {
73
- expr <- rlang :: parse_exprs(expr )
74
- }
71
+ if (is.character(expr )) {
72
+ expr <- rlang :: parse_exprs(expr )
73
+ }
75
74
76
- if (is.list(expr )) {
77
- purrr :: map(expr , eval , envir = env )
78
- } else {
79
- eval(expr , envir = env )
80
- }
75
+ if (is.list(expr )) {
76
+ purrr :: map(expr , eval , envir = env )
77
+ } else {
78
+ eval(expr , envir = env )
79
+ }
81
80
82
- invisible (expr )
81
+ invisible (expr )
83
82
}
84
83
85
84
# ' Samples `ref`
You can’t perform that action at this time.
0 commit comments