Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests travis #2

Closed
wants to merge 9 commits into from
Closed

Conversation

henrykironde
Copy link

No description provided.

@henrykironde
Copy link
Author

@pranita-s the tests look fine now(merge this to see how it runs).
Clean up the travis file and add comments where applicable. You could try installing these packages

  - R -e 'install.packages(c("devtools"));if (!all(c("devtools") %in% installed.packages())) { q(status = 1, save = "no")}'
  - R -e 'install.packages(c("devtools"));if (!all(c("devtools") %in% installed.packages())) { q(status = 1, save = "no")}'
  - R -e 'library(devtools);devtools::install_github("klutometis/roxygen")'
  - R -e 'library(devtools);devtools::install_github("rstats-db/DBI")'
  - R -e 'library(devtools);devtools::install_github("rstats-db/RMariaDB")'
  - R -e 'devtools::install_github("rstudio/reticulate")'

using

r_github_packages:
  - r-lib/devtools
  - klutometis/roxygen
  - rstats-db/DBI
  - rstats-db/RMariaDB
  - rstudio/reticulate

Also try removing the script: section so that R can use the default test procedures.
This is because if we run

- R -e 'library(testthat)'
- R -e 'library(devtools);devtools::test()'

The tests do not show failures.
ref :r-lib/testthat#700

@henrykironde henrykironde deleted the tests-travis branch December 19, 2018 22:18
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.

2 participants