diff --git a/Makefile b/Makefile index 396d902..b496ae5 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,7 @@ all: lint test cover build docs # Setup the local development environment setup: - Rscript -e "install.packages('devtools')" - Rscript -e "devtools::install_github(c('jimhester/lintr', 'klutometis/roxygen', 'r-lib/bench', 'r-lib/covr', 'r-lib/testthat', 'r-lib/pkgdown'))" + Rscript -e "install.packages('devtools'); devtools::install_dev_deps()" # Do linting lint: diff --git a/README.md b/README.md index 9b293d9..c54104e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ #### R interpreter for Stencila executable documents -[![Build Status](https://travis-ci.org/stencila/rasta.svg?branch=master)](https://travis-ci.org/stencila/rasta) +[![Build Status](https://dev.azure.com/stencila/stencila/_apis/build/status/stencila.rasta?branchName=master)](https://dev.azure.com/stencila/stencila/_build/latest?definitionId=12&branchName=master) [![Code coverage](https://codecov.io/gh/stencila/rasta/branch/master/graph/badge.svg)](https://codecov.io/gh/stencila/rasta) [![CRAN](https://www.r-pkg.org/badges/version-last-release/rasta)](https://cran.r-project.org/web/packages/rasta/) [![Docs](https://img.shields.io/badge/docs-latest-blue.svg)](https://stencila.github.io/rasta/) @@ -48,9 +48,9 @@ Most development tasks can be run from R, using `make` shortcuts, or RStudio key Task | `make` | R/RStudio | ------------------------------------------------------- |-----------------------|-----------------| -Install development dependencies | `make setup` | +Install development dependencies | `make setup` | `devtools::install_dev_deps()` Run linting | `make lint` | `lintr::lint_package()` -Run R tests | `make test-r` | `devtools::test()` or `Ctrl+Shift+T` +Run R tests | `make test-r` | `devtools::test()` or `Ctrl+Shift+T` Run C++ tests | `make test-cpp` | Run all tests | `make test` Run tests with coverage | `make cover` | `covr::package_coverage()` @@ -66,11 +66,11 @@ Unit tests live in the `tests` folder. Most of the tests are written using the ` ### Documentation -Documentation is written using `roxygen2` and the documentation site is generated by `pkgdown` into the [`docs`](docs) folder and published on Github pages. +Documentation is written using `roxygen2` and the documentation site is generated by `pkgdown` into the `docs` folder and published on GitHub pages at https://stencila.github.io/rasta/. ### Continuous integration -Tests are run on [Travis](https://travis-ci.org/stencila/rasta) and code coverage tracked at [Codecov](https://codecov.io/gh/stencila/rasta). +Tests are run on [Azure Pipelines](https://dev.azure.com/stencila/stencila/_build?definitionId=12) and code coverage tracked at [Codecov](https://codecov.io/gh/stencila/rasta). ## Notes