Closed Yikun closed 1 year ago
Same issue as https://github.com/Yikun/BBS/issues/32
$ git clone https://git.bioconductor.org/packages/MAIT
Cloning into 'MAIT'...
remote: Enumerating objects: 342, done.
remote: Counting objects: 100% (342/342), done.
remote: Compressing objects: 100% (342/342), done.
remote: Total 342 (delta 195), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (342/342), 2.18 MiB | 1.78 MiB/s, done.
Resolving deltas: 100% (195/195), done.
$ ~/bbs-3.17-bioc/R/bin/R CMD build --keep-empty-dirs --no-resave-data MAIT
* checking for file ‘MAIT/DESCRIPTION’ ... OK
* preparing ‘MAIT’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* looking to see if a ‘data/datalist’ file should be added
* building ‘MAIT_1.33.0.tar.gz’
$ ~/bbs-3.17-bioc/R/bin/R CMD check MAIT_1.33.0.tar.gz
* using log directory ‘/home/biocbuild/git/MAIT.Rcheck’
* using R Under development (unstable) (2023-01-14 r83615)
* using platform: aarch64-unknown-linux-gnu (64-bit)
* R was compiled by
gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
GNU Fortran (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
* running under: Ubuntu 22.04.2 LTS
* using session charset: UTF-8
* checking for file ‘MAIT/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘MAIT’ version ‘1.33.0’
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘MAIT’ can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... NOTE
'library' or 'require' call to ‘rgl’ in package code.
Please use :: or requireNamespace() instead.
See section 'Suggested packages' in the 'Writing R Extensions' manual.
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
Biotransformations: no visible global function definition for ‘data’
Biotransformations: no visible binding for global variable ‘MAITtables’
Biotransformations: no visible global function definition for
‘read.csv’
Biotransformations: no visible global function definition for
‘read.csv2’
PLSDA: no visible global function definition for ‘predict’
Validation: no visible global function definition for ‘predict’
Validation: no visible global function definition for ‘sd’
Validation: no visible global function definition for ‘rainbow’
Validation: no visible global function definition for ‘png’
Validation: no visible global function definition for ‘boxplot’
Validation: no visible global function definition for ‘legend’
Validation: no visible global function definition for ‘title’
Validation: no visible global function definition for ‘dev.off’
Validation: no visible binding for global variable ‘sd’
computeSpectra: no visible global function definition for ‘cor’
identifyMetabolites: no visible global function definition for ‘data’
identifyMetabolites: no visible binding for global variable
‘MAITtables’
identifyMetabolites: no visible global function definition for
‘read.csv’
identifyMetabolites: no visible global function definition for
‘write.table’
metaboliteTable: no visible global function definition for
‘write.table’
peakAggregation: no visible global function definition for
‘write.table’
peakAnnotation: no visible global function definition for ‘data’
peakAnnotation: no visible binding for global variable ‘MAITtables’
peakAnnotation: no visible global function definition for ‘read.csv2’
plotBoxplot: no visible global function definition for ‘png’
plotBoxplot: no visible global function definition for ‘boxplot’
plotBoxplot: no visible global function definition for ‘title’
plotBoxplot: no visible global function definition for ‘dev.off’
plotHeatmap: no visible global function definition for ‘p.adjust’
plotHeatmap : distCor: no visible global function definition for
‘as.dist’
plotHeatmap : distCor: no visible global function definition for ‘cor’
plotHeatmap : hclustWard: no visible global function definition for
‘hclust’
plotHeatmap: no visible global function definition for
‘colorRampPalette’
plotHeatmap: no visible global function definition for ‘png’
plotHeatmap: no visible global function definition for ‘legend’
plotHeatmap: no visible global function definition for ‘dev.off’
plotPCA: no visible global function definition for ‘prcomp’
plotPCA: no visible global function definition for ‘png’
plotPCA: no visible global function definition for ‘legend’
plotPCA: no visible global function definition for ‘dev.off’
plotPLS: no visible global function definition for ‘png’
plotPLS: no visible global function definition for ‘legend’
plotPLS: no visible global function definition for ‘dev.off’
sigPeaksTable: no visible global function definition for ‘p.adjust’
sigPeaksTable: no visible global function definition for ‘aggregate’
sigPeaksTable: no visible binding for global variable ‘median’
sigPeaksTable: no visible global function definition for ‘write.csv’
spectralAnova: no visible global function definition for ‘lm’
spectralAnova: no visible global function definition for ‘anova’
spectralAnova: no visible global function definition for ‘p.adjust’
spectralFUN: no visible global function definition for ‘p.adjust’
spectralKruskal: no visible global function definition for
‘kruskal.test’
spectralKruskal: no visible global function definition for ‘p.adjust’
spectralTStudent: no visible global function definition for ‘lm’
spectralTStudent: no visible global function definition for ‘t.test’
spectralTStudent: no visible global function definition for ‘p.adjust’
spectralWelch: no visible global function definition for ‘lm’
spectralWelch: no visible global function definition for ‘t.test’
spectralWelch: no visible global function definition for ‘p.adjust’
spectralWilcox: no visible global function definition for ‘lm’
spectralWilcox: no visible global function definition for ‘wilcox.test’
spectralWilcox: no visible global function definition for ‘p.adjust’
writeExcelTable: no visible global function definition for ‘write.csv’
writeParameterTable: no visible global function definition for
‘write.csv’
Undefined global functions or variables:
MAITtables aggregate anova as.dist boxplot colorRampPalette cor data
dev.off hclust kruskal.test legend lm median p.adjust png prcomp
predict rainbow read.csv read.csv2 sd t.test title wilcox.test
write.csv write.table
Consider adding
importFrom("grDevices", "colorRampPalette", "dev.off", "png",
"rainbow")
importFrom("graphics", "boxplot", "legend", "title")
importFrom("stats", "aggregate", "anova", "as.dist", "cor", "hclust",
"kruskal.test", "lm", "median", "p.adjust", "prcomp",
"predict", "sd", "t.test", "wilcox.test")
importFrom("utils", "data", "read.csv", "read.csv2", "write.csv",
"write.table")
to your NAMESPACE file.
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking contents of ‘data’ directory ... OK
* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ...
‘MAIT_Vignette.Rnw’... OK
OK
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE
Status: 2 NOTEs
See
‘/home/biocbuild/git/MAIT.Rcheck/00check.log’
for details.
All looks good when executed manually. Let's see what the next build report will say!
https://bioconductor.org/checkResults/3.18/bioc-LATEST/MAIT/ is fully green!