ccagc / QDNAseq

QDNAseq package for Bioconductor
47 stars 27 forks source link

Add importFrom("stats", "formula") #39

Closed HenrikBengtsson closed 8 years ago

HenrikBengtsson commented 8 years ago

R CMD check --as-cran gives:

checking R code for possible problems ... NOTE
estimateCorrection,QDNAseqReadCounts : calculateFits: no visible global
  function definition for 'formula'
Undefined global functions or variables:
  formula
Consider adding
  importFrom("stats", "formula")
to your NAMESPACE file.
HenrikBengtsson commented 8 years ago

My bad; this was for the Bioc release version of the package. With the Bioc devel version this is already fixed:

* checking for file ‘QDNAseq/DESCRIPTION’ ... OK
* this is package ‘QDNAseq’ version ‘1.9.1’
...
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
...