Skip to content
Snippets Groups Projects
Commit 77bd31e6 authored by pqiao29's avatar pqiao29
Browse files

test automatic package check

parent 5870601e
No related branches found
No related tags found
No related merge requests found
Pipeline #3434 failed
......@@ -9,3 +9,54 @@ pages:
- public
only:
- master
default:
image: pqiao/sirplus_dev
stages:
- build
- document
- check
- test
- deploy
variables:
_R_CHECK_CRAN_INCOMING_: "false"
_R_CHECK_FORCE_SUGGESTS_: "true"
CODECOV_TOKEN: "2329aed3-de38-468c-9a06-95564363211c"
buildbinary:
tags:
- docker
image: pqiao/sirplus_dev
stage: build
script:
- R -e 'devtools::build(binary = TRUE)'
documentation:
tags:
- docker
image: pqiao/sirplus_dev
stage: document
script:
- R -e 'devtools::document()'
checkerrors:
tags:
- docker
image: pqiao/sirplus_dev
stage: check
script:
- R -e 'devtools::check(error_on = c("error"),document = FALSE, args = "--no-tests")'
checkwarnings:
tags:
- docker
image: pqiao/sirplus_dev
stage: checkwarnings
script:
- R -e 'devtools::check(error_on = c("warning"),document = FALSE, args = "--no-tests")'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment