CHECK report for CNPBayes on merida2
This page was generated on 2019-04-09 13:32:21 -0400 (Tue, 09 Apr 2019).
CNPBayes 1.13.5 Jacob Carey
Snapshot Date: 2019-04-08 17:01:18 -0400 (Mon, 08 Apr 2019) |
URL: https://git.bioconductor.org/packages/CNPBayes |
Branch: master |
Last Commit: 1e9cdbb |
Last Changed Date: 2019-01-03 09:20:51 -0400 (Thu, 03 Jan 2019) |
| malbec2 | Linux (Ubuntu 18.04.2 LTS) / x86_64 | OK | ERROR | skipped | | |
tokay2 | Windows Server 2012 R2 Standard / x64 | OK | ERROR | skipped | skipped | |
celaya2 | OS X 10.11.6 El Capitan / x86_64 | OK | ERROR | skipped | skipped | |
merida2 | OS X 10.11.6 El Capitan / x86_64 | OK | OK | [ ERROR ] | OK | |
Summary
Command output
##############################################################################
##############################################################################
###
### Running command:
###
### /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:CNPBayes.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings CNPBayes_1.13.5.tar.gz
###
##############################################################################
##############################################################################
* using log directory ‘/Users/biocbuild/bbs-3.9-bioc/meat/CNPBayes.Rcheck’
* using R Under development (unstable) (2018-11-27 r75683)
* using platform: x86_64-apple-darwin15.6.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘CNPBayes/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘CNPBayes’ version ‘1.13.5’
* 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 ‘CNPBayes’ 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: ‘RcppArmadillo’
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 ... NOTE
.simulate_data_multi2: no visible binding for global variable ‘id’
augmentData: no visible binding for global variable ‘medians’
augmentData: no visible binding for global variable ‘nhom’
augmentData: no visible binding for global variable ‘id’
augmentData: no visible binding for global variable ‘batch_index’
bafLikelihood: no visible binding for global variable ‘snpdat’
ci95.wrap: no visible global function definition for ‘t.test’
combineChains: no visible binding for global variable ‘.’
combineModels: no visible binding for global variable ‘.’
combineModels: no visible binding for global variable ‘id’
component_stats: no visible binding for global variable ‘batches’
component_stats: no visible binding for global variable ‘copy_number’
component_stats: no visible binding for global variable ‘log_ratio’
find_surrogates: no visible binding for global variable
‘provisional_batch’
gibbs_trios2: no visible binding for global variable ‘maplabel’
gibbs_trios2: no visible binding for global variable ‘mprob’
gibbs_trios3: no visible binding for global variable ‘maplabel’
gibbs_trios3: no visible binding for global variable ‘mprob’
gibbs_trios_K2: no visible binding for global variable
‘.gibbs_trios_mcmc2’
gibbs_trios_K3: no visible binding for global variable
‘.gibbs_trios_mcmc3’
longFormatK: no visible binding for global variable ‘.’
longFormatK: no visible binding for global variable ‘s’
longFormatKB: no visible binding for global variable ‘.’
longFormatKB: no visible binding for global variable ‘s’
longFormatKB: no visible binding for global variable ‘bk’
longFormatKB2: no visible binding for global variable ‘.’
longFormatKB2: no visible binding for global variable ‘s’
longFormatKB2: no visible binding for global variable ‘bk’
modelSpecs: no visible binding for global variable ‘model’
mprob.matrix: no visible global function definition for ‘:=’
mprob.matrix: no visible binding for global variable ‘parents’
mprob.matrix: no visible binding for global variable ‘father’
mprob.matrix: no visible binding for global variable ‘mother’
posteriorSimulationPooled: possible error in `mcmcParams<-`(object,
force = TRUE, value = `*tmpv*`): unused argument (force = TRUE)
predictiveTibble: no visible binding for global variable ‘value’
simulate_data_multi2: no visible binding for global variable
‘copy_number’
simulate_data_multi3: no visible binding for global variable
‘copy_number’
startAtTrueValues2: no visible binding for global variable
‘copy_number’
triodata: no visible binding for global variable ‘id’
augmentData2,MultiBatchList: no visible binding for global variable
‘model’
augmentData2,MultiBatchList: no visible binding for global variable ‘.’
augmentData2,MultiBatchList: no visible binding for global variable
‘id’
batch<-,MultiBatch-numeric: no visible global function definition for
‘spec’
batch<-,MultiBatch-numeric: no visible global function definition for
‘spec<-’
coerce,McmcChains-list: no visible binding for global variable ‘s’
computePrec,MultiBatch: no visible binding for global variable ‘prec’
findSurrogates,MultiBatch: no visible binding for global variable ‘id’
findSurrogates,MultiBatch: no visible binding for global variable
‘provisional_batch’
findSurrogates,MultiBatch: no visible binding for global variable
‘batch_labels’
sigma,MultiBatchCopyNumberPooled: no visible binding for global
variable ‘s2’
Undefined global functions or variables:
. .gibbs_trios_mcmc2 .gibbs_trios_mcmc3 := batch_index batch_labels
batches bk copy_number father id log_ratio maplabel medians model
mother mprob nhom parents prec provisional_batch s s2 snpdat spec
spec<- t.test value
Consider adding
importFrom("stats", "t.test")
to your NAMESPACE file.
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... WARNING
Undocumented code objects:
‘TBM’ ‘findSurrogates’ ‘modelName’ ‘p’
Undocumented S4 methods:
generic '[' and siglist 'MixtureModel,logical,ANY,ANY'
generic '[' and siglist 'MixtureModel,numeric,ANY,ANY'
generic '[' and siglist 'MultiBatchList,ANY,ANY,ANY'
generic '[<-' and siglist 'MultiBatchList,ANY,ANY,ANY'
generic '[[' and siglist 'MultiBatchList,character,ANY'
generic '[[' and siglist 'MultiBatchList,numeric,ANY'
generic '[[<-' and siglist 'MultiBatchList,ANY,ANY'
generic 'batch' and siglist 'MultiBatch'
generic 'batch' and siglist 'MultiBatchList'
generic 'burnin' and siglist 'MultiBatch'
generic 'burnin' and siglist 'MultiBatchList'
generic 'burnin<-' and siglist 'MultiBatch,numeric'
generic 'burnin<-' and siglist 'MultiBatchList,numeric'
generic 'chains' and siglist 'MultiBatch'
generic 'chains' and siglist 'MultiBatchList'
generic 'dfr' and siglist 'MultiBatch'
generic 'dfr' and siglist 'MultiBatchList'
generic 'hyperParams' and siglist 'MultiBatch'
generic 'hyperParams' and siglist 'MultiBatchList'
generic 'hyperParams<-' and siglist 'MultiBatch,Hyperparameters'
generic 'hyperParams<-' and siglist 'MultiBatchList,Hyperparameters'
generic 'iter' and siglist 'McmcChains'
generic 'iter' and siglist 'MultiBatch'
generic 'iter' and siglist 'MultiBatchList'
generic 'iter<-' and siglist 'McmcChains,ANY'
generic 'iter<-' and siglist 'MultiBatch,numeric'
generic 'iter<-' and siglist 'MultiBatchList,numeric'
generic 'k' and siglist 'McmcChains'
generic 'k' and siglist 'MultiBatch'
generic 'k' and siglist 'MultiBatchList'
generic 'k<-' and siglist 'McmcChains'
generic 'label_switch' and siglist 'MultiBatch'
generic 'length' and siglist 'MultiBatchList'
generic 'logPrior' and siglist 'MultiBatch'
generic 'log_lik' and siglist 'MultiBatch'
generic 'marginal_lik' and siglist 'MultiBatch'
generic 'marginal_lik' and siglist 'MultiBatchList'
generic 'marginal_lik<-' and siglist 'MultiBatch,numeric'
generic 'mcmcParams' and siglist 'MultiBatch'
generic 'mcmcParams' and siglist 'MultiBatchList'
generic 'mcmcParams<-' and siglist 'MultiBatch,McmcParams'
generic 'mcmcParams<-' and siglist 'MultiBatchList,McmcParams'
generic 'modelName' and siglist 'MultiBatch'
generic 'modelName' and siglist 'MultiBatchList'
generic 'modes' and siglist 'MultiBatch'
generic 'modes' and siglist 'MultiBatchList'
generic 'modes<-' and siglist 'MultiBatch'
generic 'mu' and siglist 'MultiBatch'
generic 'nStarts' and siglist 'MultiBatch'
generic 'nStarts' and siglist 'MultiBatchList'
generic 'nStarts<-' and siglist 'MultiBatch,integer'
generic 'nStarts<-' and siglist 'MultiBatch,numeric'
generic 'nStarts<-' and siglist 'MultiBatchList,integer'
generic 'nStarts<-' and siglist 'MultiBatchList,numeric'
generic 'names' and siglist 'MultiBatchList'
generic 'nu.0' and siglist 'MultiBatch'
generic 'oned' and siglist 'MultiBatch'
generic 'oned' and siglist 'MultiBatchList'
generic 'p' and siglist 'McmcChains'
generic 'p' and siglist 'MultiBatch'
generic 'posteriorSimulation' and siglist 'MultiBatch'
generic 'posteriorSimulation' and siglist 'MultiBatchList'
generic 'posteriorSimulation' and siglist 'MultiBatchP'
generic 'posteriorSimulation' and siglist 'list'
generic 'probz' and siglist 'MultiBatch'
generic 'sigma2.0' and siglist 'MultiBatch'
generic 'sigma2' and siglist 'MultiBatch'
generic 'sigma' and siglist 'MultiBatchPooled'
generic 'sigma<-' and siglist 'MixtureModel'
generic 'sigma<-' and siglist 'MultiBatchPooled'
generic 'tau2' and siglist 'MultiBatch'
generic 'theta' and siglist 'MultiBatch'
generic 'theta<-' and siglist 'McmcChains,ANY'
generic 'theta<-' and siglist 'MixtureModel,ANY'
generic 'theta<-' and siglist 'MultiBatch,matrix'
generic 'theta<-' and siglist 'MultiBatchModel,ANY'
generic 'thin' and siglist 'MultiBatch'
generic 'thin' and siglist 'MultiBatchList'
generic 'thin<-' and siglist 'McmcParams,numeric'
generic 'thin<-' and siglist 'MultiBatch,numeric'
generic 'thin<-' and siglist 'MultiBatchList,numeric'
generic 'triodata_lrr' and siglist 'TrioBatchModel'
generic 'z' and siglist 'MultiBatch'
generic 'zFreq' and siglist 'MultiBatch'
All user-level objects in a package (including S4 classes and methods)
should have documentation entries.
See chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.
* checking for code/documentation mismatches ... WARNING
S4 class codoc mismatches from documentation object 'MixtureModel-class':
Slots for class 'MixtureModel'
Code: .internal.constraint .internal.counter batch batchElements data
data.mean data.prec hyperparams k label_switch loglik logprior
marginal_lik mcmc.chains mcmc.params modes mu nu.0 pi
predictive probz sigma2 sigma2.0 tau2 theta u z zfreq zstar
Docs: .internal.constraint .internal.counter batch batchElements data
data.mean data.prec hyperparams k label_switch loglik logprior
marginal_lik marginal_lik mcmc.chains mcmc.params modes mu nu.0
pi probz sigma2 sigma2.0 tau2 theta u z zfreq
S4 class codoc mismatches from documentation object 'MultiBatch-class':
Slots for class 'MultiBatch'
Code: chains current_values data down_sample flags parameters specs
summaries
Docs: chains current_values data down_sample flags parameters
summaries
S4 class codoc mismatches from documentation object 'MultiBatchModel-class':
Slots for class 'MultiBatchModel'
Code: .internal.constraint .internal.counter batch batchElements data
data.mean data.prec hyperparams k label_switch loglik logprior
marginal_lik mcmc.chains mcmc.params modes mu nu.0 pi
predictive probz sigma2 sigma2.0 tau2 theta u z zfreq zstar
Inherited: k hyperparams theta sigma2 nu.0 sigma2.0 pi mu tau2
predictive zstar data data.mean data.prec z zfreq probz u
logprior loglik mcmc.chains batch batchElements modes
mcmc.params label_switch marginal_lik .internal.constraint
.internal.counter
Docs: .internal.constraint batch batchElements data data.mean
data.prec hyperparams is_mendelian k label_switch loglik
logprior mcmc.chains mcmc.params modes mu nu.0 pi probz sigma2
sigma2.0 tau2 theta z zfreq
* checking Rd \usage sections ... WARNING
Undocumented arguments in documentation object 'HyperparametersTrios'
‘k’ ‘mu.0’ ‘tau2.0’ ‘eta.0’ ‘m2.0’ ‘alpha’ ‘beta’ ‘a’ ‘b’ ‘dfr’
Undocumented arguments in documentation object 'McmcParams'
‘min_GR’ ‘min_effsize’ ‘max_burnin’ ‘min_chains’
Duplicated \argument entries in documentation object 'MultiBatchModel2':
‘dat’ ‘batches’ ‘hp’ ‘mp’
Undocumented arguments in documentation object 'TrioBatchModel'
‘mprob’ ‘maplabel’
Documented arguments not in \usage in documentation object 'TrioBatchModel':
‘batches’
Undocumented arguments in documentation object 'gibbs'
‘maplabel’ ‘mprob’
Documented arguments not in \usage in documentation object 'iter<-':
‘force’
Documented arguments not in \usage in documentation object 'mcmcParams':
‘force’
Undocumented arguments in documentation object 'sigma<-'
‘value’
Undocumented arguments in documentation object 'singleBatchGuided,MultiBatchList,MultiBatch-method'
‘x’ ‘guide’
Undocumented arguments in documentation object 'theta'
‘value’
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 line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking compiled code ... NOTE
Note: information on .o files is not available
* checking sizes of PDF files under ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
Examples with CPU or elapsed time > 5s
user system elapsed
MultiBatchModel 70.160 1.740 72.539
ggplot-functions 45.456 7.759 56.456
MBP 13.865 0.595 14.616
gibbs 10.321 0.278 10.800
upSample2 5.248 0.331 5.828
* 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:
p.bb = unique(p.bb), gt = simulateGt(n, p.aa, p.ab, p.bb, true.model), baf = simulateBaf(gt,
true.model))
10: summarise.tbl_df(., n = n(), p.b = unique(p.b), p.aa = unique(p.aa), p.ab = unique(p.ab),
p.bb = unique(p.bb), gt = simulateGt(n, p.aa, p.ab, p.bb, true.model), baf = simulateBaf(gt,
true.model))
11: summarise_impl(.data, dots, environment(), caller_env())
12: simulateBaf(gt, true.model)
13: rbeta(freq[2], ab[1], ab[2]) at testthat/test_baf_likelihood.R:48
══ testthat results ═══════════════════════════════════════════════════════════
OK: 306 SKIPPED: 3 FAILED: 1
1. Error: baf likelihood (@test_baf_likelihood.R#55)
Error: testthat unit tests failed
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: 1 ERROR, 3 WARNINGs, 3 NOTEs
See
‘/Users/biocbuild/bbs-3.9-bioc/meat/CNPBayes.Rcheck/00check.log’
for details.
Installation output
CNPBayes.Rcheck/00install.out
Tests output
CNPBayes.Rcheck/tests/testthat.Rout.fail
R Under development (unstable) (2018-11-27 r75683) -- "Unsuffered Consequences"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin15.6.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.
> Sys.setenv("R_TESTS"="")
> library(testthat)
> library(CNPBayes)
Loading required package: IRanges
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
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, append,
as.data.frame, basename, cbind, colMeans, colSums, 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, rowMeans, rowSums,
rownames, sapply, setdiff, sort, table, tapply, union, unique,
unsplit, which, which.max, which.min
Loading required package: S4Vectors
Loading required package: stats4
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Loading required package: GenomicRanges
Loading required package: GenomeInfoDb
Attaching package: 'CNPBayes'
The following object is masked from 'package:stats':
sigma
> test_check("CNPBayes")
── 1. Error: baf likelihood (@test_baf_likelihood.R#55) ───────────────────────
invalid arguments
1: tibble(snp = rep(1:4, N), p.b = rep(c(0.1, 0.4, 0.8, 0.95), N), p.a = 1 - p.b, p.bb = p.b^2,
p.aa = p.a^2, p.ab = 2 * p.a * p.b) %>% group_by(snp) %>% summarize(n = n(),
p.b = unique(p.b), p.aa = unique(p.aa), p.ab = unique(p.ab), p.bb = unique(p.bb),
gt = simulateGt(n, p.aa, p.ab, p.bb, true.model), baf = simulateBaf(gt, true.model)) at testthat/test_baf_likelihood.R:55
2: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
3: eval(quote(`_fseq`(`_lhs`)), env, env)
4: eval(quote(`_fseq`(`_lhs`)), env, env)
5: `_fseq`(`_lhs`)
6: freduce(value, `_function_list`)
7: withVisible(function_list[[k]](value))
8: function_list[[k]](value)
9: summarize(., n = n(), p.b = unique(p.b), p.aa = unique(p.aa), p.ab = unique(p.ab),
p.bb = unique(p.bb), gt = simulateGt(n, p.aa, p.ab, p.bb, true.model), baf = simulateBaf(gt,
true.model))
10: summarise.tbl_df(., n = n(), p.b = unique(p.b), p.aa = unique(p.aa), p.ab = unique(p.ab),
p.bb = unique(p.bb), gt = simulateGt(n, p.aa, p.ab, p.bb, true.model), baf = simulateBaf(gt,
true.model))
11: summarise_impl(.data, dots, environment(), caller_env())
12: simulateBaf(gt, true.model)
13: rbeta(freq[2], ab[1], ab[2]) at testthat/test_baf_likelihood.R:48
══ testthat results ═══════════════════════════════════════════════════════════
OK: 306 SKIPPED: 3 FAILED: 1
1. Error: baf likelihood (@test_baf_likelihood.R#55)
Error: testthat unit tests failed
Execution halted
Example timings
CNPBayes.Rcheck/CNPBayes-Ex.timings