Automating the Rmd code chunk testing
-
Check if there is an error in the git repo HEAD Rmds with the CircleCI badge etc.
-
The CircleCI runs all Rmds in https://github.com/cytoscape/cytoscape-automation/tree/master/for-scripters/R/notebooks and generate the report as HTML.
-
You can check the result HTML in the CircleCI
ARTIFACTS
tab. -
We need to replace
knitr::opts_chunk$set( eval=FALSE )
to
knitr::opts_chunk$set( eval=TRUE )
in the all Rmds.
You can update it with editing https://github.com/cytoscape/cytoscape-automation/blob/master/.circleci/config.yml
Every time you commit https://github.com/cytoscape/cytoscape-automation, it will run.