We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To be able to split of formula_utils, we need to have something that's actual R in place of g3_with.
g3_with
local() is the obvious candidate, replacing g3_with(var1 := val1, var2 := val2, { stock__num <- var1 * var2 }) with local({var1 <- val1 ; var2 <- val2 ; stock__num <<- var1 * var2}).
local()
g3_with(var1 := val1, var2 := val2, { stock__num <- var1 * var2 })
local({var1 <- val1 ; var2 <- val2 ; stock__num <<- var1 * var2})
However, this isn't brilliant since assignments to stock__num outside of local() will still have to use <-. Remembering which to use sounds painful.
stock__num
<-
There's also a performance concern about all the extra environments, but this could be rewritten out if required.
The text was updated successfully, but these errors were encountered:
run: Stricter g3_with_extract_terms #90
7e1d92e
To make it more obvious what a replacement may need to do, make g3_with_extract_terms more rigid in what it accepts.
man/language: Better explanation of g3_with() #90
2a33633
No branches or pull requests
To be able to split of formula_utils, we need to have something that's actual R in place of
g3_with
.local()
is the obvious candidate, replacingg3_with(var1 := val1, var2 := val2, { stock__num <- var1 * var2 })
withlocal({var1 <- val1 ; var2 <- val2 ; stock__num <<- var1 * var2})
.However, this isn't brilliant since assignments to
stock__num
outside oflocal()
will still have to use<-
. Remembering which to use sounds painful.There's also a performance concern about all the extra environments, but this could be rewritten out if required.
The text was updated successfully, but these errors were encountered: