-
-
Notifications
You must be signed in to change notification settings - Fork 8
Improvements (i hope so) #254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -25,19 +25,27 @@ | |||
#' q <- eval_code(q, expression(assert_number(a))) | |||
#' | |||
#' @aliases eval_code,qenv-method | |||
#' @aliases eval_code,qenv.error-method |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is needed - all methods have to have own docs position
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, I have one comment about passing the arguments forward
@@ -48,20 +48,13 @@ | |||
#' @export | |||
#' | |||
within.qenv <- function(data, expr, ...) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we check for named dots?
pkgload::load_all("teal.code")
#> ℹ Loading teal.code
qenv() |> within(aa <- 1+1, TRUE, FALSE)
#> <environment: 0x5b1c29313ae0> 🔒
#> Parent: <environment: devtools_shims>
#> Bindings:
#> - aa: [numeric]
Created on 2025-06-03 with reprex v2.1.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
Code balance is + because I've added one test ;]