Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type checkers #141

Open
jennybc opened this issue Mar 8, 2023 · 1 comment
Open

Type checkers #141

jennybc opened this issue Mar 8, 2023 · 1 comment
Labels
interface 🎁 External interface of functions

Comments

@jennybc
Copy link
Member

jennybc commented Mar 8, 2023

Basically moving the writing and guidance part of r-lib/usethis#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
Copy link
Member Author

jennybc commented Mar 26, 2023

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

hadley/r-pkgs#803

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interface 🎁 External interface of functions
Projects
None yet
Development

No branches or pull requests

2 participants