Back to Mac ARM64 build report for BioC 3.17
A[B]CDEFGHIJKLMNOPQRSTUVWXYZ

This page was generated on 2023-10-20 09:37:59 -0400 (Fri, 20 Oct 2023).

HostnameOSArch (*)R versionInstalled pkgs
kjohnson2macOS 12.6.1 Montereyarm644.3.1 (2023-06-16) -- "Beagle Scouts" 4347
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 226/2230HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
BloodGen3Module 1.8.0  (landing page)
Darawan Rinchai
Snapshot Date: 2023-10-15 14:00:07 -0400 (Sun, 15 Oct 2023)
git_url: https://git.bioconductor.org/packages/BloodGen3Module
git_branch: RELEASE_3_17
git_last_commit: d289aa9
git_last_commit_date: 2023-04-25 11:29:58 -0400 (Tue, 25 Apr 2023)
kjohnson2macOS 12.6.1 Monterey / arm64  OK    OK    WARNINGS    OK  UNNEEDED, same version is already published

CHECK results for BloodGen3Module on kjohnson2


To the developers/maintainers of the BloodGen3Module 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: BloodGen3Module
Version: 1.8.0
Command: /Library/Frameworks/R.framework/Resources/bin/R CMD check --install=check:BloodGen3Module.install-out.txt --library=/Library/Frameworks/R.framework/Resources/library --no-vignettes --timings BloodGen3Module_1.8.0.tar.gz
StartedAt: 2023-10-17 06:22:26 -0400 (Tue, 17 Oct 2023)
EndedAt: 2023-10-17 06:32:08 -0400 (Tue, 17 Oct 2023)
EllapsedTime: 581.6 seconds
RetCode: 0
Status:   WARNINGS  
CheckDir: BloodGen3Module.Rcheck
Warnings: 1

Command output

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


* using log directory ‘/Users/biocbuild/bbs-3.17-bioc-mac-arm64/meat/BloodGen3Module.Rcheck’
* using R version 4.3.1 (2023-06-16)
* 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 Monterey 12.6.7
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘BloodGen3Module/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘BloodGen3Module’ version ‘1.8.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 ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘BloodGen3Module’ can be installed ... WARNING
Found the following significant warnings:
  Warning: replacing previous import ‘SummarizedExperiment::rowRanges’ by ‘matrixStats::rowRanges’ when loading ‘BloodGen3Module’
  Warning: replacing previous import ‘SummarizedExperiment::start’ by ‘stats::start’ when loading ‘BloodGen3Module’
  Warning: replacing previous import ‘SummarizedExperiment::end’ by ‘stats::end’ when loading ‘BloodGen3Module’
  Warning: replacing previous import ‘matrixStats::rowRanges’ by ‘SummarizedExperiment::rowRanges’ when loading ‘BloodGen3Module’
See ‘/Users/biocbuild/bbs-3.17-bioc-mac-arm64/meat/BloodGen3Module.Rcheck/00install.out’ for details.
* checking installed package size ... OK
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... NOTE
File
  LICENSE
is not mentioned in the DESCRIPTION file.
* 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 R/sysdata.rda ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU (user + system) or elapsed time > 5s
                       user system elapsed
Groupcomparison      60.540  4.082 118.568
gridplot             22.523  0.587  35.844
Groupcomparisonlimma 10.948  0.425  17.808
fingerprintplot      10.650  0.410  17.634
Individualcomparison  8.446  0.416  14.083
fold_change           2.800  0.193   5.223
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘test-fold_change.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 WARNING, 1 NOTE
See
  ‘/Users/biocbuild/bbs-3.17-bioc-mac-arm64/meat/BloodGen3Module.Rcheck/00check.log’
for details.



Installation output

BloodGen3Module.Rcheck/00install.out

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


* installing to library ‘/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library’
* installing *source* package ‘BloodGen3Module’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Warning: replacing previous import ‘SummarizedExperiment::rowRanges’ by ‘matrixStats::rowRanges’ when loading ‘BloodGen3Module’
Warning: replacing previous import ‘SummarizedExperiment::start’ by ‘stats::start’ when loading ‘BloodGen3Module’
Warning: replacing previous import ‘SummarizedExperiment::end’ by ‘stats::end’ when loading ‘BloodGen3Module’
Warning: replacing previous import ‘matrixStats::rowRanges’ by ‘SummarizedExperiment::rowRanges’ when loading ‘BloodGen3Module’
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Warning: replacing previous import ‘SummarizedExperiment::rowRanges’ by ‘matrixStats::rowRanges’ when loading ‘BloodGen3Module’
Warning: replacing previous import ‘SummarizedExperiment::start’ by ‘stats::start’ when loading ‘BloodGen3Module’
Warning: replacing previous import ‘SummarizedExperiment::end’ by ‘stats::end’ when loading ‘BloodGen3Module’
Warning: replacing previous import ‘matrixStats::rowRanges’ by ‘SummarizedExperiment::rowRanges’ when loading ‘BloodGen3Module’
** testing if installed package can be loaded from final location
Warning: replacing previous import ‘SummarizedExperiment::rowRanges’ by ‘matrixStats::rowRanges’ when loading ‘BloodGen3Module’
Warning: replacing previous import ‘SummarizedExperiment::start’ by ‘stats::start’ when loading ‘BloodGen3Module’
Warning: replacing previous import ‘SummarizedExperiment::end’ by ‘stats::end’ when loading ‘BloodGen3Module’
Warning: replacing previous import ‘matrixStats::rowRanges’ by ‘SummarizedExperiment::rowRanges’ when loading ‘BloodGen3Module’
** testing if installed package keeps a record of temporary installation path
* DONE (BloodGen3Module)

Tests output

BloodGen3Module.Rcheck/tests/test-fold_change.Rout


R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 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("gtools")
> library("testthat")
> library("BloodGen3Module")
Warning messages:
1: replacing previous import 'SummarizedExperiment::rowRanges' by 'matrixStats::rowRanges' when loading 'BloodGen3Module' 
2: replacing previous import 'SummarizedExperiment::start' by 'stats::start' when loading 'BloodGen3Module' 
3: replacing previous import 'SummarizedExperiment::end' by 'stats::end' when loading 'BloodGen3Module' 
4: replacing previous import 'matrixStats::rowRanges' by 'SummarizedExperiment::rowRanges' when loading 'BloodGen3Module' 
> 
> fold_change = function(df_raw = df_raw,
+                        sample_info = sample_info,
+                        Group_column = Group_column,
+                        Test_group=Test_group,
+                        Ref_group=Ref_group){
+ 
+   FC.group = data.frame(matrix(ncol = 1, nrow = nrow(df_raw)))
+   colnames(FC.group) = Test_group
+   rownames(FC.group) = rownames(df_raw)
+ 
+   for (k in 1:nrow(df_raw)) {
+     signature = rownames(df_raw)[k]
+     test.table <- sample_info
+     test.table$scores <- df_raw[k,]
+     T2 <- test.table[test.table[, Group_column]==Test_group,]       # "Group_test"; the selected column could be changed to your interested group comparison
+     T1 <- test.table[test.table[, Group_column]==Ref_group,]        # "Group_test"; the selected column could be changed to your interested group comparison
+     FC.group[signature,] <- foldchange(mean(T2$scores),mean(T1$scores))
+   }
+   FCgroup <- data.frame(FC.group)
+ }
> 
> 
> library(ExperimentHub)
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

Loading required package: AnnotationHub
Loading required package: BiocFileCache
Loading required package: dbplyr
> library(SummarizedExperiment)
Loading required package: MatrixGenerics
Loading required package: matrixStats

Attaching package: 'MatrixGenerics'

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

    colAlls, colAnyNAs, colAnys, colAvgsPerRowSet, colCollapse,
    colCounts, colCummaxs, colCummins, colCumprods, colCumsums,
    colDiffs, colIQRDiffs, colIQRs, colLogSumExps, colMadDiffs,
    colMads, colMaxs, colMeans2, colMedians, colMins, colOrderStats,
    colProds, colQuantiles, colRanges, colRanks, colSdDiffs, colSds,
    colSums2, colTabulates, colVarDiffs, colVars, colWeightedMads,
    colWeightedMeans, colWeightedMedians, colWeightedSds,
    colWeightedVars, rowAlls, rowAnyNAs, rowAnys, rowAvgsPerColSet,
    rowCollapse, rowCounts, rowCummaxs, rowCummins, rowCumprods,
    rowCumsums, rowDiffs, rowIQRDiffs, rowIQRs, rowLogSumExps,
    rowMadDiffs, rowMads, rowMaxs, rowMeans2, rowMedians, rowMins,
    rowOrderStats, rowProds, rowQuantiles, rowRanges, rowRanks,
    rowSdDiffs, rowSds, rowSums2, rowTabulates, rowVarDiffs, rowVars,
    rowWeightedMads, rowWeightedMeans, rowWeightedMedians,
    rowWeightedSds, rowWeightedVars

Loading required package: GenomicRanges
Loading required package: stats4
Loading required package: S4Vectors

Attaching package: 'S4Vectors'

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

    findMatches

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

    I, expand.grid, unname

Loading required package: IRanges
Loading required package: GenomeInfoDb
Loading required package: Biobase
Welcome to Bioconductor

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


Attaching package: 'Biobase'

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

    rowMedians

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

    anyMissing, rowMedians

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

    cache

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

    cache

> dat = ExperimentHub()
> res = query(dat , "GSE13015")
> GSE13015 = res[["EH5429"]]
see ?GSE13015 and browseVignettes('GSE13015') for documentation
loading from cache
> data_matrix = assay(GSE13015)
> sample_ann = data.frame(colData(GSE13015))
> 
> 
> test_that("test fold_change", {
+   a  = FCgroup = fold_change(df_raw = data_matrix[c(1:5),],
+                                             sample_info = sample_ann,
+                                             Group_column = "Group_test",
+                                             Test_group="Sepsis",
+                                             Ref_group="Control")
+   b  = FCgroup = fold_change(df_raw = data_matrix[c(1:5),],
+                                             sample_info = sample_ann,
+                                             Group_column = "Group_test",
+                                             Test_group="Sepsis",
+                                             Ref_group="Control")
+ 
+   expect_that(a, equals(b))
+ })
Test passed 🥳
> 
> proc.time()
   user  system elapsed 
 16.647   1.588  35.110 

Example timings

BloodGen3Module.Rcheck/BloodGen3Module-Ex.timings

nameusersystemelapsed
Groupcomparison 60.540 4.082118.568
Groupcomparisonlimma10.948 0.42517.808
Individualcomparison 8.446 0.41614.083
fingerprintplot10.650 0.41017.634
fold_change2.8000.1935.223
gridplot22.523 0.58735.844