Skip to content

Commit

Permalink
QC hotfix for c87095.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@87101 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
hornik committed Sep 6, 2024
1 parent cf32314 commit db52942
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/library/tools/R/check.R
Original file line number Diff line number Diff line change
Expand Up @@ -1071,12 +1071,22 @@ add_dummies <- function(dir, Log)
y <- sapply(y, clean_up)
diff <- y != yorig
## <FIXME>
## Quick fix for consequences of c87095.
if(diff[1L]
&& grepl("<https://orcid.org/", y[1L], fixed = TRUE)) {
y1 <- sub("ORCID: <https://orcid.org/",
"<https://orcid.org/",
y[1L], fixed = TRUE)
diff[1L] <- clean_up(y1) != yorig[1L]
}
## </FIXME>
## <FIXME>
## Remove eventually.
if(diff[1L]
&& grepl("https://orcid.org/", y[1L], fixed = TRUE)) {
## Argh. Might be from using the new ORCID id
## mechanism but having built with R < 3.5.0.
## Let's ignore ...
## Remove eventually.
aar$comment <- lapply(aar$comment, unname)
y1 <- utils:::.format_authors_at_R_field_for_author(aar)
diff[1L] <- clean_up(y1) != yorig[1L]
Expand Down

0 comments on commit db52942

Please sign in to comment.