Skip to content

Commit b5d6bf1

Browse files
committed
Merge branch 'master' (early part) into f-abs
2 parents b9e5eac + c773ad2 commit b5d6bf1

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

R/file.R

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
#' the `criterion` and `path` arguments are ignored,
1111
#' and `...` is forwarded to [file.path()].
1212
#'
13-
#' @param criterion A criterion, will be coerced using
14-
#' [as_root_criterion()]
15-
#' @param path The start directory
16-
#' @param ... Further path components passed to [file.path()]
13+
#' @param criterion A criterion, one of the predefined [criteria]
14+
#' or created by [root_criterion()].
15+
#' Will be coerced using [as_root_criterion()].
16+
#' @param path The start directory.
17+
#' @param ... Further path components passed to [file.path()].
1718
#' @return The normalized path of the root as specified by the search criteria,
1819
#' with the additional path components appended.
19-
#' Throws an error if no root is found
20+
#' Throws an error if no root is found.
2021
#'
2122
#' @examples
2223
#' \dontrun{

man/find_root.Rd

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/find_root_file.Rd

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)