Skip to content

Commit

Permalink
Tweaks.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@87067 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
hornik committed Aug 28, 2024
1 parent 39ff736 commit b5d27a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/library/tools/R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -2098,8 +2098,9 @@ function(file, encoding = NA, keep.source = getOption("keep.source"))

### ** .persons_from_metadata

.persons_from_metadata <- function(dir) {
meta <- .get_package_metadata(dir)
.persons_from_metadata <- function(dir, meta = NULL) {
if(is.null(meta))
meta <- .get_package_metadata(dir)
if(!is.na(aar <- meta["Authors@R"])) {
aar <- tryCatch(utils:::.read_authors_at_R_field(aar),
error = identity)
Expand Down

0 comments on commit b5d27a3

Please sign in to comment.