Skip to content

Commit

Permalink
Add abtest split, unit tests from jasp-desktop and fix missing depend…
Browse files Browse the repository at this point in the history
…encies
  • Loading branch information
TimKDJ committed Sep 4, 2020
1 parent 0a6e63c commit d724f17
Show file tree
Hide file tree
Showing 55 changed files with 3,494 additions and 111 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
^.*\.Rproj$
^\.Rproj\.user$
54 changes: 54 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# History files
.Rhistory
.Rapp.history

# Session Data files
.RData

# User-specific files
.Ruserdata

# Example code in package build process
*-Ex.R

# Output files from R CMD build
/*.tar.gz

# Output files from R CMD check
/*.Rcheck/

# produced vignettes
vignettes/*.html
vignettes/*.pdf

# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
.httr-oauth

# knitr and R markdown default cache directories
*_cache/
/cache/

# Temporary files created by R markdown
*.utf8.md
*.knit.md

# R Environment Variables
.Renviron

# pkgdown site
docs/

# translation temp files
po/*~

# OSX files
*.DS_Store
Thumbs.db

# JASP analysis
state

# RStudio files
.Rproj.user/*
Rproj.user
.Rproj.user
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
os: osx
language: r
r: 3.6.1
before_install:
- "git clone --branch=MacOS-Original https://github.com/jasp-stats/jasp-required-files.git ~/pkgs"
install:
- RScript -e ".libPaths(c(.libPaths(), '~/pkgs')); install.packages('remotes'); remotes::install_github('jasp-stats/jaspTools', upgrade = 'never')"
script:
- R < tests/testthat.R --no-save
env:
global:
- R_REMOTES_NO_ERRORS_FROM_WARNINGS=true
- VDIFFR_RUN_TESTS=true
- REQUIRED_PKGS=~/pkgs
17 changes: 16 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,19 @@ Author: JASP Team
Website: jasp-stats.org
Maintainer: JASP Team <[email protected]>
Description: This module offers the standard Frequentist and Bayesian frequency analyses.
License: GPL (>= 2)
License: GPL (>= 2)
Encoding: UTF-8
Imports:
abtest,
BayesFactor,
conting,
ggplot2,
jaspBase,
jaspGraphs,
plyr,
stringr,
vcd,
vcdExtra
Remotes:
jasp-stats/jaspBase,
jasp-stats/jaspGraphs
16 changes: 15 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
exportPattern('^[[:alpha:]]+')
import(jaspBase)
export(ABTestBayesian)
export(BinomialTest)
export(BinomialTestBayesian)
export(MultinomialTest)
export(MultinomialTestBayesian)
export(ContingencyTables)
export(ContingencyTablesBayesian)
export(RegressionLogLinear)
export(RegressionLogLinearBayesian)
export(.bayesBinomialTest)
export(.dfPointsPP)
export(.dfLinesPP)
export(.credibleIntervalPlusMedian)
export(.abTestMain)
Loading

0 comments on commit d724f17

Please sign in to comment.