Skip to content

tinytest

Lightweight and Feature Complete Unit Testing Framework

v1.4.3 · Mar 23, 2026 · GPL-3

Description

Provides a lightweight (zero-dependency) and easy to use unit testing framework. Main features: install tests with the package. Test results are treated as data that can be stored and manipulated. Test files are R scripts interspersed with test commands, that can be programmed over. Fully automated build-install-test sequence for packages. Skip tests when not run locally (e.g. on CRAN). Flexible and configurable output printing. Compare computed output with output stored with the package. Run tests in parallel. Extensible by other packages. Report side effects.

Downloads

73.4K

Last 30 days

424th

177.6K

Last 90 days

530.4K

Last year

Trend: +24.7% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (418)

depends

QR

suggests

ALFAM2 AMR AQEval ArchaeoPhases BEDMatrix BVAR BVARverse BayesRep BayesRepDesign Bayesrel CHNOSZ ChemoSpec ChemoSpec2D ChemoSpecUtils CoDaImpact DTSg Delaporte DisImpact EnvStats GroupSeq LMMsolver LearnPCA LinkedMatrix MBBEFDLite MakefileR NMOF ODataQuery OmicNavigator Orcs PMwR Pade QDiabetes QuickJSR RITCH RMCC RNifti RNiftyReg ROI.format.cbf ROI.plugin.highs RPhosFate RProtoBuf RQuantLib RTMB RWNN Rblpapi Rcpp RcppAnnoy RcppArmadillo RcppArray RcppBlaze RcppCCTZ RcppClassic RcppDynProg RcppEigen RcppFastAD RcppFastFloat RcppGSL RcppInt64 RcppMagicEnum RcppRedis RcppSimdJson RcppTOML RcppUUID Rdatasets Rduckhts RestRserve RsimdDispatch Rtinycc SimTOST StealLikeBayes SurfRough SurvivalClusteringTree TruncatedNormal TwoWayFEWeights VIM WVPlots abclass accumulate aion alkahest amt ananke anticlust anytime aphylo arkhe arrg astgrepr automatedRecLin autometric backbone banditpam barrks bdots bfpwr biglasso biogas blavaan blocking boostmath bootGOF bpvars brar brglm2 broadcast bspm bsvarSIGNs bsvars canprot cartography carts catalog cdata checkmate chem16S chronometre chronosphere cit clarabel classInt climetrics clubpro comat comprehenr correspondenceTables corteza crochet cronR csmbuilder ctrdata datareportR datetimeutils dauphin dbarts dcmodify deductive defm depower detectseparation dfidx digest dimensio distanceto diveMove divest doconv docxtractr douconca dtts ecic epitraxr epiworldR ergmito ess et.nwfva etwfe facmodTS factReg factor256 fastdid fastymd faviconPlease fiber fisheye flexiblas fmcmc fntl formatdown fritools fritools2 funMoDisco gbm gdalcubes gdm geoarrowWidget geojsonsf geometries gepaf ggfixest ggiraph ggprism ggspark gimms gower gpkg grattanInflators grpreg gtfsio gtrendsR h3lib h3r h5lite hashr havel healthyAddress highs holiglm howManyImputations hutilscpp icr imaginarycss imbibe inlcolor inline inlpubs inphr install.load interleave intsurv irg ironseed isatabr isopleuros jagsUI jti kairos khroma kinesis kknn ksm lamW languageserversetup linemap lintools llm.api lmhelprs longevity longurl lumberjack maditr manymome.table mapiso maplegend mapsf maptiles mapview marginaleffects maxLik measles merDeriv mesonet metaRange mets mev micsr midfieldr miesmuschel mig minimaxApprox mmand modelbpp modelsummary mx.api nanotime ncvreg ndjson neighbours netplot neverhpfilter nexus nloptr nngeo nonprobsvy od odyssey opa ore orgutils osrm owd pack partialling.out parttree pcdid pci pdp pensar phangorn phosphoricons phutil phyloregion piqp pkgKitten plmmr poorman potential ppRep pqrfe praznik printify psychotree qbinplots qol quadprogXT quantmod rankdifferencetest rapr rassta raster rbranding rcppmlpackexamples rdbnomics reda reformulas remify remstats remstimate remulate replacer reportr restatapi revss rformat rgeedim rgeomorphon rgph rjsoncons rlas roger roundhouse roxut roxytest rqdatatable rquery rspa rspm runner rvtk rwig s7contract saber scip scs semnar sergeant settings sgo sigr simPop simTool simputation singleRcapture slurmR smetlite soma sparta spatialreg spdep spectralR spgwr spiderbar splines2 starsExtra statebins statgenGWAS statgenHTP statgenIBD statgenMPP statgenQTLxT statlingua stringdist stt.api subplex subsampling super surveillance symDMatrix synthesizer tabula tanaka targeted td tdsa terra textutils tiledb tinycodet tinylens tinypkgr tinyplot tinyrox tinytable toastui topicmodels.etm track2KBA tractor.base treePlotArea treesitter.c tsdb twotrials uaparserjs ulid valh validate validatesuggest vegperiod vek via vip visreg vtreat walkboutr wand webmap whisper wooldridge wrapr x12 xmlwriter xts ympes

Dependency Network

Dependencies Reverse dependencies QR epidata packager test.assessr tinysnapshot tinytest2JUnit ttdo ALFAM2 AMR AQEval ArchaeoPhases BEDMatrix BVAR BVARverse BayesRep +403 more reverse deps tinytest

Version History

updated 1.4.3 ← 1.4.1 diff Mar 23, 2026
new 1.4.1 Mar 10, 2026
updated 1.4.1 ← 1.3.1 diff Feb 21, 2023
updated 1.3.1 ← 1.2.4 diff Jul 5, 2021
updated 1.2.4 ← 1.2.3 diff Dec 16, 2020
updated 1.2.3 ← 1.2.2 diff Oct 6, 2020
updated 1.2.2 ← 1.2.1 diff Jun 17, 2020
updated 1.2.1 ← 1.2.0 diff May 17, 2020
updated 1.2.0 ← 1.1.0 diff May 5, 2020
updated 1.1.0 ← 1.0.0 diff Sep 25, 2019
updated 1.0.0 ← 0.9.6 diff Aug 22, 2019
updated 0.9.6 ← 0.9.4 diff Jun 27, 2019
updated 0.9.4 ← 0.9.3 diff Jun 4, 2019
updated 0.9.3 ← 0.9.2 diff May 9, 2019
new 0.9.2 Apr 24, 2019