Yikun / BBS

The Bioconductor Build System
0 stars 0 forks source link

mait.build #45

Closed Yikun closed 1 year ago

Yikun commented 1 year ago
##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/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 ... ERROR
--- re-building ‘MAIT_Vignette.Rnw’ using Sweave
Loading required package: CAMERA
Loading required package: Biobase
Loading required package: BiocGenerics

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:stats’:

    IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:

    Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
    tapply, union, unique, unsplit, which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Loading required package: xcms
Loading required package: BiocParallel
Loading required package: MSnbase
Loading required package: mzR
Loading required package: Rcpp
Loading required package: S4Vectors
Loading required package: stats4

Attaching package: ‘S4Vectors’

The following objects are masked from ‘package:base’:

    I, expand.grid, unname

Loading required package: ProtGenerics

Attaching package: ‘ProtGenerics’

The following object is masked from ‘package:stats’:

    smooth

This is MSnbase version 2.25.2 
  Visit https://lgatto.github.io/MSnbase/ to get started.

Attaching package: ‘MSnbase’

The following object is masked from ‘package:base’:

    trimws

This is xcms version 3.21.2 

Attaching package: ‘xcms’

The following object is masked from ‘package:stats’:

    sigma

Loading required package: pls

Attaching package: ‘pls’

The following object is masked from ‘package:stats’:

    loadings

Attaching package: ‘MAIT’

The following objects are masked from ‘package:pls’:

    loadings, scores

The following object is masked from ‘package:mzR’:

    model

The following object is masked from ‘package:BiocGenerics’:

    plotPCA

The following object is masked from ‘package:stats’:

    loadings

Error: processing vignette 'MAIT_Vignette.Rnw' failed with diagnostics:
 chunk 2 (label = sampleProcessing) 
Error in library(faahKO) : there is no package called ‘faahKO’

--- failed re-building ‘MAIT_Vignette.Rnw’

SUMMARY: processing the following file failed:
  ‘MAIT_Vignette.Rnw’

Error: Vignette re-building failed.
Execution halted
martin-g commented 1 year ago

Same issue as https://github.com/Yikun/BBS/issues/32

martin-g commented 1 year ago
$ 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!

martin-g commented 1 year ago

https://bioconductor.org/checkResults/3.18/bioc-LATEST/MAIT/ is fully green!