Package: quickcheck 0.1.3

quickcheck: Property Based Testing

Property based testing, inspired by the original 'QuickCheck'. This package builds on the property based testing framework provided by 'hedgehog' and is designed to seamlessly integrate with 'testthat'.

Authors:Andrew McNeil [aut, cre]

quickcheck_0.1.3.tar.gz
quickcheck_0.1.3.zip(r-4.5)quickcheck_0.1.3.zip(r-4.4)quickcheck_0.1.3.zip(r-4.3)
quickcheck_0.1.3.tgz(r-4.4-any)quickcheck_0.1.3.tgz(r-4.3-any)
quickcheck_0.1.3.tar.gz(r-4.5-noble)quickcheck_0.1.3.tar.gz(r-4.4-noble)
quickcheck_0.1.3.tgz(r-4.4-emscripten)quickcheck_0.1.3.tgz(r-4.3-emscripten)
quickcheck.pdf |quickcheck.html
quickcheck/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/armcn/quickcheck/issues

On CRAN:

functional-programmingproperty-based-testing

4.98 score 25 stars 76 scripts 402 downloads 66 exports 35 dependencies

Last updated 1 years agofrom:4ce85567f6. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 04 2024
R-4.5-winOKNov 04 2024
R-4.5-linuxOKNov 04 2024
R-4.4-winOKNov 04 2024
R-4.4-macOKNov 04 2024
R-4.3-winOKNov 04 2024
R-4.3-macOKNov 04 2024

Exports:%>%any_atomicany_data_frameany_data.tableany_flat_homogeneous_listany_flat_listany_listany_tibbleany_undefinedany_vectoranythingas_hedgehogcharacter_character_alphanumericcharacter_letterscharacter_numbersconstantdata_frame_data_frame_ofdata.table_data.table_ofdate_date_boundeddate_left_boundeddate_right_boundeddouble_double_boundeddouble_fractionaldouble_left_boundeddouble_negativedouble_positivedouble_right_boundeddouble_wholeequal_lengthfactor_flat_list_offor_allfrom_hedgehoghms_hms_boundedhms_left_boundedhms_right_boundedinteger_integer_boundedinteger_left_boundedinteger_negativeinteger_positiveinteger_right_boundedlist_list_oflogical_numeric_numeric_boundednumeric_left_boundednumeric_negativenumeric_positivenumeric_right_boundedone_ofposixct_posixct_boundedposixct_left_boundedposixct_right_boundedrepeat_testshow_exampletibble_tibble_of

Dependencies:briocallrclicrayondata.tabledescdiffobjdigestevaluatefansifsgluehedgehoghmsjsonlitelifecyclemagrittrpillarpkgbuildpkgconfigpkgloadpraiseprocessxpspurrrR6rematch2rlangrprojroottestthattibbleutf8vctrswaldowithr

Readme and manuals

Help Manual

Help pageTopics
Any atomic vector generatorany_atomic
Any data frame generatorany_data_frame
Any data.table generatorany_data.table
Any flat homogeneous list generatorany_flat_homogeneous_list
Any flat list generatorany_flat_list
Any list generatorany_list
Any tibble generatorany_tibble
Any undefined value generatorany_undefined
Any vector generatorany_vector
Any R object generatoranything
Convert a quickcheck generator to a hedgehog generatoras_hedgehog
Character generatorscharacter_ character_alphanumeric character_letters character_numbers
Generate the same value every timeconstant
Data frame generatorsdata_frame_
Data frame generator with randomized columnsdata_frame_of
data.table generatorsdata.table_
data.table generator with randomized columnsdata.table_of
Date generatorsdate_ date_bounded date_left_bounded date_right_bounded
Double generatorsdouble_ double_bounded double_fractional double_left_bounded double_negative double_positive double_right_bounded double_whole
Equal length vector generatorequal_length
Factor generatorfactor_
Variable length flat list generatorflat_list_of
Test properties of a functionfor_all
Convert a hedgehog generator to a quickcheck generatorfrom_hedgehog
hms generatorshms_ hms_bounded hms_left_bounded hms_right_bounded
Integer generatorsinteger_ integer_bounded integer_left_bounded integer_negative integer_positive integer_right_bounded
List generatorlist_
Variable length list generatorlist_of
Logical generatorlogical_
Numeric generatorsnumeric_ numeric_bounded numeric_left_bounded numeric_negative numeric_positive numeric_right_bounded
Randomly choose between generatorsone_of
POSIXct generatorsposixct_ posixct_bounded posixct_left_bounded posixct_right_bounded
Repeatedly test properties of a functionrepeat_test
Show an example output of a generatorshow_example
Tibble generatorstibble_
Random tibble generatortibble_of