Skip to content

Conversation

@FBartos
Copy link
Collaborator

@FBartos FBartos commented Dec 22, 2025

depends on: jasp-stats/jaspTools#60

tests can be autogenerated via

library(jaspTools)
makeTestsFromExamples()

(the tests will fail untill the new version of jaspTools is included)

Copilot AI review requested due to automatic review settings December 22, 2025 09:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds an auto-generated unit test for the PetPeese analysis based on a JASP example file named "Precognition.jasp". The test generation relies on functionality from jaspTools PR #60 (makeTestsFromExamples() function).

Key changes:

  • Adds automated test for PetPeese analysis using example-based testing pattern
  • Includes the Precognition.jasp example file for test data
  • Excludes examples directory from R package build

Reviewed changes

Copilot reviewed 8 out of 29 changed files in this pull request and generated no comments.

File Description
tests/testthat/test-example-Precognition.R Auto-generated test file for PetPeese analysis that follows the established pattern used by 6 other example tests in the repository
examples/Precognition.jasp Binary JASP example file containing the analysis configuration and data for the Precognition dataset
.Rbuildignore Adds pattern to exclude the examples directory from the built R package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant