Closed lorenzwalthert closed 6 months ago
{styler} made it to CRAN thanks to wrapping some code in rlang::try_fetch()
, which I consider a workaround. So if I was not clear before, the issue is not urgent (anymore), but I'd still appreciate if you would consider making the change.
I am the author of the R package styler, which you use in your code. I repeatedly get strange and hard-to-reproduce reverse dependency errors when submitting a new version of my package to CRAN: Running
R CMD CHECK
on your package with a new version of {styler} results in problems like https://github.com/HenrikBengtsson/R.cache/issues/51 that I believe could be easily avoided by not importing {styler}. So instead of importingstyle_text
into yourNAMESPACE
and usestyle_file()
in your source code, you could usestyler::style_file()
in your source code and not importstyle_text
into yourNAMESPACE
. I don't believe it would affect the user experience of your package.Would you be open to that change? It has the potential to save me hours of debugging and stress. 😀