pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/R-rprojroot (devel/rprojroot) Updated 1.3.2 to 2...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1c155cbeb79
branches:  trunk
changeset: 443465:f1c155cbeb79
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon Dec 14 03:14:38 2020 +0000

description:
(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:

 devel/R-rprojroot/Makefile |   6 ++++--
 devel/R-rprojroot/distinfo |  10 +++++-----
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (37 lines):

diff -r b1bf2f27bc0f -r f1c155cbeb79 devel/R-rprojroot/Makefile
--- a/devel/R-rprojroot/Makefile        Mon Dec 14 00:41:56 2020 +0000
+++ b/devel/R-rprojroot/Makefile        Mon Dec 14 03:14:38 2020 +0000
@@ -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@localhost
@@ -10,6 +10,8 @@
 
 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 -r b1bf2f27bc0f -r f1c155cbeb79 devel/R-rprojroot/distinfo
--- a/devel/R-rprojroot/distinfo        Mon Dec 14 00:41:56 2020 +0000
+++ b/devel/R-rprojroot/distinfo        Mon Dec 14 03:14:38 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index