Max Held

Results 285 issues of Max Held

It would be great if this package would support code highlighting for inline and fenced R via knitr – that would effectively make this into an [Rmarkdown](http://rmarkdown.rstudio.com) highlighter, which is...

To reproduce, on an arm64 host (Apple Silicon) I ran: ```sh sudo docker run --privileged --rm tonistiigi/binfmt:qemu-v6.1.0 --install all # { # "supported": [ # "linux/arm64", # "linux/amd64", # "linux/riscv64",...

It seems like the (privacy) requirements for corona tracing apps like the [one](https://www.ccc.de/en/updates/2020/contact-tracing-requirements) drafted by the CCC's [Linus Neumann](https://linus-neumann.de) seem like a great idea. Would you have any interest in...

I want to validate a whole number of arguments, all of which should be, say `numeric`. For now, I'm doing this: ``` paperwidth

the `assert_`-family of functions currently report the name of the function where the error occurred, like so: ``` assert_character(1) ``` ``` ## Error in assert_character(1) : ## Assertion on '1'...

I think checkmate is a great standard for input validation, and I'd love to be able to also use it easily inside shiny. Shiny *has* [`validate()`](https://shiny.rstudio.com/articles/validation.html) for the purpose of...

I frequently add a helper like this one (from the [r-pkgs book](https://r-pkgs.org/description.html)) to my packages and scripts to optionally respond to our error out on missing `Suggests:` dependencies: ``` #'...

I kinda sorta expected the below to yield `TRUE`, but: ``` check_character(x = c("foo", NA, NA), any.missing = TRUE, unique = TRUE) # > [1] "Contains duplicated values" ``` I...

I often find myself in the situation where I do not just want to `assert()` something about *an* argument, but rather, whether *two* (or more) arguments are *consistent*, including, for...