Closed renozao closed 6 years ago
This is related to https://github.com/r-lib/withr/issues/73, right? I'll give @jimhester some more time to deal with this upstream before implementing workarounds here.
Possibly yes. I imagine that having options = NULL
here is also a bit a of an edge case.
I'll await for a fix for r-lib/withr#73 and see.
Can you please also update this thread once you tested the fix?
Thanks
Can you please also update this thread once you tested the fix?
Sure.
This problem has been fixed upstream, your reprex works now. Let me know if you encounter any further issues.
Here is a minimal example:
The error thrown is:
Replacing
NULL
bylist(a = 1)
in the call towithr::with_options
does not throw the error, and the code works as expected.I am under Ubuntu but the same behavior happens under Windows. Package versions are: