diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..020ee46 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,23 @@ +version: 2 +jobs: + build: + docker: + - image: rocker/verse:4.0.3 + environment: + _R_CHECK_FORCE_SUGGESTS_: false + steps: + - checkout + - run: + name: Install package dependencies + command: | + Rscript \ + -e 'if (!requireNamespace("devtools", quietly = TRUE)) install.packages("devtools")' \ + -e 'devtools::install_deps(dependencies = NA)' + - run: + name: Build package + command: R CMD build . + - run: + name: Check package + command: R CMD check --no-manual *tar.gz + - store_test_results: + path: tmp/tests diff --git a/CHANGELOG.md b/CHANGELOG.md index bee6b62..85b21ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## [1.0.0] - 2021-11-15 +* `ggrastr` has gone through no major revisions in over a year. In order to avoid any confusion, this should be released with a major version. + ## [0.2.3] - 2021-02-27 * Function `rasterise()` changed to work with multiple layers * Function `rasterise()` now works with `geom_sf()`, i.e. should find any layers in a valid input list, and rasterize this. diff --git a/DESCRIPTION b/DESCRIPTION index f139979..c49b76a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: ggrastr Type: Package Title: Rasterize Layers for 'ggplot2' -Version: 0.2.3 +Version: 1.0.0 Authors@R: c(person("Viktor", "Petukhov", email = "viktor.s.petukhov@ya.ru", role = c("aut", "cph")), person("Teun", "van den Brand", email = "t.vd.brand@nki.nl", role=c("aut")), person("Evan", "Biederstedt", email = "evan.biederstedt@gmail.com", role=c("cre", "aut"))) Description: Rasterize only specific layers of a 'ggplot2' plot while simultaneously keeping all labels and text in vector format. This allows users to keep plots within the reasonable size limit without loosing vector properties of the scale-sensitive information. License: MIT + file LICENSE diff --git a/README.md b/README.md index d23bd8c..4da71c5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.com/VPetukhov/ggrastr.svg?branch=master)](https://travis-ci.com/VPetukhov/ggrastr) +[![](https://circleci.com/gh/VPetukhov/ggrastr.svg?style=svg)](https://app.circleci.com/pipelines/github/VPetukhov/ggrastr) [![CRAN status](https://www.r-pkg.org/badges/version/ggrastr)](https://cran.r-project.org/package=ggrastr) [![CRAN downloads](https://cranlogs.r-pkg.org/badges/ggrastr)](https://cran.r-project.org/package=ggrastr) @@ -59,6 +59,6 @@ If you find `ggrastr` useful for your publication, please cite: ``` Viktor Petukhov, Teun van den Brand and Evan Biederstedt (2021). -ggrastr: Raster Layers for 'ggplot2'. R package version 0.2.3. +ggrastr: Raster Layers for 'ggplot2'. R package version 1.0.0. https://CRAN.R-project.org/package=ggrastr ```