testAnalysis: Test a specific JASP analysis.

View source: R/test.R

testAnalysisR Documentation

Test a specific JASP analysis.

Description

Tests a specific R analysis found under module/tests/testthat. Useful to perform before making a pull request, to prevent failing builds.

Usage

testAnalysis(name, onlyPlots = FALSE)

Arguments

name

String name of the analysis to test (case sensitive).

onlyPlots

Would you like to only run the tests for plots? This can speed up the generating of reference images in case you are not interested in the other unit tests.

Examples


testAnalysis("AnovaBayesian")


jasp-stats/JASPTools documentation built on Feb. 17, 2024, 9:27 a.m.