-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
127 introduce within.qenv
#149
Conversation
Code Coverage Summary
Diff against main
Results for commit: eea0513 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
@gogonzo In the current form
(Calls and call lists will not work, it has to be a single The problem(?) is substitution is not available in these cases. The question is: do we care? Because I can make it work but then |
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.
I think that warning is not needed for single symbol
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.
Please try to write tests with single expectation and precise description.
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.
We got it! 🔥 🔥 🔥
respect |
Closes #127
Added an
S3
within
method for classqenv
which is a wrapper foreval_code
.Usage:
within(data, expr, ...)
within.qenv
is created for convenience and accepts only inline expressions, not language or character variables, nor literal strings.The
...
argument can be used to inject values intoexpr
before evaluation.EXAMPLES
Evaluate simple or compound expressions in
qenv
.Inject value into
expr
.Inject value with variable.