David C Hall

Results 31 issues of David C Hall

Exceptions have a `SourceLocation` object, which stores the line and column numbers where the problem was encountered. This produces error messages like: `[inja.exception.render_error] (at 1:10) variable 'name' not found` https://github.com/pantor/inja/blob/17a59c0b78e620157c253b0c7643cfa987135f8d/include/inja/exceptions.hpp#L9-L12...

This is self-promotion, so please reject if you feel this is inappropriate. I think the [jinjar](https://davidchall.github.io/jinjar/) package could be helpful to glue users who are looking for string templating.

I'm developing a ggplot2 extension where it would be helpful to pass a tibble column as an aesthetic. As a simple motivating example, you could imagine a `geom_box()` layer with...

feature
internals :mag_right:

GitHub today [announced](https://github.blog/changelog/2022-05-19-specify-theme-context-for-images-in-markdown-beta/) the beta feature to display 1 of 2 uploaded images based on theme context. This is a really cool feature and I immediately thought of reprex! 😄...

Would it be possible to add support for linting R code? This might be achieved using https://github.com/jimhester/lintr

enhancement

When [closing a container](https://cli.r-lib.org/reference/cli_end.html) by explicitly passing the container ID, this raises an error when performed within a `cli::cli()` call. ``` r cli::cli({ cli::cli_ul("a bullet") }) #> • a bullet...

bug

I'm not sure if this is intended behavior, so I've opened an issue. If it is intended behavior, perhaps it's worth documenting? When nesting `cli::cli()` calls, it is possible for...

When creating cli span elements programmatically, I sometimes have to perform gymnastics to output a string that gives the intended result after interpolation. Would it be possible/easy to add a...

feature

In functions with wrapping, we use the form feed character "\f" to force a newline. I've found that this is handled inconsistently though. If the form feed is at the...

bug

Reading around this topic, it appears `round()` and `signif()` can either be implemented via the [Math S3 group generic](https://stat.ethz.ch/R-manual/R-devel/library/base/html/groupGeneric.html) or the [Math2 S4 group generic](https://stat.ethz.ch/R-manual/R-devel/library/methods/html/S4groupGeneric.html). {vctrs} implements the S3 generic...