Package: erify 0.6.0
erify: Check Arguments and Generate Readable Error Messages
Provides several validator functions for checking if arguments passed by users have valid types, lengths, etc. and for generating informative and well-formatted error messages in a consistent style. Also provides tools for users to create their own validator functions. The error message style used is adopted from <https://style.tidyverse.org/error-messages.html>.
Authors:
erify_0.6.0.tar.gz
erify_0.6.0.zip(r-4.5)erify_0.6.0.zip(r-4.4)erify_0.6.0.zip(r-4.3)
erify_0.6.0.tgz(r-4.4-any)erify_0.6.0.tgz(r-4.3-any)
erify_0.6.0.tar.gz(r-4.5-noble)erify_0.6.0.tar.gz(r-4.4-noble)
erify_0.6.0.tgz(r-4.4-emscripten)erify_0.6.0.tgz(r-4.3-emscripten)
erify.pdf |erify.html✨
erify/json (API)
NEWS
# Install 'erify' in R: |
install.packages('erify', repos = c('https://flujoo.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/flujoo/erify/issues
Last updated 5 months agofrom:ae86e310b4. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 28 2024 |
R-4.5-win | OK | Oct 28 2024 |
R-4.5-linux | OK | Oct 28 2024 |
R-4.4-win | OK | Oct 28 2024 |
R-4.4-mac | OK | Oct 28 2024 |
R-4.3-win | OK | Oct 28 2024 |
R-4.3-mac | OK | Oct 28 2024 |
Exports:back_quotecheck_binary_classescheck_boolcheck_classcheck_classescheck_contentcheck_contentscheck_intervalcheck_intervalscheck_lengthcheck_lengthscheck_ncheck_positivecheck_stringcheck_typecheck_typesis_nis_stringjointhrow
Dependencies:glue
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Back Quote Object | back_quote |
Check Binary Operator's Arguments' Classes | check_binary_classes |
Check If Argument Is Single Logical | check_bool |
Check Argument's Class | check_class |
Check Each Item's Class | check_classes |
Check Argument's Content | check_content |
Check Each Item's Content | check_contents |
Check If Argument Is in Interval | check_interval |
Check If Each Item Is in Interval | check_intervals |
Check Argument's Length | check_length |
Check Each Item's Length | check_lengths |
Check If Argument Is Single Natural Number | check_n is_n |
Check If Argument Is Single Positive Number | check_positive |
Check If Argument Is Single Character | check_string is_string |
Check Argument's Type | check_type |
Check Each Item's Type | check_types |
Connect Words with Conjunction | join |
Generate and Signal Condition | throw |