From 73ea5c6b094304db3bdf4e8f9a2ff44ab9316adb Mon Sep 17 00:00:00 2001 From: joethorley Date: Tue, 31 Mar 2020 17:22:23 -0700 Subject: [PATCH] check works R 3.4 and later --- .travis.yml | 21 ++++++++++++++++++--- DESCRIPTION | 2 ++ 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8d139ac..c5bfab2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,20 @@ -# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r - language: R -sudo: false cache: packages + +r: + - devel + - release + - oldrel + - 3.5 + - 3.4 + +after_success: + - Rscript -e 'covr::codecov()' + +notifications: + email: false + slack: + rooms: + - poissonconsulting:BKjfn7jsVh8zXTu2rq7BEQEb + on_success: change + on_failure: change diff --git a/DESCRIPTION b/DESCRIPTION index d9a89d9..0085946 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -7,6 +7,8 @@ Authors@R: c( Description: Generate a palette of tints, shades or both from a single colour. URL: https://github.com/poissonconsulting/tinter BugReports: https://github.com/poissonconsulting/tinter/issues +Depends: + R (>= 3.4) Imports: chk, grDevices