Package: chk 0.9.2.9001

Joe Thorley

chk: Check User-Supplied Function Arguments

For developers to check user-supplied function arguments. It is designed to be simple, fast and customizable. Error messages follow the tidyverse style guide.

Authors:Joe Thorley [aut, cre], Kirill Müller [aut], Ayla Pearson [aut], Florencia D'Andrea [ctb], Nadine Hussein [ctb], Evan Amies-Galonski [ctb], Poisson Consulting [cph, fnd]

chk_0.9.2.9001.tar.gz
chk_0.9.2.9001.zip(r-4.5)chk_0.9.2.9001.zip(r-4.4)chk_0.9.2.9001.zip(r-4.3)
chk_0.9.2.9001.tgz(r-4.4-any)chk_0.9.2.9001.tgz(r-4.3-any)
chk_0.9.2.9001.tar.gz(r-4.5-noble)chk_0.9.2.9001.tar.gz(r-4.4-noble)
chk_0.9.2.9001.tgz(r-4.4-emscripten)chk_0.9.2.9001.tgz(r-4.3-emscripten)
chk.pdf |chk.html
chk/json (API)
NEWS

# Install 'chk' in R:
install.packages('chk', repos = c('https://poissonconsulting.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/poissonconsulting/chk/issues

Pkgdown site:https://poissonconsulting.github.io

On CRAN:

chk

11.54 score 48 stars 93 packages 21 scripts 15k downloads 1 mentions 175 exports 4 dependencies

Last updated 17 hours agofrom:b8765d6eae. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 23 2024
R-4.5-winOKDec 23 2024
R-4.5-linuxOKDec 23 2024
R-4.4-winOKDec 23 2024
R-4.4-macOKDec 23 2024
R-4.3-winOKDec 23 2024
R-4.3-macOKDec 23 2024

Exports:abort_chkbacktick_chkcccheck_datacheck_dimcheck_dirscheck_filescheck_keycheck_namescheck_valueschk_allchk_all_equalchk_all_equivalentchk_all_identicalchk_arraychk_atomicchk_characterchk_character_or_factorchk_chrchk_compatible_lengthschk_countchk_datachk_datechk_date_timechk_datetimechk_dblchk_dirchk_dirschk_doublechk_environmentchk_equalchk_equivalentchk_extchk_factorchk_falsechk_filechk_fileschk_flagchk_functionchk_gtchk_gtechk_haschk_identicalchk_inchk_integerchk_ischk_joinchk_lengthchk_lglchk_listchk_logicalchk_ltchk_ltechk_matchchk_matrixchk_missingchk_namedchk_no_missingchk_not_any_nachk_not_emptychk_not_missingchk_not_nullchk_not_subsetchk_nullchk_null_orchk_numberchk_numericchk_offchk_onchk_ordersetchk_proportionchk_rangechk_s3_classchk_s4_classchk_scalarchk_setequalchk_sortedchk_stringchk_subsetchk_supersetchk_truechk_tzchk_uniquechk_unusedchk_usedchk_valid_namechk_vectorchk_whole_numberchk_whole_numericchk_wnumchkorchkor_vlddeparse_backtickdeparse_backtick_chkerrexpect_chk_erroris_chk_onmessage_chkmsgpp0unbacktick_chkvld_allvld_all_equalvld_all_equivalentvld_all_identicalvld_arrayvld_atomicvld_charactervld_character_or_factorvld_chrvld_compatible_lengthsvld_countvld_datavld_datevld_date_timevld_datetimevld_dblvld_dirvld_doublevld_environmentvld_equalvld_equivalentvld_extvld_factorvld_falsevld_filevld_flagvld_functionvld_gtvld_gtevld_identicalvld_integervld_isvld_joinvld_lengthvld_lglvld_listvld_logicalvld_ltvld_ltevld_matchvld_matrixvld_missingvld_namedvld_no_missingvld_not_any_navld_not_emptyvld_not_missingvld_not_nullvld_not_subsetvld_nullvld_numbervld_numericvld_ordersetvld_rangevld_s3_classvld_s4_classvld_scalarvld_setequalvld_sortedvld_stringvld_subsetvld_supersetvld_truevld_tzvld_uniquevld_unusedvld_usedvld_valid_namevld_vectorvld_whole_numbervld_whole_numericvld_wnumwrn

Dependencies:cligluelifecyclerlang

chk Families

Rendered fromchk-families.Rmdusingknitr::rmarkdownon Dec 23 2024.

Last update: 2024-11-05
Started: 2019-10-29

Get Started with chk

Rendered fromchk.Rmdusingknitr::rmarkdownon Dec 23 2024.

Last update: 2024-11-05
Started: 2019-10-02

Readme and manuals

Help Manual

Help pageTopics
Abort Checkabort_chk
Concatenate with Commascc
Check Datacheck_data
Check Dimensioncheck_dim
Check Directories Existcheck_dirs
Check Files Existcheck_files
Check Keycheck_key
Check Namescheck_names
Check Values and Classcheck_values
Check Allchk_all vld_all
Check All Equalchk_all_equal vld_all_equal
Check All Equivalentchk_all_equivalent vld_all_equivalent
Check All Identicalchk_all_identical vld_all_identical
Check Arraychk_array vld_array
Check Atomicchk_atomic vld_atomic
Check Characterchk_character vld_character
Check Character or Factorchk_character_or_factor vld_character_or_factor
Check Character Scalarchk_chr vld_chr
Check Compatible Lengthschk_compatible_lengths vld_compatible_lengths
Check Countchk_count vld_count
Check Datachk_data vld_data
Check Datechk_date vld_date
Check Date Timechk_datetime chk_date_time vld_datetime vld_date_time
Check Double Scalarchk_dbl vld_dbl
Check Directory Existschk_dir vld_dir
Check Doublechk_double vld_double
Check Environmentchk_environment vld_environment
Check Equalchk_equal vld_equal
Check Equivalentchk_equivalent vld_equivalent
Check File Extensionchk_ext vld_ext
Check Factorchk_factor vld_factor
Check FALSEchk_false vld_false
Check File Existschk_file vld_file
Check Flagchk_flag vld_flag
Check Functionchk_function vld_function
Check Greater Thanchk_gt vld_gt
Check Greater Than or Equal Tochk_gte vld_gte
Check Identicalchk_identical vld_identical
Check Integerchk_integer vld_integer
Check Classchk_is vld_is
Check Joinchk_join vld_join
Check Lengthchk_length vld_length
Check Logical Scalarchk_lgl vld_lgl
Check Listchk_list vld_list
Check Logicalchk_logical vld_logical
Check Less Thanchk_lt vld_lt
Check Less Than or Equal Tochk_lte vld_lte
Check Matcheschk_match vld_match
Check Matrixchk_matrix vld_matrix
Check Missing Argumentchk_missing vld_missing
Check Namedchk_named vld_named
Check Not Any Missing Valueschk_not_any_na vld_not_any_na
Check Not Emptychk_not_empty vld_not_empty
Check Not Missing Argumentchk_not_missing vld_not_missing
Check not NULLchk_not_null vld_not_null
Check Not Subsetchk_not_subset
Check NULLchk_null vld_null
Check NULL Orchk_null_or
Check Numberchk_number vld_number
Check Numericchk_numeric vld_numeric
Check Set Orderedchk_orderset
Checks range of non-missing valueschk_range vld_range
Check Typechk_s3_class vld_s3_class
Check Inherits from S4 Classchk_s4_class vld_s4_class
Check Scalarchk_scalar vld_scalar
Check Sortedchk_sorted vld_sorted
Check Stringchk_string vld_string
Check Supersetchk_superset vld_superset
Check TRUEchk_true vld_true
Check Time Zonechk_tz vld_tz
Check Uniquechk_unique vld_unique
Check ... Unusedchk_unused vld_unused
Check ... Usedchk_used vld_used
Check Valid Namechk_valid_name vld_valid_name
Check Vectorchk_vector vld_vector
Check Whole Numberchk_whole_number vld_whole_number
Check Whole Numericchk_whole_numeric vld_whole_numeric
Check Whole Numeric Scalarchk_wnum vld_wnum
Check ORchkor
Chk ORchkor_vld
Deparse Backtickbacktick_chk deparse_backtick_chk unbacktick_chk
Stop, Warning and Message Messageserr msg wrn
Expect Chk Errorexpect_chk_error
Construct Tidyverse Style Messagemessage_chk
Concatenate Stringsp p0
Check Subsetchk_subset vld_not_subset vld_subset
Check Set Equalchk_setequal vld_orderset vld_setequal