Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Commit

Permalink
update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed May 28, 2020
1 parent 4196209 commit 4c5a40b
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 35 deletions.
65 changes: 33 additions & 32 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# documentation at https://docs.travis-ci.com/user/languages/r

language: r
r:
- release
# - devel
- devel
latex: true
warnings_are_errors: TRUE

addons:
apt:
packages:
- libudunits2-dev
- libgdal-dev
- libproj-dev
- libmpfr-dev

env:
global:
- _R_CHECK_FORCE_SUGGESTS_=true
Expand All @@ -16,43 +22,38 @@ cache:
- packages
- ccache

env:
global:
- R_MAX_NUM_DLLS=999
- _R_CHECK_FORCE_SUGGESTS_=FALSE
repos:
CRAN: https://cloud.r-project.org
ropensci: http://packages.ropensci.org

r_binary_packages:
- stringi
- magrittr
- curl
- jsonlite
r_packages:
- Rcpp
- RcppEigen
- openssl
- utf8
- gss
- haven
- minqa
- SparseM
- httpuv
- markdown
- pander
- git2r
- BayesFactor
- broom.mixed
- broom

r_packages:
- rlang
- bindrcpp
- purrr
- tidyr
- dplyr
- mvtnorm
- rstan
- StanHeaders
- LaplacesDemon
- logspline
- testthat
- devtools
- remotes
- knitr
- rmarkdown
- coda
- rstantools
- bridgesampling
- BH
- metaBMA

r_github_packages:
- jimhester/lintr
- r-lib/covr

before_install:
- mkdir -p ~/.R
- echo "CXX14FLAGS=-O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -Wno-macro-redefined" >> ~/.R/Makevars
- echo "CXX14=g++ -std=c++1y -fext-numeric-literals -fPIC" >> ~/.R/Makevars

notifications:
email:
on_success: change
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-bf_oneway_anova.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ testthat::test_that(
df_results <-
bf_oneway_anova(
data = dat,
x = vore,
x = "vore",
y = brainwt,
bf.prior = 0.99,
output = "results"
Expand All @@ -39,7 +39,7 @@ testthat::test_that(
bf_oneway_anova(
data = dat,
x = vore,
y = brainwt,
y = "brainwt",
bf.prior = 0.88,
output = "null"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-bf_ttest.R
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ testthat::test_that(
subtitle <-
bf_ttest(
data = iris,
x = Petal.Length,
x = "Petal.Length",
y = NULL,
test.value = 5.5,
bf.prior = 0.99,
Expand Down

0 comments on commit 4c5a40b

Please sign in to comment.