summaryrefslogtreecommitdiff
path: root/devel/R-rprojroot
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2020-12-14 03:14:38 +0000
committermef <mef@pkgsrc.org>2020-12-14 03:14:38 +0000
commit7256655c28407bf03788d3626408340b921be25e (patch)
tree960254da3260a6908822df5bbb35bfe119fe0367 /devel/R-rprojroot
parent163940b9cd0bfeb54185387fd11442b9492df541 (diff)
downloadpkgsrc-7256655c28407bf03788d3626408340b921be25e.tar.gz
(devel/rprojroot) Updated 1.3.2 to 2.0.2
# rprojroot 2.0.2 (2020-11-15) ## Features - In `find_root_file()`, if the first path component is already an absolute path, the path is returned unchanged without referring to the root. This allows using both root-relative and absolute paths in `here::here()`. Mixing root-relative and absolute paths in the same call returns an error (#59). - `find_root_file()` propagates `NA` values in path components. Using tidyverse recycling rules for path components of length different from one (#66). - `has_file()` and `has_file_pattern()` gain `fixed` argument (#75). - New `is_drake_project` criterion (#34). - Add `subdir` argument to `make_fix_file()` (#33, @BarkleyBG). - Update documentation for version control criteria (#35, @uribo). ## Breaking changes - `Has_file()` and `has_dir()` now throw an error if the `filepath` argument is an absolute path (#74). - `has_basename()` replaces `has_dirname()` to avoid confusion (#63). - `as_root_criterion()` and `is_root_criterion()` replace `as.` and `is.`, respectively. The latter are soft-deprecated. - `thisfile()` and related functions are soft-deprecated, now available in the whereami package (#43). ## Bug fixes - The `is_dirname()` criterion no longer considers sibling directories (#44). ## Internal - Use testthat 3e (#70). - The backports package is no longer imported (#68). - Re-license as MIT (#50). - Move checks to GitHub Actions (#52). - Availability of suggested packages knitr and rmarkdown, and pandoc, is now checked before running the corresponding tests.
Diffstat (limited to 'devel/R-rprojroot')
-rw-r--r--devel/R-rprojroot/Makefile6
-rw-r--r--devel/R-rprojroot/distinfo10
2 files changed, 9 insertions, 7 deletions
diff --git a/devel/R-rprojroot/Makefile b/devel/R-rprojroot/Makefile
index 6126959f3e7..bd3fc972747 100644
--- a/devel/R-rprojroot/Makefile
+++ b/devel/R-rprojroot/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2019/08/09 18:35:36 brook Exp $
+# $NetBSD: Makefile,v 1.2 2020/12/14 03:14:38 mef Exp $
R_PKGNAME= rprojroot
-R_PKGVER= 1.3-2
+R_PKGVER= 2.0.2
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -10,6 +10,8 @@ LICENSE= gnu-gpl-v3
DEPENDS+= R-backports>=1.1.4:../../math/R-backports
+TEST_DEPENDS+= R-lifecycle-[0-9]*:../../devel/R-lifecycle
+
USE_LANGUAGES= # none
.include "../../math/R/Makefile.extension"
diff --git a/devel/R-rprojroot/distinfo b/devel/R-rprojroot/distinfo
index 6fe9b829a91..0f4c05ade67 100644
--- a/devel/R-rprojroot/distinfo
+++ b/devel/R-rprojroot/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2019/08/09 18:35:36 brook Exp $
+$NetBSD: distinfo,v 1.2 2020/12/14 03:14:38 mef Exp $
-SHA1 (R/rprojroot_1.3-2.tar.gz) = 5e6069920ce7a19fef6812685b0d0907a9884631
-RMD160 (R/rprojroot_1.3-2.tar.gz) = 1a8ec1bcddd7f925ba735c1b533d0fd94529ebb7
-SHA512 (R/rprojroot_1.3-2.tar.gz) = 7ea312a39ccf297a83155c849b0399459eb767f869fb327a238258e0f7a69b545c29e005dd33fdc1c1895116554ad0c3efbcc098ca1979610887ce67d8a8ea4b
-Size (R/rprojroot_1.3-2.tar.gz) = 50414 bytes
+SHA1 (R/rprojroot_2.0.2.tar.gz) = a279e095c440d4d5fb9d546e1d57bda871ae20b9
+RMD160 (R/rprojroot_2.0.2.tar.gz) = fcf7964bafe22050e7190df0fa4db02514911518
+SHA512 (R/rprojroot_2.0.2.tar.gz) = 36f9bcf1435709eea2325e2a0f681782083ae158eaca485af5fb9871c9a3429e8a3a94c4dae1741905d37d8e9538d35d6588fa3e901ef60601de344282497629
+Size (R/rprojroot_2.0.2.tar.gz) = 59967 bytes