./devel/R-rprojroot, Finding files in project subdirectories

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.0.4, Package name: R-rprojroot-2.0.4, Maintainer: pkgsrc-users

Robust, reliable and flexible paths to files below a project root. The
'root' of a project is defined as a directory that matches a certain
criterion, e.g., it contains a certain regular file.


Required to run:
[math/R] [math/R-backports]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2024-01-23 00:35:47 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-rprojroot) Updated 2.0.3 to 2.0.4, make test passed

# rprojroot 2.0.4 (2023-11-05)

## Features

- Add `is_renv_project` criterion looking for an `renv.lock` file (@gadenbuie, #86).
- Add `is_quarto_project` criterion looking for a Quarto project (@olivroy, #91, \ 
#92).

## Chore

- Update maintainer e-mail address.

## Testing

- Wrap `::` to skip if not installed in tests (#94).
   2022-04-30 07:31:13 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
(devel/R-rprojroot) Updated 2.0.2 to 2.0.3

(this is actually log for previous commit, sorry)
# rprojroot 2.0.3 (2022-03-25)

- Add `is_pkgdown_project` root criterion looking
  for a `_pkgdown.yml`, `_pkgdown.yaml`, `pkgdown/_pkgdown.yml`
  and/or `inst/_pkgdown.yml` file (#79, @salim-b).
- Avoid `LazyData` in `DESCRIPTION`.
   2022-04-30 07:26:10 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-rprojroot) mockr added for TEST_DEPENDS, now test pass
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-12-14 04:14:38 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(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.