testthat: Unit Testing for R

A unit testing system designed to be fun, flexible and easy to set up.

Version: 1.0.2
Depends: R (≥ 3.1.0)
Imports: digest, crayon, praise, magrittr, R6, methods
Suggests: devtools, withr, covr
Published: 2016-04-23
Author: Hadley Wickham [aut, cre], RStudio [cph]
Maintainer: Hadley Wickham <hadley at rstudio.com>
BugReports: https://github.com/hadley/testthat/issues
License: MIT + file LICENSE
URL: https://github.com/hadley/testthat
NeedsCompilation: yes
Citation: testthat citation info
Materials: README NEWS
CRAN checks: testthat results

Downloads:

Reference manual: testthat.pdf
Package source: testthat_1.0.2.tar.gz
Windows binaries: r-devel: testthat_1.0.2.zip, r-release: testthat_1.0.2.zip, r-oldrel: testthat_1.0.2.zip
OS X Mavericks binaries: r-release: testthat_1.0.2.tgz, r-oldrel: testthat_1.0.2.tgz
Old sources: testthat archive

Reverse dependencies:

Reverse depends: humanFormat, kergp, markmyassignment, MInt, SortableHTMLTables, StableEstim
Reverse imports: arulesCBA, bedr, DamiaNN, DBItest, eggCounts, googleAuthR, googleCloudStorageR, lintr, ncappc, Phxnlme, rusda, SixSigma, stubthat, swirl, texmexseq, zoon
Reverse linking to: icd, largeVis
Reverse suggests: abbyyR, AbsFilterGSEA, adegenet, admixturegraph, aemo, afex, after, ahp, AHR, aidar, alakazam, aLFQ, AlignStat, alluvial, alm, ameco, analogsea, analogue, analogueExtra, ANLP, anonymizer, aoos, apa, apaStyle, apex, apricom, archivist, argparse, ArgumentCheck, ARPobservation, arrApply, ARTool, arules, aRxiv, aspi, asremlPlus, assertive, assertive.base, assertive.code, assertive.data, assertive.data.uk, assertive.data.us, assertive.datetimes, assertive.files, assertive.matrices, assertive.models, assertive.numbers, assertive.properties, assertive.reflection, assertive.sets, assertive.strings, assertive.types, assertr, assertthat, attribrisk, AutoModel, autovarCore, aws.alexa, aws.signature, AzureML, backpipe, backports, backShift, backtestGraphics, badgecreatr, bagRboostR, BatchExperiments, BatchJobs, batman, bayesAB, bayesbio, bayesboot, BayesFactor, bayesGDS, BBmisc, bbmle, bdscale, BEDMatrix, benchmarkme, benchmarkmeData, benford.analysis, BEQI2, betalink, bfork, bgmfiles, bibliospec, bigmemory, bigrquery, binaryLogic, binomen, binst, bio3d, biogas, biogram, bioinactivation, biom, biomartr, biomod2, biotic, birdnik, biwavelet, blackbox, blme, blscrapeR, bmp, bnnSurvival, bnstruct, bold, bootLR, boxr, bpa, bridgedist, brms, broman, broom, brr, brranching, bunchr, burnr, BurStMisc, BuyseTest, BWStest, callr, captr, caret, caretEnsemble, carpenter, causaldrf, Causata, ccdrAlgorithm, cda, cdcfluview, cellranger, cgdsr, changepoint, CheckDigit, checkmate, checkpoint, CHNOSZ, chopthin, choroplethr, chromer, chunked, citr, cjoint, ckanr, Ckmeans.1d.dp, clarifai, cleangeo, climwin, clipr, clisymbols, clubSandwich, clusterhap, clusternomics, ClusterR, cmaesr, cmna, coala, cocor, cocorresp, cocron, codyn, coefplot, coenocliner, cointReg, CollapsABEL, collUtils, colorplaner, combiter, commentr, CompareCausalNetworks, compareDF, concatenate, condformat, condvis, confidence, config, convey, CopulaDTA, coRanking, coreSim, corrplot, corrr, couchDB, Countr, countrycode, covr, cowsay, crandatapkgs, crayon, creditr, Crossover, crtests, crunch, csvy, ctsem, curl, curlconverter, cyclocomp, Cyclops, cymruservices, daff, dagitty, darch, Dark, darksky, datacheckr, DataCombine, datadr, datafsm, DataLoader, dataonderivatives, dataone, datapack, dataRetrieval, datarobot, datastepr, data.table, data.tree, dbarts, dbhydroR, DBI, dbmss, dbscan, dcemriS4, DCG, dcmr, ddpcr, ddR, deBInfer, decisionSupport, decoder, decompr, deductive, deepboost, Delaporte, DeLorean, DEMOVA, dendextend, dendextendRcpp, dendroextras, densityClust, Deriv, desc, DescribeDisplay, describer, detector, devtools, df2json, dggridR, DHARMa, diagonals, DiagrammeR, DiceKriging, DidacticBoost, diffobj, digitize, dils, DirichletReg, discgolf, discretecdAlgorithm, discreteRV, disparityfilter, disposables, Distance, dml, DNAprofiles, docopt, docopulae, docxtractr, domino, dostats, Dowd, downloader, downsize, dplR, dplyr, dpmr, DrBats, drLumi, drsmooth, DSsim, dtplyr, dtwclust, dtwSat, dygraphs, DYM, dynr, dynRB, earthtones, easyformatr, easyVerification, ecb, ECctmc, ecd, ecoengine, EcoSimR, ECOSolveR, ecr, edfReader, EDISON, eechidna, EEM, eemR, eeptools, effsize, EGRET, EGRETci, eHOF, elastic, emdbook, emil, EMMLi, emuR, enigma, enrichwith, ensurer, EpiModel, episensr, estatapi, etl, etrunct, etseed, europepmc, eurostat, evaluate, evolqg, excursions, exif, explor, exprso, extraDistr, extraTrees, extremeStat, eyelinker, eyetrackingR, ezec, ezknitr, ezsummary, fail, fakeR, fanovaGraph, farff, fastAdaboost, fastcmh, FastImputation, fdapace, feather, FedData, feedeR, ffbase, Fgmutils, fiery, filenamer, FinancialInstrument, findpython, finreportr, fitcoach, flacco, flexdashboard, flexsurv, flora, flowr, flsa, fontquiver, forcats, ForeCA, forecast, forecastHybrid, forestplot, formattable, formula.tools, fpCompare, frailtySurv, frair, franc, freqweights, fromo, FSA, fulltext, FunChisq, functools, funData, funr, funrar, futile.any, futile.logger, futureheatwaves, fuzzr, fuzzyjoin, games, gapfill, gapminder, GDELTtools, gdtools, gear, gemtc, gender, genderizeR, GeneralTree, generator, geneSLOPE, genie, geoaxe, geohash, geojsonio, geojsonlint, geoknife, geometry, geoparser, geozoo, GERGM, gesis, GetHFData, getlandsat, getopt, GetoptLong, GetTDData, GGally, ggalt, ggdendro, ggfortify, ggghost, ggnetwork, ggplot2, ggRandomForests, ggseas, ggswissmaps, ggthemes, ggvis, ghit, gistr, githubinstall, gitlabr, givitiR, GK2011, glcm, glm.ddR, glmmsr, GlobalOptions, glycanr, gmailr, GMCM, Gmisc, gmum.r, gmwm, gogamer, GoodmanKruskal, googleAnalyticsR, googleformr, googlesheets, googleway, gower, gpuR, graphTweets, graticule, Greg, gridExtra, gridsampler, growcurves, growfunctions, growthcurver, grpregOverlap, grpSLOPE, gsheet, gsrc, gtable, guess, GUILDS, gutenbergr, gvc, gwdegree, gWidgets2RGtk2, gWidgets2tcltk, GWLelast, h2o, h5, hail, haplotyper, harvestr, hash, hashids, hashmap, hashr, haven, hddtools, hdm, heemod, hellno, heuristica, HIBPwned, hisse, hit, hitandrun, hms, homeR, htmltab, htmlTable, htmltidy, htmltools, hts, httpcache, httping, httr, humaniformat, hunspell, hybridEnsemble, HydeNet, hyperSpec, hyphenatr, hypoparsr, hypothesisr, IalsaSynthesis, IAPWS95, ibmcraftr, ibr, icarus, icd, icd9, icensmis, icesSAG, ifaTools, ifctools, IgorR, imager, imputeMulti, inbreedR, indelmiss, iNEXT, inferference, influenceR, InformativeCensoring, infuser, Infusion, injectoR, inlmisc, inpdfr, intercure, intergraph, internetarchive, investr, io, iotools, ipdw, iprior, iptools, iqspr, IRdisplay, ISOweek, iterpc, itertools2, ITGM, jaatha, james.analysis, jiebaR, Jmisc, jmotif, jose, JOUSBoost, jqr, JSM, jsonlite, jsonvalidate, jug, junr, JWileymisc, kamila, kantorovich, kelvin, KernelKnn, KFAS, kimisc, kmeans.ddR, Kmisc, kmodR, knitcitations, knitrBootstrap, knockoff, koRpus, kriens, kselection, labelled, LaF, Lambda4, lambda.tools, LambertW, lamW, largeVis, lasvmR, latex2exp, lava, lavaan.survey, lawn, lazyeval, lazyrmd, lazysql, lazyWeave, ldamatch, learNN, letsR, lettercase, lfactors, lfda, lfl, lfstat, LiblineaR.ACF, lifecontingencies, lightsout, LinearizedSVR, lineup, LinkedMatrix, lintools, liqueueR, list, listWithDefaults, llama, LLSR, lme4, lmem.gwaser, lmem.qtler, lmeresampler, lmPerm, log4r, LogicOpt, logisticPCA, longpower, longurl, loo, lookupTable, lowmemtkmeans, lrequire, lsbclust, ltmle, lubridate, lucr, lumendb, luzlogr, LW1949, macleish, madness, mads, magrittr, MakefileR, MALDIquant, MALDIquantForeign, manifestoR, mapr, markophylo, markovchain, MarkowitzR, mason, matchingR, matchMulti, matconv, Matrix.utils, MazamaSpatialUtils, mbbefd, mbest, mboost, mcglm, mcIRT, mcmcse, mco, mcparallelDo, medicalrisk, memo, memoise, merTools, metacoder, metacom, metafor, metaheur, meteR, metricsgraphics, metricTester, mets, MFPCA, mgarchBEKK, mHG, micompr, midasr, MIIVsem, milr, miniCRAN, minimap, MixSIAR, mizer, mkin, mlr, mlsjunkgen, mmand, mmod, MMWRweek, ModelMetrics, modelr, modules, moko, Momocs, MonetDBLite, monkeylearn, MonoPhy, moonBook, morgenstemning, Morpho, morse, mosaic, MotilityLab, mousetrap, move, moveHMM, MplusAutomation, mpoly, mrds, mregions, MRMR, MScombine, mscstexta4r, mscsweblm4r, msm, msmtools, mtconnectR, MTurkR, MultiBD, multifwf, MultiGHQuad, multilevelPSA, multiplyr, munsell, mvnfast, mvtboost, mwaved, mycor, myTAI, nabor, nat, nat.nblast, nat.templatebrains, naturalsort, nat.utils, nbc4va, NCA, ndjson, ndtv, needy, neotoma, nestedRanksTest, netdiffuseR, netgen, NetRep, network, networkDynamic, networkreporting, neurobase, neuroim, NFP, ngramrr, nima, nimble, nlmeU, nloptr, nlstimedist, NlsyLinks, NNLM, NNTbiomarker, nodiv, NoiseFiltersR, nomadlist, noncompliance, nonnest2, nscancor, nsprcomp, nzelect, oai, OasisR, obAnalytics, oce, OECD, olctools, OLScurve, omics, openadds, opencage, OpenImageR, openssl, openxlsx, opera, operators, operator.tools, optigrab, OptiQuantR, optiRum, optmatch, optparse, ordinal, ordinalNet, ore, ores, originr, oro.dicom, oro.nifti, OrthoPanels, osc, osi, osmplotr, packrat, pacman, Pade, pageviews, paleobioDB, paleomorph, palr, pangaear, PANICr, papeR, parallelMap, ParamHelpers, params, parsedate, pathological, pbo, pdp, PDQutils, Perc, permute, phangorn, phonenumber, phonics, photobiology, photobiologyInOut, phylobase, phylometrics, phyloTop, phyndr, physiology, pim, pingr, pipefittr, pipeR, pitchRx, pixiedust, pkgconfig, pkgmaker, PKNCA, plac, planar, plantecophys, platetools, plotluck, plotly, plotROC, plotwidgets, plspm, plumber, plumbr, plyr, pmc, pmml, pmmlTransformations, pnn, pollstR, polyCub, pop, PopED, popEpi, popgraph, poplite, poppr, popprxl, PortfolioAnalytics, PortfolioEffectHFT, postGIStools, powerbydesign, poweRlaw, PP, praise, prcbench, precrec, prepdat, preprocomb, preproviz, prereg, prettyunits, primefactr, primes, prism, prodigenr, productplots, profilr, prof.tree, profvis, progress, ProjectTemplate, propr, ProteinDescriptors, protoclass, protolite, PRROC, pryr, psd, pseval, psidR, ptstem, pubprint, pulsar, purge, purrr, pvar, pwrRasch, pxweb, pystr, QCApro, qdap, qdapRegex, qdapTools, QFASA, qiimer, qrencoder, qtl, qtlcharts, quadrupen, qualpalr, Quandl, quanteda, quantspec, questionr, quhomology, quickmapr, qwraps2, R2admb, r2glmm, R4CouchDB, R6, R6Frame, radarchart, radiant, radiant.basics, radiant.data, radiant.design, radiant.model, radiant.multivariate, radiomics, rags2ridges, ragtop, rakeR, rAltmetric, RAM, Ramble, rAmCharts, ramify, randNames, randomForest.ddR, randomizeR, randomizr, rangeMapper, ranger, rankdist, RANN, RANN.L1, RAppArmor, rappdirs, rAvis, rbgm, rbhl, rbison, rbokeh, Rborist, RBPcurve, rbundler, rcanvec, rcbalance, rcbsubset, rccdates, rccmisc, Rcereal, rClinicalCodes, rclinicaltrials, RClone, rcmdcheck, RcmdrPlugin.lfstat, RCMIP5, RcppFaddeeva, RcppRoll, RcppShark, rcrossref, rcrypt, RDataCanvas, rdatacite, rddtools, rDEA, rdian, RDocumentation, rdomains, rdrop2, rdryad, RDS, readbitmap, readODS, readr, readstata13, readxl, rebird, rebus, rebus.base, rebus.datetimes, rebus.numbers, recexcavAAR, recmap, recommenderlab, reconstructr, recordr, REDCapR, redland, refimpact, RefManageR, refnr, refset, regexr, reinstallr, ReliabilityTheory, rematch, rEMM, remotes, rentrez, repijson, ReporteRs, reportr, repr, represtools, request, rerddap, reshape2, restimizeapi, resumer, rethinker, retistruct, reutils, revealjs, rex, Rexperigen, RFc, rfigshare, rfishbase, Rfit, rfml, RForcecom, RFormatter, RGA, rgbif, rgeolocate, rgeos, rgeospatialquality, rgho, rglobi, RGoogleAnalytics, rGroovy, riceware, ridigbio, riem, RImageJROI, RImagePalette, rintrojs, rio, ritis, RItools, riverdist, rjstat, rLakeAnalyzer, Rlibeemd, rlist, RLumModel, rmapshaper, rmarkdown, rmumps, RMySQL, rnbn, rncl, RndTexExams, RNeo4j, rnetcarto, RNeXML, RNHANES, RNifti, RNiftyReg, rnn, rnoaa, rnpn, rnrfa, roahd, robotstxt, RObsDat, RODBCDBI, rodham, rollply, ropenaq, ROpenFIGI, rorcid, rorutadis, rotations, rotl, roxygen2, RPANDA, rpartitions, rpcdsearch, rpdo, rpf, rpivotTable, rplexos, rplos, rpn, rpnf, rPref, RPresto, rprev, rprime, rprintf, rprojroot, rpsftm, rptR, rr, rredlist, RSauceLabs, rscimark, rsconnect, rscorecard, rsdmx, RSelenium, RSentiment, rsig, RSiteCatalyst, rslp, rslurm, rsnps, RSocrata, rspa, RSQLite, RSQLServer, Rssa, RSSL, rstack, rstackdeque, rstanarm, RStoolbox, rstudioapi, rsunlight, rsvd, rtdists, rticles, rtide, rtimes, rtk, RTriangle, Rtsne, rtson, rtweet, rtype, rtypeform, Ruchardet, rUnemploymentData, runittotestthat, rvertnet, rvest, rvg, rvgtest, rwirelesscom, Ryacas, rYoutheria, sadists, saeRobust, saeSim, sankey, satellite, sbtools, scales, scanstatistics, scdhlm, SchemaOnRead, SciencesPo, scorer, scoring, scphaser, ScrabbleScore, scrm, scrubr, sdcMicro, sdcTable, SDMPlay, sdmvspecies, searchable, segmag, selectr, seleniumPipes, SEMID, sensR, sentimentr, seqMeta, seqminer, sequences, seriation, seroincidence, setter, settings, sfinx, sgd, shades, SharpeR, shazam, SHELF, shiny, shinyAce, shinyjs, shinyRGL, shinystan, shinyTree, sigmoid, simmer, simplegraph, simplr, simputation, simr, simstudy, simulator, sisal, slackr, SLOPE, smacpod, SmartSifter, smcUtils, smerc, Smisc, SmithWilsonYieldCurve, smoof, smooth, smoothAPC, SnakeCharmR, SNSequate, SocialMediaLab, solr, solrium, sortinghat, sorvi, sourcetools, sp500SlidingWindow, SpaDES, spaero, spaMM, spareserver, spark, sparklyr, sparsebn, sparsebnUtils, SparseGrid, sparseHessianFD, sparseMVN, spatialprobit, spbabel, spcadjust, spdplyr, spduration, spdynmod, spex, spiders, spocc, spoccutils, SqlRender, squid, srvyr, sspse, sss, stablespec, statar, statebins, stationaRy, StatRank, statTarget, stcov, STEPCAM, sticky, stlplus, storr, stplanr, stR, stream, stressr, stringdist, stringr, strvalidator, supervisedPRIM, surveillance, surveybootstrap, sValues, svd, svglite, svyPVpack, SwarmSVM, sweidnumbr, swirlify, synthACS, systemicrisk, syuzhet, tableHTML, tableone, tadaatoolbox, TauStar, taxize, tbdiag, tester, text2vec, textgRid, textmining, textreg, textreuse, TFMPvalue, ThreeArmedTrials, threewords, tibble, tidyjson, tidyr, tidytext, tigger, tigris, tikzDevice, TimeProjection, timevis, tmod, tm.plugin.webmining, toaster, tokenizers, toOrdinal, tourr, toxboot, trackeR, traitr, traits, treatSens, treebase, treeclim, treeman, treescape, trelliscope, triebeard, trustOptim, TSdist, tsna, TSP, tsPI, tspmeta, tuber, tufterhandout, tumgr, turner, tutorial, tvm, uaparserjs, UBL, udapi, umx, UNF, ungeneanno, uniqtag, unitedR, units, uptimeRobot, urlshorteneR, urltools, USAboundaries, useful, utiml, V8, validate, varian, vcfR, vdmR, vegalite, vegdata, vembedr, VennDiagram, vietnamcode, vines, vipor, virustotal, VSURF, VTrack, vtreat, waffle, wakefield, walkr, wand, Wats, weatherData, webchem, webreadr, webuse, wellknown, wgsea, WHO, whoami, whoapi, WikidataR, wikipediatrend, WikipediR, withr, wkb, wppExplorer, wrassp, wrswoR, WufooR, XiMpLe, xlutils3, xml2, xmlparsedata, xoi, yakmoR, yaml, yCrypticRNAs, yummlyr, Zelig, ZeligChoice, ZeligEI, ZillowR, zoom, ztable
Reverse enhances: PivotalR

Linking:

Please use the canonical form https://CRAN.R-project.org/package=testthat to link to this page.