From 12e3558507cee5be3d75aa755a56fce5a2dbf803 Mon Sep 17 00:00:00 2001 From: hornik Date: Fri, 24 Jan 2025 16:25:40 +0000 Subject: [PATCH] Tweaks. git-svn-id: https://svn.r-project.org/R/trunk@87626 00db46b3-68df-0310-9c12-caf00c1e9a41 --- doc/manual/R-exts.texi | 5 +++-- src/library/tools/R/check.R | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/manual/R-exts.texi b/doc/manual/R-exts.texi index 78ba3961cd..9b49138c22 100644 --- a/doc/manual/R-exts.texi +++ b/doc/manual/R-exts.texi @@ -493,8 +493,9 @@ specification. The @samp{Author} and @samp{Maintainer} fields are auto-generated from it if needed when building@footnote{at least if this is done in a locale which matches the package encoding.} or installing. Note that for CRAN submissions, providing @samp{Authors@@R} is required, -and providing @abbr{ORCID} identifiers (see @url{https://orcid.org/}) -where possible is strongly encouraged. +and providing @abbr{ORCID} or @abbr{ROR} identifiers (see +@url{https://orcid.org/} and @url{https://ror.org/}) where possible is +strongly encouraged. @findex COPYRIGHTS @c DESCRIPTION field Copyright diff --git a/src/library/tools/R/check.R b/src/library/tools/R/check.R index 9be235bca1..04ad8cdbb5 100644 --- a/src/library/tools/R/check.R +++ b/src/library/tools/R/check.R @@ -1086,6 +1086,13 @@ add_dummies <- function(dir, Log) y[1L], fixed = TRUE) diff[1L] <- clean_up(y1) != yorig[1L] } + if(diff[1L] + && grepl(" ## ## Remove eventually.