Back to Build/check report for BioC 3.17
[A]BCDEFGHIJKLMNOPQRSTUVWXYZ

This page was generated on 2023-01-02 09:00:18 -0500 (Mon, 02 Jan 2023).

HostnameOSArch (*)R versionInstalled pkgs
palomino5Windows Server 2022 Datacenterx64R Under development (unstable) (2022-12-25 r83502 ucrt) -- "Unsuffered Consequences" 4165
Click on any hostname to see more info about the system (e.g. compilers)      (*) as reported by 'uname -p', except on Windows and Mac OS X

CHECK results for AlpsNMR on palomino5


To the developers/maintainers of the AlpsNMR package:
Make sure to use the following settings in order to reproduce any error or warning you see on this page.

raw results

Package 42/2158HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
AlpsNMR 4.1.4  (landing page)
Sergio Oller Moreno
Snapshot Date: 2022-12-28 11:00:06 -0500 (Wed, 28 Dec 2022)
git_url: https://git.bioconductor.org/packages/AlpsNMR
git_branch: master
git_last_commit: c9167bc
git_last_commit_date: 2022-11-10 03:59:05 -0500 (Thu, 10 Nov 2022)
palomino5Windows Server 2022 Datacenter / x64  OK    OK    ERROR    OK  

Summary

Package: AlpsNMR
Version: 4.1.4
Command: F:\biocbuild\bbs-3.17-bioc\R\bin\R.exe CMD check --no-multiarch --install=check:AlpsNMR.install-out.txt --library=F:\biocbuild\bbs-3.17-bioc\R\library --no-vignettes --timings AlpsNMR_4.1.4.tar.gz
StartedAt: 2022-12-28 21:30:28 -0500 (Wed, 28 Dec 2022)
EndedAt: 2022-12-28 21:33:58 -0500 (Wed, 28 Dec 2022)
EllapsedTime: 210.1 seconds
RetCode: 1
Status:   ERROR  
CheckDir: AlpsNMR.Rcheck
Warnings: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   F:\biocbuild\bbs-3.17-bioc\R\bin\R.exe CMD check --no-multiarch --install=check:AlpsNMR.install-out.txt --library=F:\biocbuild\bbs-3.17-bioc\R\library --no-vignettes --timings AlpsNMR_4.1.4.tar.gz
###
##############################################################################
##############################################################################


* using log directory 'F:/biocbuild/bbs-3.17-bioc-rtools43/meat/AlpsNMR.Rcheck'
* using R Under development (unstable) (2022-12-25 r83502 ucrt)
* using platform: x86_64-w64-mingw32 (64-bit)
* R was compiled by
    gcc.exe (GCC) 10.4.0
    GNU Fortran (GCC) 10.4.0
* running under: Windows Server x64 (build 20348)
* using session charset: UTF-8
* using option '--no-vignettes'
* checking for file 'AlpsNMR/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'AlpsNMR' version '4.1.4'
* package encoding: UTF-8
* 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 hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'AlpsNMR' 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 ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* 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 sizes of PDF files under 'inst/doc' ... OK
* checking files in 'vignettes' ... OK
* checking examples ... ERROR
Running examples in 'AlpsNMR-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bp_kfold_VIP_analysis
> ### Title: K-fold bootstrap and permutation over PLS-VIP
> ### Aliases: bp_kfold_VIP_analysis
> 
> ### ** Examples
> 
> # Data analysis for a table of integrated peaks
> set.seed(42)
> ## Generate an artificial nmr_dataset_peak_table:
> ### Generate artificial metadata:
> num_samples <- 64 # use an even number in this example
> num_peaks <- 10
> metadata <- data.frame(
+     NMRExperiment = as.character(1:num_samples),
+     Condition = sample(rep(c("A", "B"), times = num_samples / 2), num_samples)
+ )
> 
> ### The matrix with peaks
> peak_means <- runif(n = num_peaks, min = 300, max = 600)
> peak_sd <- runif(n = num_peaks, min = 30, max = 60)
> peak_matrix <- mapply(function(mu, sd) rnorm(num_samples, mu, sd),
+     mu = peak_means, sd = peak_sd
+ )
> colnames(peak_matrix) <- paste0("Peak", 1:num_peaks)
> rownames(peak_matrix) <- paste0("Sample", 1:num_samples)
> 
> ## Artificial differences depending on the condition:
> peak_matrix[metadata$Condition == "A", "Peak2"] <-
+     peak_matrix[metadata$Condition == "A", "Peak2"] + 70
> 
> peak_matrix[metadata$Condition == "A", "Peak6"] <-
+     peak_matrix[metadata$Condition == "A", "Peak6"] - 60
> 
> ### The nmr_dataset_peak_table
> peak_table <- new_nmr_dataset_peak_table(
+     peak_table = peak_matrix,
+     metadata = list(external = metadata)
+ )
> 
> ## We will use bootstrap and permutation method for VIPs selection
> ## in a a k-fold cross validation
> bp_results <- bp_kfold_VIP_analysis(peak_table, # Data to be analized
+     y_column = "Condition", # Label
+     k = 2,
+     nbootstrap = 5
+ )
Warning in perf.mixo_plsda(model, newdata = x_test) :
  Values in '$choice.ncomp' will reflect component count with the minimum error rate rather than the best based on a one-way t.test
Warning in perf.mixo_plsda(model, newdata = x_test) :
  Values in '$choice.ncomp' will reflect component count with the minimum error rate rather than the best based on a one-way t.test

Warning in perf.mixo_plsda(model, newdata = x_test) :
  Values in '$choice.ncomp' will reflect component count with the minimum error rate rather than the best based on a one-way t.test
Warning in perf.mixo_plsda(model, newdata = x_test) :
  Values in '$choice.ncomp' will reflect component count with the minimum error rate rather than the best based on a one-way t.test

Error: BiocParallel errors
  1 remote errors, element index: 2
  1 unevaluated and other errors
  first remote error:
Error in ncomp_opt[measure, ijk] <- which(t(rowMeans(mat.error.rate[[measure_i]][[ijk]])) == : number of items to replace is not a multiple of replacement length
Execution halted
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
  Running 'testthat.R'
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

Status: 1 ERROR
See
  'F:/biocbuild/bbs-3.17-bioc-rtools43/meat/AlpsNMR.Rcheck/00check.log'
for details.


Installation output

AlpsNMR.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   F:\biocbuild\bbs-3.17-bioc\R\bin\R.exe CMD INSTALL AlpsNMR
###
##############################################################################
##############################################################################


* installing to library 'F:/biocbuild/bbs-3.17-bioc/R/library'
* installing *source* package 'AlpsNMR' ...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (AlpsNMR)

Tests output

AlpsNMR.Rcheck/tests/testthat.Rout


R Under development (unstable) (2022-12-25 r83502 ucrt) -- "Unsuffered Consequences"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(testthat)
> library(AlpsNMR)
Loading required package: future

Attaching package: 'AlpsNMR'

The following object is masked from 'package:stats':

    filter

> 
> test_check("AlpsNMR")
[ FAIL 0 | WARN 3 | SKIP 1 | PASS 91 ]

══ Skipped tests ═══════════════════════════════════════════════════════════════
• On Bioconductor (1)

[ FAIL 0 | WARN 3 | SKIP 1 | PASS 91 ]
> 
> proc.time()
   user  system elapsed 
  23.25    1.78   60.65 

Example timings

AlpsNMR.Rcheck/AlpsNMR-Ex.timings

nameusersystemelapsed
AlpsNMR-package2.770.175.78
HMDB_blood0.010.000.02
HMDB_cell000
HMDB_urine000
Parameters_blood000
Parameters_cell0.000.020.02
Parameters_urine000
Peak_detection 3.83 0.1921.03
Pipelines000
ROI_blood0.010.000.01
ROI_cell000
ROI_urine000
SummarizedExperiment_to_nmr_data_1r5.790.319.02
SummarizedExperiment_to_nmr_dataset_peak_table2.590.306.38
bp_VIP_analysis 1.59 0.0310.31