Skip to content

Commit

Permalink
(devel/rprojroot) Updated 1.3.2 to 2.0.2
Browse files Browse the repository at this point in the history
# 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.
  • Loading branch information
mef committed Dec 14, 2020
1 parent fef3f8b commit 98fe59a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions devel/R-rprojroot/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"
Expand Down
10 changes: 5 additions & 5 deletions devel/R-rprojroot/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 98fe59a

Please sign in to comment.