Closed lhdjung closed 1 year ago
Yes, you are correct! Are you interested in submitting a PR to add force()
, and maybe add a test? I think using force()
is a better move for this package than taking on that dependency.
Sure! I hope my PR is adequate.
Closed by #45
I really like this package, but I think
widely()
has the very minor issue described in Advanced R ch. 10.2.3, Forcing evaluation:Created on 2022-11-04 with reprex v2.0.2
The easiest solution would be to insert
force()
calls intowidely()
's function body, as below. Another possibility is rewritingwidely()
usingfactory::build_factory()
.(Edit: I previously made a mistake in the code below but the result is the same after correction.)
With
squarely()
, though, everything looks fine:Created on 2022-11-04 with reprex v2.0.2