Skip to content

Commit 0039b4c

Browse files
author
hornik
committed
Allow dropping submission-only results from CRAN incoming check results.
git-svn-id: https://svn.r-project.org/R/trunk@88179 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent bc883be commit 0039b4c

File tree

1 file changed

+18
-0
lines changed
  • src/library/tools/R

1 file changed

+18
-0
lines changed

src/library/tools/R/QC.R

+18
Original file line numberDiff line numberDiff line change
@@ -8239,6 +8239,24 @@ function(dir, localOnly = FALSE, pkgSize = NA)
82398239
}
82408240
}
82418241

8242+
## When running the incoming check code as part of the regular
8243+
## checks we need to drop the parts which are really specific for
8244+
## submission checks. (Of course, ideally we would have skipped
8245+
## them above.)
8246+
if(config_val_to_logical(Sys.getenv("_R_CHECK_CRAN_INCOMING_DROP_SUBMISSION_ONLY_",
8247+
"FALSE"))) {
8248+
out[c("descr_bad_initial",
8249+
"descr_bad_start",
8250+
"title_includes_name",
8251+
"title_case",
8252+
"extensions",
8253+
"pointers",
8254+
"fields",
8255+
"BUGS",
8256+
"version_with_leading_zeroes",
8257+
"version_with_large_components")] <- NULL
8258+
}
8259+
82428260
## Checks from here down require Internet access, so drop out now if we
82438261
## don't want that.
82448262
if (localOnly)

0 commit comments

Comments
 (0)