Skip to content

Commit

Permalink
remove workaround for c58008 fallout
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@58391 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
ripley committed Feb 18, 2012
1 parent bc4daf8 commit e567c59
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/library/tools/R/check.R
Expand Up @@ -2585,11 +2585,6 @@ setRlibs <- function(lib0 = "", pkgdir = ".", suggests = FALSE,
lines <- grep("Warning: replacing previous import", lines,
fixed = TRUE, invert = TRUE, value = TRUE)

## Pro tem skip warnings from c58008 fallout unless
## they apply to this package.
spurious <- grepl("Warning: Functions for exporting methods must have been made generic", lines) & !grepl(pkgname, lines)
lines <- lines[!spurious]

if (length(lines)) {
lines <- unique(lines)
warningLog(Log, "Found the following significant warnings:")
Expand Down

0 comments on commit e567c59

Please sign in to comment.