272fde6578
# 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.
18 lines
428 B
Makefile
18 lines
428 B
Makefile
# $NetBSD: Makefile,v 1.2 2020/12/14 03:14:38 mef Exp $
|
|
|
|
R_PKGNAME= rprojroot
|
|
R_PKGVER= 2.0.2
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Finding files in project subdirectories
|
|
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"
|
|
.include "../../mk/bsd.pkg.mk"
|