Skip to content

Commit

Permalink
Merge branch 'main' into add-has-root
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Dec 31, 2023
2 parents ab61772 + 30b9ea5 commit 923a512
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rprojroot
Title: Finding Files in Project Subdirectories
Version: 2.0.4.9000
Version: 2.0.4.9001
Authors@R:
person(given = "Kirill",
family = "M\u00fcller",
Expand Down
11 changes: 11 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<!-- NEWS.md is maintained by https://fledge.cynkra.com, contributors should not edit this file -->

# rprojroot 2.0.4.9001 (2023-11-20)

## Bug fixes

- Fix example for `find_root()` (@salim-b, #98).

## Testing

- Replace mockr with `testthat::local_mocked_bindings()` (@salim-b, #97).


# rprojroot 2.0.4.9000 (2023-11-06)

- Merge branch 'cran-2.0.4'.
Expand Down
7 changes: 4 additions & 3 deletions R/root.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ print.root_criterion <- function(x, ...) {
#'
#' @examples
#' \dontrun{
#' find_root(has_file_pattern(pattern = glob2rx("DESCRIPTION"),
#' contents = "^Package: "))
#' }
#' find_root(has_file_pattern(
#' pattern = glob2rx("DESCRIPTION"),
#' contents = "^Package: ")
#' )}
#'
#' @seealso [utils::glob2rx()] [file.path()]
#'
Expand Down
7 changes: 4 additions & 3 deletions man/find_root.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 923a512

Please sign in to comment.