You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow this project's Contributing Guidelines.
Project Version
0.1.6
Platform and OS Version
Windows
Existing Issues
No response
What happened?
I'm having trouble using validate_if inside of code that is modularised using box. It seems to be that the assertr functions I use inside the expression given to validate_if are not available at the point the expression passed to validate_if is evaluated by the tidy_eval line in assertr::verify.
In an RStudio project, simply run the code in the tester_script.R file.
Expected behavior
It would be great if there is a workaround to be able to use validate_if from inside a box module without having to use the :: syntax, which defies the point of box somewhat.
Attachments
No response
Screenshots or Videos
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Guidelines
Project Version
0.1.6
Platform and OS Version
Windows
Existing Issues
No response
What happened?
I'm having trouble using validate_if inside of code that is modularised using box. It seems to be that the assertr functions I use inside the expression given to
validate_if
are not available at the point the expression passed tovalidate_if
is evaluated by thetidy_eval
line inassertr::verify
.Steps to reproduce
I've written a toy example here: https://gist.github.com/TransGirlCodes/d86d1a233a4575b3210a1f99a7467475
In an RStudio project, simply run the code in the
tester_script.R
file.Expected behavior
It would be great if there is a workaround to be able to use
validate_if
from inside a box module without having to use the::
syntax, which defies the point of box somewhat.Attachments
No response
Screenshots or Videos
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: