r-lib / rlang

Low-level API for programming with R
https://rlang.r-lib.org
Other
508 stars 138 forks source link

Export `check_` functions? #1520

Closed arnaudgallou closed 1 year ago

arnaudgallou commented 1 year ago

Any chance to export the check_ functions?

I'm working on a project and would like to perform argument checks. I'm ending up making similar functions and feel like reinventing the wheel. These functions are useful in my opinion.

lionel- commented 1 year ago

At some point they will be exported from here or elsewhere but not in the short term.

These functions are in a file that you can copy them in your project. This way we can make changes to the API or semantics without causing breakages in your package.

arnaudgallou commented 1 year ago

Sounds good, will make a copy of the functions in the meantime. Thanks.