Jiří Moravec

Results 40 comments of Jiří Moravec

I was working recently on a similar problem and managed to find/implement a set of function to hook into the `options()`: ``` get_option

In that case, this is the example implementation mentioned in the article: https://github.com/r-lib/usethis/blob/175bf649163976351d972cedca6017517e087533/R/proj.R I was experimenting with something of that sense (new env to store the state) but chose to...

When I see `f = function(x = "default")` I expect that the `x` will be default unless explicitly called otherwise e.g., `f("foo")`. The `f = function(x = getpar("x"))` feel significantly...

I would suggest a heavy use of the `openxlsx2` package. I worked with it before and it allows quite robust styling. * Styling: https://janmarvin.github.io/openxlsx2/articles/openxlsx2_style_manual.html and https://janmarvin.github.io/openxlsx2/articles/conditional-formatting.html * Image support: https://janmarvin.github.io/openxlsx2/articles/openxlsx2_charts_manual.html...

Same same. The only time I am working with excel is when I am trying to work with other people's files. But this feature would be on my wishlist: https://x.com/brentcrossman/status/1844412279263199427...

Thank you for taking time to review this. > * `allow_left_assign = TRUE` by default > > * `allow_equal_assign = FALSE` by default > > > That enables the full...

> A really cursory GitHub search suggests this approach to inline assignment is very rare, e.g. 50x less common than assigning inline with ` > ... links ... Interesting. If...

> Another case against inline assignments using braces is `local({x = 42})`, which will not bind `x` to any value in the outer scope. Sorry, but I don't understand this...

> Jiří style (sorry, I haven't actually seen this used, so I'm pinning it on you 😃 -- most of the {=} assignments in the search above come in scripts...

> > > Another case against inline assignments using braces is `local({x = 42})`, which will not bind `x` to any value in the outer scope. > > > >...