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.
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
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_ifare not available at the point the expression passed tovalidate_ifis evaluated by thetidy_evalline 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.Rfile.Expected behavior
It would be great if there is a workaround to be able to use
validate_iffrom 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