Back to Mac ARM64 build report for BioC 3.18
AB[C]DEFGHIJKLMNOPQRSTUVWXYZ

This page was generated on 2024-04-18 11:32:08 -0400 (Thu, 18 Apr 2024).

HostnameOSArch (*)R versionInstalled pkgs
kjohnson1macOS 13.6.1 Venturaarm644.3.3 (2024-02-29) -- "Angel Food Cake" 4388
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

Package 344/2266HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
ChromSCape 1.12.0  (landing page)
Pacome Prompsy
Snapshot Date: 2024-04-16 09:00:03 -0400 (Tue, 16 Apr 2024)
git_url: https://git.bioconductor.org/packages/ChromSCape
git_branch: RELEASE_3_18
git_last_commit: 8311c30
git_last_commit_date: 2023-10-24 11:26:16 -0400 (Tue, 24 Oct 2023)
kjohnson1macOS 13.6.1 Ventura / arm64  OK    OK    ERROR    OK  

CHECK results for ChromSCape on kjohnson1


To the developers/maintainers of the ChromSCape package:
- Use the following Renviron settings to reproduce errors and warnings.
- If 'R CMD check' started to fail recently on the Linux builder(s) over a missing dependency, add the missing dependency to 'Suggests:' in your DESCRIPTION file. See Renviron.bioc for more information.

raw results


Summary

Package: ChromSCape
Version: 1.12.0
Command: /Library/Frameworks/R.framework/Resources/bin/R CMD check --install=check:ChromSCape.install-out.txt --library=/Library/Frameworks/R.framework/Resources/library --no-vignettes --timings ChromSCape_1.12.0.tar.gz
StartedAt: 2024-04-17 08:58:57 -0400 (Wed, 17 Apr 2024)
EndedAt: 2024-04-17 09:12:52 -0400 (Wed, 17 Apr 2024)
EllapsedTime: 835.3 seconds
RetCode: 1
Status:   ERROR  
CheckDir: ChromSCape.Rcheck
Warnings: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Resources/bin/R CMD check --install=check:ChromSCape.install-out.txt --library=/Library/Frameworks/R.framework/Resources/library --no-vignettes --timings ChromSCape_1.12.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/Users/biocbuild/bbs-3.18-bioc-mac-arm64/meat/ChromSCape.Rcheck’
* using R version 4.3.3 (2024-02-29)
* using platform: aarch64-apple-darwin20 (64-bit)
* R was compiled by
    Apple clang version 14.0.0 (clang-1400.0.29.202)
    GNU Fortran (GCC) 12.2.0
* running under: macOS Ventura 13.6.1
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘ChromSCape/DESCRIPTION’ ... OK
* this is package ‘ChromSCape’ version ‘1.12.0’
* 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 ... NOTE
Found the following hidden files and directories:
  .BBSoptions
These were most likely included in error. See section ‘Package
structure’ in the ‘Writing R Extensions’ manual.
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘ChromSCape’ can be installed ... OK
* used C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.0.40.1)’
* used SDK: ‘MacOSX11.3.sdk’
* 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 startup messages can be suppressed ... OK
* checking dependencies in R code ... WARNING
'library' or 'require' call not declared from: ‘dplyr’
'library' or 'require' call to ‘dplyr’ 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
bams_to_matrix_indexes: no visible binding for global variable
  ‘files_dir_list’
enrich_TF_ChEA3_genes: no visible binding for global variable
  ‘CheA3_TF_nTargets’
filter_correlated_cell_scExp: no visible binding for global variable
  ‘run_tsne’
generate_analysis: no visible global function definition for ‘head’
generate_analysis: no visible binding for global variable ‘k’
generate_analysis: no visible binding for global variable
  ‘clusterConsensus’
get_most_variable_cyto: no visible binding for global variable
  ‘cytoBand’
get_most_variable_cyto: no visible binding for global variable
  ‘Fri_cyto’
num_cell_after_QC_filt_scExp: no visible binding for global variable
  ‘sample_id’
num_cell_after_QC_filt_scExp: no visible binding for global variable
  ‘total_counts’
num_cell_scExp: no visible binding for global variable ‘sample_id’
num_cell_scExp: no visible binding for global variable ‘total_counts’
plot_correlation_PCA_scExp: no visible binding for global variable
  ‘Component’
plot_coverage_BigWig: no visible binding for global variable ‘molecule’
plot_coverage_BigWig: no visible binding for global variable
  ‘orientation’
plot_coverage_BigWig: no visible binding for global variable ‘Gene’
plot_gain_or_loss_barplots: no visible binding for global variable
  ‘Gain_or_Loss’
plot_gain_or_loss_barplots: no visible binding for global variable
  ‘ncells’
plot_gain_or_loss_barplots: no visible binding for global variable
  ‘cytoBand’
plot_most_contributing_features: no visible binding for global variable
  ‘genes’
plot_percent_active_feature_scExp: no visible binding for global
  variable ‘group’
plot_percent_active_feature_scExp: no visible binding for global
  variable ‘percent_active’
plot_pie_most_contributing_chr: no visible binding for global variable
  ‘absolute_value’
plot_reduced_dim_scExp: no visible binding for global variable ‘V1’
plot_reduced_dim_scExp: no visible binding for global variable ‘V2’
plot_reduced_dim_scExp: no visible binding for global variable
  ‘cluster’
plot_top_TF_scExp: no visible binding for global variable ‘TF’
rebin_helper: no visible binding for global variable ‘new_row’
rebin_helper: no visible binding for global variable ‘origin_value’
rebin_matrix: no visible binding for global variable ‘group’
subset_bam_call_peaks: no visible binding for global variable
  ‘merged_bam’
Undefined global functions or variables:
  CheA3_TF_nTargets Component Fri_cyto Gain_or_Loss Gene TF V1 V2
  absolute_value cluster clusterConsensus cytoBand files_dir_list genes
  group head k merged_bam molecule ncells new_row orientation
  origin_value percent_active run_tsne sample_id total_counts
Consider adding
  importFrom("utils", "head")
to your NAMESPACE file.
* checking Rd files ... NOTE
prepare_Rd: raw_counts_to_sparse_matrix.Rd:6-8: Dropping empty section \source
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... WARNING
Codoc mismatches from documentation object 'generate_analysis':
generate_analysis
  Code: function(input_data_folder, analysis_name = "Analysis_1",
                 output_directory = "./", input_data_type = c("scBED",
                 "DenseMatrix", "SparseMatrix", "scBAM")[1],
                 feature_count_on = c("bins", "genebody", "peaks")[1],
                 feature_count_parameter = 50000, rebin_sparse_matrix =
                 FALSE, ref_genome = c("hg38", "mm10")[1], run =
                 c("filter", "CNA", "cluster", "consensus", "coverage",
                 "DA", "GSA", "report")[c(1, 3, 5, 6, 7, 8)],
                 min_reads_per_cell = 1000, max_quantile_read_per_cell
                 = 99, n_top_features = 40000, norm_type = "CPM",
                 subsample_n = NULL, exclude_regions = NULL, n_clust =
                 NULL, corr_threshold = 99, percent_correlation = 1,
                 maxK = 10, qval.th = 0.1, logFC.th = 1,
                 enrichment_qval = 0.1, doBatchCorr = FALSE, batch_sels
                 = NULL, control_samples_CNA = NULL, genes_to_plot =
                 c("Krt8", "Krt5", "Tgfb1", "Foxq1", "Cdkn2b",
                 "Cdkn2a", "chr7:15000000-20000000"))
  Docs: function(input_data_folder, analysis_name = "Analysis_1",
                 output_directory = "./", input_data_type = c("scBED",
                 "DenseMatrix", "SparseMatrix", "scBAM")[1],
                 rebin_sparse_matrix = FALSE, feature_count_on =
                 c("bins", "genebody", "peaks")[1],
                 feature_count_parameter = 50000, ref_genome =
                 c("hg38", "mm10")[1], run = c("filter", "CNA",
                 "cluster", "consensus", "peak_call", "coverage", "DA",
                 "GSA", "report")[c(1, 3, 6, 7, 8, 9)],
                 min_reads_per_cell = 1000, max_quantile_read_per_cell
                 = 99, n_top_features = 40000, norm_type = "CPM",
                 subsample_n = NULL, exclude_regions = NULL, n_clust =
                 NULL, corr_threshold = 99, percent_correlation = 1,
                 maxK = 10, qval.th = 0.1, logFC.th = 1,
                 enrichment_qval = 0.1, doBatchCorr = FALSE, batch_sels
                 = NULL, control_samples_CNA = NULL, genes_to_plot =
                 c("Krt8", "Krt5", "Tgfb1", "Foxq1", "Cdkn2b",
                 "Cdkn2a", "chr7:15000000-20000000"))
  Mismatches in argument names:
    Position: 5 Code: feature_count_on Docs: rebin_sparse_matrix
    Position: 6 Code: feature_count_parameter Docs: feature_count_on
    Position: 7 Code: rebin_sparse_matrix Docs: feature_count_parameter
  Mismatches in argument default values:
    Name: 'run'
    Code: c("filter", "CNA", "cluster", "consensus", "coverage", "DA", 
          "GSA", "report")[c(1, 3, 5, 6, 7, 8)]
    Docs: c("filter", "CNA", "cluster", "consensus", "peak_call", "coverage", 
          "DA", "GSA", "report")[c(1, 3, 6, 7, 8, 9)]

* checking Rd \usage sections ... WARNING
Undocumented arguments in documentation object 'rebin_matrix'
  ‘rebin_function’

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 line endings in C/C++/Fortran sources/headers ... OK
* checking compiled code ... NOTE
Note: information on .o files is not available
* checking files in ‘vignettes’ ... OK
* checking examples ... ERROR
Running examples in ‘ChromSCape-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: preprocessing_filtering_and_reduction
> ### Title: Preprocess and filter matrix annotation data project folder to
> ###   SCE
> ### Aliases: preprocessing_filtering_and_reduction
> 
> ### ** Examples
> 
> raw <- create_scDataset_raw()
> scExp = preprocessing_filtering_and_reduction(raw$mat, raw$annot)
ChromSCape::create_scExp - the matrix has 300 cells and 600 features.
ChromSCape::filter_scExp - 285 cells pass the  threshold of 1600 minimum reads and are lower than the 95th centile of library size ~= 14600 reads.
ChromSCape::filter_scExp - 600 features pass the threshold of 10 count per feature.
ChromScape::find_top_features - 600 features kept as  most covered features...
ChromSCape::feature_annotation_scExp - Selecting hg38 genes from Gencode.
[1] "Running Dimensionality Reduction..."
Error in irlba::irlba(x, center = x.means, nv = n_comp, work = work) : 
  function 'as_cholmod_sparse' not provided by package 'Matrix'
Calls: preprocessing_filtering_and_reduction ... reduce_dims_scExp -> pca_irlba_for_sparseMatrix -> <Anonymous>
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:
  > test_check("ChromSCape")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 4 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_default_run.R:22:1'): Sparse matrices ──────────────────────────
  Error in `irlba::irlba(x, center = x.means, nv = n_comp, work = work)`: function 'as_cholmod_sparse' not provided by package 'Matrix'
  Backtrace:
      ▆
   1. └─ChromSCape::reduce_dims_scExp(scExp, n = 50, batch_correction = FALSE) at test_default_run.R:22:1
   2.   └─ChromSCape:::pca_irlba_for_sparseMatrix(Matrix::t(mat), n)
   3.     └─irlba::irlba(x, center = x.means, nv = n_comp, work = work)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 4 ]
  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, 3 WARNINGs, 4 NOTEs
See
  ‘/Users/biocbuild/bbs-3.18-bioc-mac-arm64/meat/ChromSCape.Rcheck/00check.log’
for details.


Installation output

ChromSCape.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL ChromSCape
###
##############################################################################
##############################################################################


* installing to library ‘/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library’
* installing *source* package ‘ChromSCape’ ...
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.0.40.1)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c as_dist.cpp -o as_dist.o
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o ChromSCape.so RcppExports.o as_dist.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/00LOCK-ChromSCape/00new/ChromSCape/libs
** 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
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (ChromSCape)

Tests output

ChromSCape.Rcheck/tests/testthat.Rout.fail


R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20 (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(ChromSCape)
> 
> test_check("ChromSCape")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 4 ]

══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_default_run.R:22:1'): Sparse matrices ──────────────────────────
Error in `irlba::irlba(x, center = x.means, nv = n_comp, work = work)`: function 'as_cholmod_sparse' not provided by package 'Matrix'
Backtrace:
    ▆
 1. └─ChromSCape::reduce_dims_scExp(scExp, n = 50, batch_correction = FALSE) at test_default_run.R:22:1
 2.   └─ChromSCape:::pca_irlba_for_sparseMatrix(Matrix::t(mat), n)
 3.     └─irlba::irlba(x, center = x.means, nv = n_comp, work = work)

[ FAIL 1 | WARN 0 | SKIP 0 | PASS 4 ]
Error: Test failures
Execution halted

Example timings

ChromSCape.Rcheck/ChromSCape-Ex.timings

nameusersystemelapsed
CheA3_TF_nTargets0.0120.0030.016
CompareWilcox7.2310.6587.410
CompareedgeRGLM6.1360.9307.160
annotToCol21.1210.0351.172
calculate_CNA24.406 1.34225.875
calculate_cyto_mat23.236 0.74624.169
calculate_gain_or_loss23.297 0.58024.148
calculate_logRatio_CNA24.024 0.73025.062
choose_cluster_scExp3.9510.6344.661
colors_scExp0.4260.0180.445
consensus_clustering_scExp3.4700.9854.573
correlation_and_hierarchical_clust_scExp0.4340.0100.456
create_project_folder0.0020.0020.004
create_scDataset_raw 9.647 0.94410.747
create_scExp1.8870.1022.014
define_feature0.2060.0210.230
detect_samples1.5890.0211.623
differential_activation6.0370.0816.164
differential_analysis_scExp3.1350.0273.200
enrich_TF_ChEA3_genes0.4970.1322.412
enrich_TF_ChEA3_scExp1.0200.0945.390
exclude_features_scExp0.7110.0190.739
feature_annotation_scExp2.0200.0892.135
filter_correlated_cell_scExp12.809 0.49113.465
filter_scExp0.8600.0410.911
find_clusters_louvain_scExp0.5320.2020.647
find_top_features0.4840.0470.536
gene_set_enrichment_analysis_scExp0.3360.0130.352
generate_analysis0.0000.0010.001
generate_coverage_tracks0.0010.0000.001
generate_report000
getExperimentNames0.3710.0230.396
getMainExperiment0.4300.0240.457
get_cyto_features20.782 0.26321.276
get_genomic_coordinates0.5960.0610.666
get_most_variable_cyto23.788 0.40024.452
get_pathway_mat_scExp41.854 5.65048.362
has_genomic_coordinates1.0350.0441.091
import_scExp8.3400.3438.772
inter_correlation_scExp0.5050.0210.532
intra_correlation_scExp0.5010.0210.529
launchApp000
normalize_scExp0.6220.0340.668
num_cell_after_QC_filt_scExp0.6980.0430.751
num_cell_after_cor_filt_scExp13.447 0.59914.198
num_cell_before_cor_filt_scExp0.3310.0220.391
num_cell_in_cluster_scExp0.5870.0210.613
num_cell_scExp0.5460.0250.582
plot_cluster_consensus_scExp1.1500.0641.225
plot_correlation_PCA_scExp1.3680.0351.418
plot_coverage_BigWig0.3290.0080.342
plot_differential_summary_scExp0.3590.0160.378
plot_differential_volcano_scExp0.4310.0100.447
plot_distribution_scExp0.5750.0180.601
plot_gain_or_loss_barplots50.991 0.49152.233
plot_heatmap_scExp0.4630.0190.487
plot_inter_correlation_scExp0.7610.0280.799
plot_intra_correlation_scExp0.7030.0180.731
plot_most_contributing_features0.6070.0210.638
plot_percent_active_feature_scExp1.8870.0421.949
plot_pie_most_contributing_chr0.4200.0200.446
plot_reduced_dim_scExp2.8940.0382.956
plot_reduced_dim_scExp_CNA24.881 0.20625.377
plot_top_TF_scExp0.6610.0290.698
plot_violin_feature_scExp2.0320.0572.117
preprocess_CPM0.6130.0550.673
preprocess_RPKM0.6630.0830.750
preprocess_TFIDF0.6010.0590.668
preprocess_TPM0.6660.0740.747
preprocess_feature_size_only0.6010.0360.643