design icon indicating copy to clipboard operation
design copied to clipboard

Type checkers

Open jennybc opened this issue 2 years ago • 1 comments

Basically moving the writing and guidance part of https://github.com/r-lib/usethis/issues/1692 here, now that our upkeep checklist encourages the use of usethis::use_standalone("r-lib/rlang", "types-check")

... how to write your own check functions:

  • Should have arg and call arguments.
  • When type checking, always report what the object actually is.

jennybc avatar Mar 08 '23 20:03 jennybc

I am also going to close an issue in R Packages that is best covered here.

https://github.com/hadley/r-pkgs/issues/803

jennybc avatar Mar 26 '23 17:03 jennybc