Back to Multiple platform build/check report for BioC 3.16:   simplified   long
ABCDEFGHIJKLMNOP[Q]RSTUVWXYZ

This page was generated on 2023-04-12 11:05:15 -0400 (Wed, 12 Apr 2023).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo2Linux (Ubuntu 20.04.5 LTS)x86_644.2.3 (2023-03-15) -- "Shortstop Beagle" 4502
palomino4Windows Server 2022 Datacenterx644.2.3 (2023-03-15 ucrt) -- "Shortstop Beagle" 4282
lconwaymacOS 12.5.1 Montereyx86_644.2.3 (2023-03-15) -- "Shortstop Beagle" 4310
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 qcmetrics on nebbiolo2


To the developers/maintainers of the qcmetrics package:
- Please allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/qcmetrics.git to
reflect on this report. See How and When does the builder pull? When will my changes propagate? for more information.
- Make sure to use the following settings in order to reproduce any error or warning you see on this page.

raw results

Package 1559/2183HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
qcmetrics 1.36.0  (landing page)
Laurent Gatto
Snapshot Date: 2023-04-10 14:00:05 -0400 (Mon, 10 Apr 2023)
git_url: https://git.bioconductor.org/packages/qcmetrics
git_branch: RELEASE_3_16
git_last_commit: 865dc77
git_last_commit_date: 2022-11-01 11:08:53 -0400 (Tue, 01 Nov 2022)
nebbiolo2Linux (Ubuntu 20.04.5 LTS) / x86_64  OK    OK    ERROR  
palomino4Windows Server 2022 Datacenter / x64  OK    OK    ERROR    OK  
lconwaymacOS 12.5.1 Monterey / x86_64  OK    OK    ERROR    OK  

Summary

Package: qcmetrics
Version: 1.36.0
Command: /home/biocbuild/bbs-3.16-bioc/R/bin/R CMD check --install=check:qcmetrics.install-out.txt --library=/home/biocbuild/bbs-3.16-bioc/R/site-library --timings qcmetrics_1.36.0.tar.gz
StartedAt: 2023-04-10 23:10:34 -0400 (Mon, 10 Apr 2023)
EndedAt: 2023-04-10 23:11:46 -0400 (Mon, 10 Apr 2023)
EllapsedTime: 71.3 seconds
RetCode: 1
Status:   ERROR  
CheckDir: qcmetrics.Rcheck
Warnings: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.16-bioc/R/bin/R CMD check --install=check:qcmetrics.install-out.txt --library=/home/biocbuild/bbs-3.16-bioc/R/site-library --timings qcmetrics_1.36.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/home/biocbuild/bbs-3.16-bioc/meat/qcmetrics.Rcheck’
* using R version 4.2.3 (2023-03-15)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* checking for file ‘qcmetrics/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘qcmetrics’ version ‘1.36.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 hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘qcmetrics’ 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 loading without being on the library search path ... 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 files in ‘vignettes’ ... OK
* checking examples ... ERROR
Running examples in ‘qcmetrics-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: qcReport-methods
> ### Title: Automatic report generation
> ### Aliases: qcReport-methods qcReport,QcMetrics-method qcReport reporting
> ###   reporting_pdf reporting_tex reporting_rmd reporting_html
> ###   example_reports
> ### Keywords: methods report
> 
> ### ** Examples
> 
> example(QcMetrics)

QcMtrc> example(QcMetric)

QcMtrc> (qc <- QcMetric())
Object of class "QcMetric"
 Name: A QcMetric prototype 
 Status: NA 
 Data: empty

QcMtrc> qcdata(qc)
character(0)

QcMtrc> try(qcdata(qc, "x"))
Error in qcdata(qc, "x") : No qcdata 'x' in object.

QcMtrc> x <- rnorm(10)

QcMtrc> qcdata(qc, "qc1") <- x

QcMtrc> qcdata(qc, "qc2") <- 1:10

QcMtrc> qcdata(qc)
[1] "qc1" "qc2"

QcMtrc> all.equal(qcdata(qc, "qc1"), x)
[1] TRUE

QcMtrc> all.equal(qcdata(qc, "qc2"), 1:10)
[1] TRUE

QcMtrc> name(qc) <- "My test QcMetric"

QcMtrc> description(qc) <- "This qc metric describes bla bla bla, indicating possible issues in the third step of protocol bla bla bla."

QcMtrc> status(qc) <- FALSE

QcMtrc> qc
Object of class "QcMetric"
 Name: My test QcMetric 
 Description:
This qc metric describes bla bla bla, indicating possible issues in the
third step of protocol bla bla bla.
 Status: FALSE 
 Data: qc1 qc2 

QcMtrc> ## or
QcMtrc> e <- new.env()

QcMtrc> e$qc1 <- rnorm(100)

QcMtrc> e$qc2 <- 1:100

QcMtrc> qcdata(qc) <- e

QcMtrc> length(qcdata(qc, "qc1"))
[1] 100

QcMtrc> head(qcdata(qc, "qc2"))
[1] 1 2 3 4 5 6

QcMtrc> show(qc)
Object of class "QcMetric"
 Name: My test QcMetric 
 Description:
This qc metric describes bla bla bla, indicating possible issues in the
third step of protocol bla bla bla.
 Status: FALSE 
 Data: qc1 qc2 

QcMtrc> show(qc) <- function(object) cat("Updated show method\n")

QcMtrc> show(qc)
Updated show method

QcMtrc> show(qc) <- qcshow

QcMtrc> qc
Object of class "QcMetric"
 Name: My test QcMetric 
 Description:
This qc metric describes bla bla bla, indicating possible issues in the
third step of protocol bla bla bla.
 Status: FALSE 
 Data: qc1 qc2 

QcMtrc> plot(qc)
Warning in x@plot(x, ...) : No specific plot function defined

QcMtrc> plot(qc) <-
QcMtrc+     function(object, ...) 
QcMtrc+         plot(qcdata(object, "qc2"),
QcMtrc+              qcdata(object, "qc1"),
QcMtrc+              xlab = "qc1",
QcMtrc+              ylab = "qc2",
QcMtrc+              ...)

QcMtrc> plot(qc)

QcMtrc> plot(qc, col = "red", pch = 19)

QcMtrc> ## Not run: 
QcMtrc> ##D     ## generate a report 
QcMtrc> ##D     qcReport(qcm)
QcMtrc> ## End(Not run)
QcMtrc> 
QcMtrc> 
QcMtrc> 

QcMtrc> show(qc)
Object of class "QcMetric"
 Name: My test QcMetric 
 Description:
This qc metric describes bla bla bla, indicating possible issues in the
third step of protocol bla bla bla.
 Status: FALSE 
 Data: qc1 qc2 

QcMtrc> qc2 <- QcMetric(name = "My other metric", status = TRUE)

QcMtrc> qcdata(qc2, "x") <- rnorm(100)

QcMtrc> qcdata(qc2, "k") <- rep(LETTERS[1:2], 50)

QcMtrc> plot(qc2) <- function(object, ...) {
QcMtrc+     require("lattice")
QcMtrc+     d <- data.frame(x = qcdata(object, "x"),
QcMtrc+                     k = qcdata(object, "k"))
QcMtrc+     bwplot(x ~ k, data = d)
QcMtrc+ }

QcMtrc> qcm <- QcMetrics(qcdata = list(qc, qc2))

QcMtrc> qcm
Object of class "QcMetrics"
 containing 2 QC metrics.
 and no metadata variables.

QcMtrc> qcm[1] ## a QcMetrics instance
Object of class "QcMetrics"
 containing 1 QC metrics.
 and no metadata variables.

QcMtrc> qcm[[1]] ## a single QcMetric
Object of class "QcMetric"
 Name: My test QcMetric 
 Description:
This qc metric describes bla bla bla, indicating possible issues in the
third step of protocol bla bla bla.
 Status: FALSE 
 Data: qc1 qc2 

QcMtrc> metadata(qcm)
list()

QcMtrc> metadata(qcm) <- QcMetadata(list(name = "Prof. Who",
QcMtrc+                                  lab = "Cabin University"))

QcMtrc> ## or, shorter but equivalent
QcMtrc> metadata(qcm) <- list(name = "Prof. Who",
QcMtrc+                       lab = "Cabin University")

QcMtrc> metadata(qcm) ## or mdata(qcm)
$name
[1] "Prof. Who"

$lab
[1] "Cabin University"


QcMtrc> ## update metadata
QcMtrc> metadata(qcm) <- list(lab = "Big lab", ## updated
QcMtrc+                       uni = "Cabin University") ## added

QcMtrc> mdata(qcm)
$name
[1] "Prof. Who"

$lab
[1] "Big lab"

$uni
[1] "Cabin University"

> show(qcm)
Object of class "QcMetrics"
 containing 2 QC metrics.
 and 3 metadata variables.
> 
> destdir <- tempdir()
> (report <- file.path(destdir, "testQCReport"))
[1] "/tmp/RtmpWVZfDN/testQCReport"
> 
> 
> ## Not run: 
> ##D   ## pdf report
> ##D   qcReport(qcm, reportname = report)
> ##D   ## use pdflatex to generate the pdf file
> ##D   qcReport(qcm, reportname = report, texi2dvi = "pdflatex")
> ## End(Not run)
> 
> ## default html report
> html <- qcReport(qcm, reportname = report, type = "html")
Report written to /tmp/RtmpWVZfDN/testQCReport.html
> html
[1] "/tmp/RtmpWVZfDN/testQCReport.html"
> if (interactive())
+     browseURL(html)
> 
> ## using a custom css templates
> writeLines("
+ body {
+     font-size: 14pt;
+     width: 650px;
+     background: #789855;
+     margin-left: auto;
+     margin-right: auto;
+     margin-top: 20px;
+     margin-bottom: 20;
+     text-align:justify;
+ }", con = "style.css")
> 
> html2 <- qcReport(qcm, reportname = "customreport", template = "style.css", type = "html")
Error in mark(..., format = "html", template = template) : 
  unused argument (stylesheet = "style.css")
Calls: qcReport ... reporting_html -> knit2html -> mark_html -> <Anonymous>
Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ...
  ‘qcmetrics.Rmd’ using ‘UTF-8’... OK
 NONE
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE

Status: 1 ERROR
See
  ‘/home/biocbuild/bbs-3.16-bioc/meat/qcmetrics.Rcheck/00check.log’
for details.


Installation output

qcmetrics.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.16-bioc/R/bin/R CMD INSTALL qcmetrics
###
##############################################################################
##############################################################################


* installing to library ‘/home/biocbuild/bbs-3.16-bioc/R/site-library’
* installing *source* package ‘qcmetrics’ ...
** 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 (qcmetrics)

Tests output


Example timings

qcmetrics.Rcheck/qcmetrics-Ex.timings

nameusersystemelapsed
QcMetadata-class0.0020.0000.001
QcMetric-class0.0260.0000.026
QcMetrics-class0.0380.0080.047
psm3.3160.1883.504