Skip to content

Commit b30c259

Browse files
author
hornik
committed
Tweaks for c88261.
git-svn-id: https://svn.r-project.org/R/trunk@88353 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent ef83ae8 commit b30c259

File tree

1 file changed

+1
-19
lines changed
  • src/library/tools/R

1 file changed

+1
-19
lines changed

src/library/tools/R/QC.R

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4186,11 +4186,6 @@ function(dfile, dir)
41864186
}
41874187
}
41884188

4189-
if(any(ind <- status$components %in% "ACM") &&
4190-
!(db["Package"] %in% c("akima", "tripack"))) {
4191-
status$ACM <- status$components[ind]
4192-
ok <- FALSE
4193-
}
41944189
## Could always return the analysis results and not print them
41954190
## if ok, but it seems more standard to only return trouble.
41964191
if(!ok)
@@ -4250,9 +4245,6 @@ function(x, ...)
42504245
if(length(y <- x$license_stub_fields_not_complete)) {
42514246
c(gettext("License stub records with missing/empty fields:",
42524247
paste0(" ", y)))
4253-
},
4254-
if(length(y <- x$ACM)) {
4255-
gettext("Uses ACM license: only appropriate for pre-2013 ACM TOMS code")
42564248
}
42574249
)
42584250
}
@@ -7549,7 +7541,7 @@ function(dir, localOnly = FALSE, pkgSize = NA)
75497541
out$fields <- nms
75507542

75517543

7552-
uses <- BUGS <- ACM <- character()
7544+
uses <- BUGS <- character()
75537545
for (field in c("Depends", "Imports", "Suggests")) {
75547546
p <- strsplit(meta[field], " *, *")[[1L]]
75557547
## multicore has been superseded by parallel. Almost all of
@@ -7573,15 +7565,11 @@ function(dir, localOnly = FALSE, pkgSize = NA)
75737565
p2 <- grep("^(BRugs|R2OpenBUGS|mzR|xcms|MSnbase)( |\\(|$)",
75747566
p, value = TRUE)
75757567
BUGS <- c(BUGS, p2)
7576-
p2 <- grep("^(Akima|tripack)( |\\(|$)", p, value = TRUE)
7577-
ACM <- c(ACM, p2)
75787568
}
75797569
if (length(uses))
75807570
out$uses <- sort(unique(gsub("[[:space:]]+", " ", uses)))
75817571
if (length(BUGS)) ## and other non-portable packages
75827572
out$BUGS <- sort(unique(gsub("[[:space:]]+", " ", BUGS)))
7583-
if (length(ACM))
7584-
out$ACM <- sort(unique(gsub("[[:space:]]+", " ", ACM)))
75857573

75867574
## Check for non-Sweave vignettes (as indicated by the presence of a
75877575
## 'VignetteBuilder' field in DESCRIPTION) without
@@ -8837,12 +8825,6 @@ function(x, ...)
88378825
"Uses the non-portable package:",
88388826
paste(sQuote(y), collapse = ", "))
88398827
},
8840-
if(length(y <- x$ACM)) {
8841-
paste(if(length(y) > 1L)
8842-
"Uses the ACM-licensed packages:" else
8843-
"Uses the ACM-licensed package:",
8844-
paste(sQuote(y), collapse = ", "))
8845-
},
88468828
if(length(y <- x$authors_at_R_calls)) {
88478829
"Authors@R field should be a call to person(), or combine such calls."
88488830
},

0 commit comments

Comments
 (0)