| assertCollectionAddin | Inserts code for a checkmate assert collection |
| capture_parse_eval_side_effects | Capture side effects from parse eval |
| capture_side_effects | Capture side effects |
| dputSelectedAddin | Replaces selected code with its dput() output |
| element_classes | Gets the class of each element |
| element_lengths | Gets the length of each element |
| element_types | Gets the type of each element |
| gxs_function | Generate testhat expectations for argument values in a... |
| gxs_selection | Generate testhat expectations from selection |
| initializeGXSFunctionAddin | Initialize 'gxs_function()' call |
| initializeTestthatAddin | Initializes 'test_that()' call |
| insertExpectationsAddin | Creates testthat tests for selected code |
| navigateTestFileAddin | Navigates to test file |
| num_total_elements | Total number of elements |
| prepare_insertion | Prepare expectations for insertion |
| render_toc | Render Table of Contents |
| set_test_seed | Set random seed for unit tests |
| simplified_formals | Extract and simplify a function's formal arguments |
| smpl | Random sampling |
| stop_if | Simple side effect functions |
| strip | Strip strings of non-alphanumeric characters |
| strip_msg | Strip side-effect messages of non-alphanumeric characters and... |
| suppress_mw | Suppress warnings and messages |
| wrapStringAddin | Wraps the selection with paste0 |
| xpectr-package | xpectr: A package for generating tests for 'testthat' unit... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.