Back to Multiple platform build/check report for BioC 3.12
[A]BCDEFGHIJKLMNOPQRSTUVWXYZ

CHECK report for AlpsNMR on merida1

This page was generated on 2021-05-06 12:34:17 -0400 (Thu, 06 May 2021).

To the developers/maintainers of the AlpsNMR package:
Please make sure to use the following settings in order to reproduce any error or warning you see on this page.
Package 48/1974HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
AlpsNMR 3.0.6  (landing page)
Luis Fernandez
Snapshot Date: 2021-05-05 14:51:38 -0400 (Wed, 05 May 2021)
URL: https://git.bioconductor.org/packages/AlpsNMR
Branch: RELEASE_3_12
Last Commit: 18e74a2
Last Changed Date: 2021-03-31 09:21:04 -0400 (Wed, 31 Mar 2021)
malbec1Linux (Ubuntu 18.04.5 LTS) / x86_64  OK    OK    ERROR  
tokay1Windows Server 2012 R2 Standard / x64  OK    OK    ERROR    OK  
merida1macOS 10.14.6 Mojave / x86_64  OK    OK    ERROR    OK  

Summary

Package: AlpsNMR
Version: 3.0.6
Command: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:AlpsNMR.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings AlpsNMR_3.0.6.tar.gz
StartedAt: 2021-05-05 23:08:16 -0400 (Wed, 05 May 2021)
EndedAt: 2021-05-05 23:14:36 -0400 (Wed, 05 May 2021)
EllapsedTime: 380.1 seconds
RetCode: 1
Status:   ERROR  
CheckDir: AlpsNMR.Rcheck
Warnings: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:AlpsNMR.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings AlpsNMR_3.0.6.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/Users/biocbuild/bbs-3.12-bioc/meat/AlpsNMR.Rcheck’
* using R version 4.0.5 (2021-03-31)
* using platform: x86_64-apple-darwin17.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘AlpsNMR/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘AlpsNMR’ version ‘3.0.6’
* 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 for sufficient/correct file permissions ... 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 ... NOTE
Namespace in Imports field not imported from: ‘zip’
  All declared Imports should be used.
* 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 ... WARNING
Undocumented arguments in documentation object 'MUVR_model_plot'
  ‘MVObj’ ‘model’ ‘factCols’ ‘sampLabels’ ‘ylim’

Undocumented arguments in documentation object 'confusion_matrix'
  ‘MVObj’ ‘model’

Undocumented arguments in documentation object 'model_VIP'
  ‘model’

Undocumented arguments in documentation object 'rdCV_PLS_RF'
  ‘X’ ‘Y’ ‘ID’ ‘scale’ ‘nRep’ ‘nOuter’ ‘nInner’ ‘varRatio’ ‘DA’
  ‘fitness’ ‘method’ ‘nCompMax’ ‘methParam’ ‘ML’ ‘modReturn’ ‘logg’
  ‘parallel’

Undocumented arguments in documentation object 'rdCV_PLS_RF_ML'
  ‘scale’ ‘nRep’ ‘nOuter’ ‘nInner’ ‘varRatio’ ‘DA’ ‘fitness’ ‘method’
  ‘ML’ ‘modReturn’ ‘logg’ ‘parallel’

Functions with \usage entries need to have the appropriate \alias
entries, and all their arguments documented.
The \usage entries must correspond to syntactically valid R code.
See chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.
* 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 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: nmr_pca_plots
> ### Title: Plotting functions for PCA
> ### Aliases: nmr_pca_plots nmr_pca_plot_variance nmr_pca_scoreplot
> ###   nmr_pca_loadingplot
> 
> ### ** Examples
> 
> dir_to_demo_dataset <- system.file("dataset-demo", package = "AlpsNMR")
> dataset <- nmr_read_samples_dir(dir_to_demo_dataset)

Attaching package: ‘purrr’

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

    set_names

> dataset_1D <- nmr_interpolate_1D(dataset, axis = c(min = -0.5, max = 10, by = 2.3E-4))
> model <- nmr_pca_build_model(dataset_1D)
> nmr_pca_plot_variance(model)
> 
> dir_to_demo_dataset <- system.file("dataset-demo", package = "AlpsNMR")
> dataset <- nmr_read_samples_dir(dir_to_demo_dataset)
> dataset_1D <- nmr_interpolate_1D(dataset, axis = c(min = -0.5, max = 10, by = 2.3E-4))
> model <- nmr_pca_build_model(dataset_1D)
> nmr_pca_scoreplot(dataset_1D, model)
Error: Join columns must be present in data.
✖ Problem with `NMRExperiment`.
Backtrace:
    █
 1. ├─AlpsNMR::nmr_pca_scoreplot(dataset_1D, model)
 2. │ └─`%>%`(...)
 3. ├─dplyr::left_join(., nmr_metadata, by = "NMRExperiment")
 4. └─dplyr:::left_join.data.frame(., nmr_metadata, by = "NMRExperiment")
 5.   └─dplyr:::join_mutate(...)
 6.     └─dplyr:::join_cols(...)
 7.       └─dplyr:::standardise_join_by(by, x_names = x_names, y_names = y_names)
 8.         └─dplyr:::check_join_vars(by$x, x_names)
Execution halted
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘testthat.R’
 ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
  ✖ Problem with `NMRExperiment`.
  Backtrace:
      █
   1. ├─AlpsNMR::nmr_pca_scoreplot(dataset, pca_built) test-outliers.R:12:2
   2. │ └─`%>%`(...)
   3. ├─dplyr::left_join(., nmr_metadata, by = "NMRExperiment")
   4. └─dplyr:::left_join.data.frame(., nmr_metadata, by = "NMRExperiment")
   5.   └─dplyr:::join_mutate(...)
   6.     └─dplyr:::join_cols(...)
   7.       └─dplyr:::standardise_join_by(by, x_names = x_names, y_names = y_names)
   8.         └─dplyr:::check_join_vars(by$x, x_names)
  
  [ FAIL 1 | WARN 2 | SKIP 1 | PASS 73 ]
  Error: Test failures
  Execution halted
* 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: 2 ERRORs, 1 WARNING, 1 NOTE
See
  ‘/Users/biocbuild/bbs-3.12-bioc/meat/AlpsNMR.Rcheck/00check.log’
for details.


Installation output

AlpsNMR.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD INSTALL AlpsNMR
###
##############################################################################
##############################################################################


* installing to library ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library’
* installing *source* package ‘AlpsNMR’ ...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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.fail


R version 4.0.5 (2021-03-31) -- "Shake and Throw"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin17.0 (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: dplyr

Attaching package: 'dplyr'

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

    matches

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

Loading required package: future
Loading required package: magrittr

Attaching package: 'magrittr'

The following objects are masked from 'package:testthat':

    equals, is_less_than, not

> 
> test_check("AlpsNMR")
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On Bioconductor (1)

══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-outliers.R:12:3): nmr_pca_outliers_robust works ─────────────────
Error: Join columns must be present in data.
✖ Problem with `NMRExperiment`.
Backtrace:
    █
 1. ├─AlpsNMR::nmr_pca_scoreplot(dataset, pca_built) test-outliers.R:12:2
 2. │ └─`%>%`(...)
 3. ├─dplyr::left_join(., nmr_metadata, by = "NMRExperiment")
 4. └─dplyr:::left_join.data.frame(., nmr_metadata, by = "NMRExperiment")
 5.   └─dplyr:::join_mutate(...)
 6.     └─dplyr:::join_cols(...)
 7.       └─dplyr:::standardise_join_by(by, x_names = x_names, y_names = y_names)
 8.         └─dplyr:::check_join_vars(by$x, x_names)

[ FAIL 1 | WARN 2 | SKIP 1 | PASS 73 ]
Error: Test failures
Execution halted

Example timings

AlpsNMR.Rcheck/AlpsNMR-Ex.timings

nameusersystemelapsed
AUC_model0.0000.0000.001
AlpsNMR-package5.4570.2445.717
MUVR_model_plot0.0010.0000.000
Peak_detection40.009 0.90740.967
Pipelines0.0020.0010.003
SummarizedExperiment_to_nmr_data_1r1.4450.0751.523
SummarizedExperiment_to_nmr_dataset_peak_table1.2920.0851.425
bp_VIP_analysis2.5690.0582.636
bp_kfold_VIP_analysis 0.638 0.05242.488
confusion_matrix0.0000.0000.001
file_lister0.0750.0020.076
files_to_rDolphin0.0000.0000.001
filter.nmr_dataset_family1.0590.0711.132
format.nmr_dataset0.8870.0850.974
format.nmr_dataset_1D1.0180.0621.082
format.nmr_dataset_peak_table1.2690.0821.354
is.nmr_dataset0.9590.0761.039
is.nmr_dataset_1D1.0720.0681.142
is.nmr_dataset_peak_table1.1890.0861.322
load_and_save_functions0.8300.0590.891
model_VIP0.0000.0010.000
models_stability_plot_bootstrap0.0030.0010.004
models_stability_plot_plsda0.3920.0020.393
new_nmr_dataset0.0020.0010.003
new_nmr_dataset_1D0.0020.0000.002
new_nmr_dataset_peak_table1.1360.0711.209
nmr_baseline_removal1.4630.1791.645
nmr_baseline_threshold2.4440.1022.551
nmr_batman1.0970.0801.180
nmr_batman_options0.0000.0000.001
nmr_data1.0900.0731.167
nmr_data_1r_to_SummarizedExperiment1.3650.0951.470
nmr_data_analysis0.5710.0190.591
nmr_data_analysis_method0.1260.0430.185
nmr_dataset_peak_table_to_SummarizedExperiment1.4800.0871.569
nmr_exclude_region0.0080.0010.009
nmr_export_data_1r1.2100.0841.297
nmr_identify_regions_blood0.0270.0010.028
nmr_identify_regions_cell0.0170.0010.018
nmr_identify_regions_urine0.0240.0000.024
nmr_integrate_regions0.0110.0000.012
nmr_interpolate_1D2.5870.1562.748
nmr_meta_add2.5810.1672.756
nmr_meta_export0.9060.0670.975
nmr_meta_get0.9780.0801.084
nmr_meta_get_column1.0640.0901.166
nmr_normalize0.3660.0060.375
nmr_pca_build_model2.1320.1522.302
nmr_pca_outliers1.2020.0651.270
nmr_pca_outliers_filter1.2910.0961.391
nmr_pca_outliers_plot000
nmr_pca_outliers_robust11.164 0.11911.303