Max Held

Results 285 issues of Max Held

`check_names()` is great, except that sometimes, when the `subset.of` argument is pretty big, the output can be a bit unwieldy: ``` [1] "Must be a subset of set {meet_material_needs,live_to_own_values,good_relative_income,stable_environment,knowledge,feel_at_home,feel_represented,open_natural_spaces,meaningful_activity,friendship}" ```...

`check_vector()` helpfully provides a `unique` argument. It would be really nice to have this for two-dimensional objects as well, where it's often important to be unique overall, or by row...

I'm currently shoehorning `checkmate` into S3 validation, where for every class in my package, I write some `check.myclass()` method, that, well, validates my class. Since S3 validation comes up in...

disclaimer: this might be duplicate to #76 not sure I like to use checkmate's _and_ testthat's `expect_*` functions for input validation inside packages. Additionally, I then sometimes like to check...

also seems dumb to copy this from the docs

maybe the structure of the syntax is already stored somewhere, maybe in the runner or some other open source package by github. It seems a bit dumb to just copy/paste...

this ain't right anymore, correct way is: ``` if (!identical(Sys.getenv("GITHUB_ACTIONS"), "true")) { return(invisible(TRUE)) } else { return(invisible(FALSE)) } ```

currently in https://github.com/ropensci/tic/pull/250/commits/6feb19b54a083a1a547827390aba792faef02a53#diff-7ce4230c601038ab50cc3bdacbcfdab4 cc @pat-s

https://github.com/lorenzwalthert/pre-commit-hooks