Man pages for xpectr
Generates Expectations for 'testthat' Unit Testing

assertCollectionAddinInserts code for a checkmate assert collection
capture_parse_eval_side_effectsCapture side effects from parse eval
capture_side_effectsCapture side effects
dputSelectedAddinReplaces selected code with its dput() output
element_classesGets the class of each element
element_lengthsGets the length of each element
element_typesGets the type of each element
gxs_functionGenerate testhat expectations for argument values in a...
gxs_selectionGenerate testhat expectations from selection
initializeGXSFunctionAddinInitialize 'gxs_function()' call
initializeTestthatAddinInitializes 'test_that()' call
insertExpectationsAddinCreates testthat tests for selected code
navigateTestFileAddinNavigates to test file
num_total_elementsTotal number of elements
prepare_insertionPrepare expectations for insertion
render_tocRender Table of Contents
set_test_seedSet random seed for unit tests
simplified_formalsExtract and simplify a function's formal arguments
smplRandom sampling
stop_ifSimple side effect functions
stripStrip strings of non-alphanumeric characters
strip_msgStrip side-effect messages of non-alphanumeric characters and...
suppress_mwSuppress warnings and messages
wrapStringAddinWraps the selection with paste0
xpectrxpectr: A package for generating tests for 'testthat' unit...
xpectr documentation built on Nov. 18, 2022, 5:10 p.m.