Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/build-bundle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build JASP Module on PR Comment

on:
issue_comment:
types: [created]

permissions:
pull-requests: write
contents: read

jobs:
call-build-module:
# Only run if it's a PR, starts with 'build', and user has permissions
if: >
github.event.issue.pull_request &&
startsWith(github.event.comment.body, 'build') &&
contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)

# Calls the reusable workflow from your central repo
uses: jasp-stats/jasp-actions/.github/workflows/build-bundle.yml@v1

# Passes the local repository's GITHUB_TOKEN down so the central action can comment and checkout code
secrets: inherit
21 changes: 21 additions & 0 deletions .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
push:
branches:
- master # Essential for Codecov baseline
paths: ['**.R', 'tests/**', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win', '**.yml']

pull_request:
# Triggers when a PR is opened, updated, or marked ready for review
types: [opened, synchronize, reopened, ready_for_review]
paths: ['**.R', 'tests/**', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win']

jobs:
coverage:
# Run if it is a push (merge) OR if the PR is NOT a draft
if: github.event_name == 'push' || github.event.pull_request.draft == false

uses: jasp-stats/jasp-actions/.github/workflows/coverage.yml@master
with:
needs_JAGS: false
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
15 changes: 6 additions & 9 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
on:
push:
paths: ['**.R', 'tests/**', '**.Rd', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win', '**.yml', 'renv.lock']
pull_request:
paths: ['**.R', 'tests/**', '**.Rd', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win', '**.yml', 'renv.lock']
schedule:
- cron: '13 12 * * 1-5'
workflow_dispatch:

# once the module takes shape you may want to uncomment these lines
#on:
# push:
# paths: ['**.R', 'tests/**', '**.Rd', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win', '**.yml']
# pull_request:
# paths: ['**.R', 'tests/**', '**.Rd', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win']
# schedule:
# - cron: '13 12 * * 1-5'

name: unit-tests

jobs:
Expand Down
32 changes: 22 additions & 10 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,19 +1,31 @@
Package: jaspModuleTemplate
Type: Package
Title: A module for JASP
Version: 0.1.2
Date: 2020-10-15
Package: jaspBayesianQualityControl
Type: Package
Title: Bayesian Quality Control Module for JASP
Version: 0.1.0
Date: 2026-08-06
Author: JASP Team
Website: jasp-stats.org
Maintainer: JASP Team <info@jasp-stats.org>
Description: Example module showing basic functionality. Use it for inspiration when creating your own module.
Website: https://github.com/jasp-stats/jaspBayesianQualityControl
Maintainer: JASP <info@jasp-stats.org>
Description: Bayesian counterparts to the quality control analyses, covering process capability and measurement systems analysis.
License: GPL (>= 2)
Encoding: UTF-8
Depends:
R (>= 4.4.0)
Imports:
BayesTools,
ggh4x,
ggplot2,
HDInterval,
jaspBase,
jaspGraphs
jaspGraphs,
qc,
stats,
tibble
Suggests:
testthat
Remotes:
jasp-stats/jaspBase,
jasp-stats/jaspGraphs
jasp-stats/jaspGraphs,
FBartos/qc
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
13 changes: 8 additions & 5 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import(jaspBase)
export(addOne)
export(processTable)
export(parabola)
export(interfaceExample)
# Generated by roxygen2: do not edit by hand

export(bayesianProcessCapabilityStudies)
importFrom(jaspBase,"%setOrRetrieve%")
importFrom(jaspBase,createJaspPlot)
importFrom(jaspBase,createJaspState)
importFrom(jaspBase,createJaspTable)
importFrom(jaspBase,jaspDeps)
8 changes: 0 additions & 8 deletions R/addOne.R

This file was deleted.

Loading
Loading