cicero.Rcheck/tests_i386/testthat.Rout.fail
R Under development (unstable) (2019-03-09 r76216) -- "Unsuffered Consequences"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-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(cicero)
Loading required package: monocle
Loading required package: Matrix
Loading required package: Biobase
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:Matrix':
colMeans, colSums, rowMeans, rowSums, which
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
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: ggplot2
Loading required package: VGAM
Loading required package: stats4
Loading required package: splines
Loading required package: DDRTree
Loading required package: irlba
Loading required package: Gviz
Loading required package: S4Vectors
Attaching package: 'S4Vectors'
The following object is masked from 'package:Matrix':
expand
The following object is masked from 'package:base':
expand.grid
Loading required package: IRanges
Attaching package: 'IRanges'
The following object is masked from 'package:grDevices':
windows
Loading required package: GenomicRanges
Loading required package: GenomeInfoDb
Loading required package: grid
>
> test_check("cicero")
-- 1. Failure: make_cicero_cds aggregates correctly (@test-runCicero.R#30) ----
ncol(exprs(cicero_cds)) not equal to 36.
1/1 mismatches
[1] 34 - 36 == -2
-- 2. Failure: make_cicero_cds aggregates correctly (@test-runCicero.R#50) ----
ncol(exprs(cicero_cds)) not equal to 36.
1/1 mismatches
[1] 34 - 36 == -2
-- 3. Failure: estimate_distance_parameter gives correct mean (@test-runCicero.R
`mean_alpha` not equal to 2.030655.
1/1 mismatches
[1] 2.25 - 2.03 == 0.219
-- 4. Failure: estimate_distance_parameter gives correct mean (@test-runCicero.R
`mean_alpha` not equal to 2.030655.
1/1 mismatches
[1] 2.25 - 2.03 == 0.219
-- 5. Error: estimate_distance_parameter gives correct mean (@test-runCicero.R#9
No distance_parameters calculated
1: testthat::expect_warning(alphas <- estimate_distance_parameter(cicero_cds, window = 10000,
maxit = 100, sample_num = 2, distance_constraint = 5000, distance_parameter_convergence = 1e-22,
genomic_coords = sample_genome)) at testthat/test-runCicero.R:91
2: quasi_capture(enquo(object), capture_warnings, label = label)
3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
4: withCallingHandlers(code, warning = function(condition) {
out$push(condition)
invokeRestart("muffleWarning")
})
5: eval_bare(get_expr(quo), get_env(quo))
6: estimate_distance_parameter(cicero_cds, window = 10000, maxit = 100, sample_num = 2,
distance_constraint = 5000, distance_parameter_convergence = 1e-22, genomic_coords = sample_genome)
7: stop("No distance_parameters calculated")
-- 6. Failure: assemble_connections gives output (@test-runCicero.R#152) ------
con_list[[1]]$w[1, 2] not equal to 1.028059.
1/1 mismatches
[1] 0.866 - 1.03 == -0.162
[1] "Successful cicero models: 283"
[1] "Other models: "
Zero or one element in range
30
[1] "Models with errors: 0"
-- 7. Failure: assemble_connections gives output (@test-runCicero.R#160) ------
cons$coaccess[1] not equal to 0.908402.
1/1 mismatches
[1] 0.877 - 0.908 == -0.0309
-- 8. Failure: run_cicero gives output (@test-runCicero.R#172) ----------------
cons$coaccess[1] not equal to 0.9083997.
1/1 mismatches
[1] 0.877 - 0.908 == -0.0309
-- 9. Failure: run_cicero gives output (@test-runCicero.R#177) ----------------
cons$coaccess[1] not equal to 0.9083997.
1/1 mismatches
[1] 0.877 - 0.908 == -0.0309
[1] "Coaccessibility cutoff used: 0.25"
-- 10. Failure: find_overlapping_ccans works (@test-runCicero.R#228) ----------
nrow(over) not equal to 40.
1/1 mismatches
[1] 100 - 40 == 60
-- 11. Failure: find_overlapping_ccans works (@test-runCicero.R#230) ----------
nrow(over) not equal to 2.
1/1 mismatches
[1] 4 - 2 == 2
-- 12. Failure: (unknown) (@test-runCicero.R#246) -----------------------------
unnorm_ga[1, 1] not equal to 1.183498.
1/1 mismatches
[1] 1.19 - 1.18 == 0.0113
-- 13. Failure: build_gene_activity_matrix works (@test-runCicero.R#255) ------
unnorm_ga[1, 1] not equal to 1.183498.
1/1 mismatches
[1] 1.19 - 1.18 == 0.0113
-- 14. Failure: normalize_gene_activities works (@test-runCicero.R#267) -------
cicero_gene_activities[1, 1] not equal to 0.008026735.
1/1 mismatches
[1] 0.00857 - 0.00803 == 0.000546
-- 15. Failure: normalize_gene_activities works (@test-runCicero.R#278) -------
cicero_gene_activities1[1, 1] not equal to 0.008026735.
1/1 mismatches
[1] 0.00857 - 0.00803 == 0.000546
-- 16. Failure: normalize_gene_activities works (@test-runCicero.R#282) -------
cicero_gene_activities2[1, 1] not equal to 0.008026735.
1/1 mismatches
[1] 0.00857 - 0.00803 == 0.000546
-- 17. Failure: normalize_gene_activities works (@test-runCicero.R#289) -------
cicero_gene_activities[1, 1] not equal to 0.008026735.
1/1 mismatches
[1] 0.00857 - 0.00803 == 0.000546
-- 18. Failure: normalize_gene_activities works (@test-runCicero.R#300) -------
cicero_gene_activities1[1, 1] not equal to 0.008026735.
1/1 mismatches
[1] 0.00857 - 0.00803 == 0.000546
-- 19. Failure: normalize_gene_activities works (@test-runCicero.R#304) -------
cicero_gene_activities2[1, 1] not equal to 0.008026735.
1/1 mismatches
[1] 0.00857 - 0.00803 == 0.000546
[1] "Generating fData ranges"
[1] "Generating feature data ranges"
[1] "Determining overlaps"
[1] "Assigning labels"
[1] "Merging to fData table"
[1] "Generating fData ranges"
[1] "Generating feature data ranges"
[1] "Determining overlaps"
[1] "Assigning labels"
[1] "Merging to fData table"
[1] "Generating fData ranges"
[1] "Reading data file"
[1] "Generating feature data ranges"
[1] "Determining overlaps"
[1] "Assigning labels"
[1] "Merging to fData table"
== testthat results ===========================================================
OK: 180 SKIPPED: 19 FAILED: 19
1. Failure: make_cicero_cds aggregates correctly (@test-runCicero.R#30)
2. Failure: make_cicero_cds aggregates correctly (@test-runCicero.R#50)
3. Failure: estimate_distance_parameter gives correct mean (@test-runCicero.R#65)
4. Failure: estimate_distance_parameter gives correct mean (@test-runCicero.R#74)
5. Error: estimate_distance_parameter gives correct mean (@test-runCicero.R#91)
6. Failure: assemble_connections gives output (@test-runCicero.R#152)
7. Failure: assemble_connections gives output (@test-runCicero.R#160)
8. Failure: run_cicero gives output (@test-runCicero.R#172)
9. Failure: run_cicero gives output (@test-runCicero.R#177)
1. ...
Error: testthat unit tests failed
Execution halted
|
cicero.Rcheck/tests_x64/testthat.Rout.fail
R Under development (unstable) (2019-03-09 r76216) -- "Unsuffered Consequences"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (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(cicero)
Loading required package: monocle
Loading required package: Matrix
Loading required package: Biobase
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:Matrix':
colMeans, colSums, rowMeans, rowSums, which
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
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: ggplot2
Loading required package: VGAM
Loading required package: stats4
Loading required package: splines
Loading required package: DDRTree
Loading required package: irlba
Loading required package: Gviz
Loading required package: S4Vectors
Attaching package: 'S4Vectors'
The following object is masked from 'package:Matrix':
expand
The following object is masked from 'package:base':
expand.grid
Loading required package: IRanges
Attaching package: 'IRanges'
The following object is masked from 'package:grDevices':
windows
Loading required package: GenomicRanges
Loading required package: GenomeInfoDb
Loading required package: grid
>
> test_check("cicero")
-- 1. Failure: make_cicero_cds aggregates correctly (@test-runCicero.R#30) ----
ncol(exprs(cicero_cds)) not equal to 36.
1/1 mismatches
[1] 34 - 36 == -2
-- 2. Failure: make_cicero_cds aggregates correctly (@test-runCicero.R#50) ----
ncol(exprs(cicero_cds)) not equal to 36.
1/1 mismatches
[1] 34 - 36 == -2
-- 3. Failure: estimate_distance_parameter gives correct mean (@test-runCicero.R
`mean_alpha` not equal to 2.030655.
1/1 mismatches
[1] 2.25 - 2.03 == 0.219
-- 4. Failure: estimate_distance_parameter gives correct mean (@test-runCicero.R
`mean_alpha` not equal to 2.030655.
1/1 mismatches
[1] 2.25 - 2.03 == 0.219
-- 5. Error: estimate_distance_parameter gives correct mean (@test-runCicero.R#9
No distance_parameters calculated
1: testthat::expect_warning(alphas <- estimate_distance_parameter(cicero_cds, window = 10000,
maxit = 100, sample_num = 2, distance_constraint = 5000, distance_parameter_convergence = 1e-22,
genomic_coords = sample_genome)) at testthat/test-runCicero.R:91
2: quasi_capture(enquo(object), capture_warnings, label = label)
3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
4: withCallingHandlers(code, warning = function(condition) {
out$push(condition)
invokeRestart("muffleWarning")
})
5: eval_bare(get_expr(quo), get_env(quo))
6: estimate_distance_parameter(cicero_cds, window = 10000, maxit = 100, sample_num = 2,
distance_constraint = 5000, distance_parameter_convergence = 1e-22, genomic_coords = sample_genome)
7: stop("No distance_parameters calculated")
-- 6. Failure: assemble_connections gives output (@test-runCicero.R#152) ------
con_list[[1]]$w[1, 2] not equal to 1.028059.
1/1 mismatches
[1] 0.866 - 1.03 == -0.162
[1] "Successful cicero models: 283"
[1] "Other models: "
Zero or one element in range
30
[1] "Models with errors: 0"
-- 7. Failure: assemble_connections gives output (@test-runCicero.R#160) ------
cons$coaccess[1] not equal to 0.908402.
1/1 mismatches
[1] 0.877 - 0.908 == -0.0309
-- 8. Failure: run_cicero gives output (@test-runCicero.R#172) ----------------
cons$coaccess[1] not equal to 0.9083997.
1/1 mismatches
[1] 0.877 - 0.908 == -0.0309
-- 9. Failure: run_cicero gives output (@test-runCicero.R#177) ----------------
cons$coaccess[1] not equal to 0.9083997.
1/1 mismatches
[1] 0.877 - 0.908 == -0.0309
[1] "Coaccessibility cutoff used: 0.25"
-- 10. Failure: find_overlapping_ccans works (@test-runCicero.R#228) ----------
nrow(over) not equal to 40.
1/1 mismatches
[1] 100 - 40 == 60
-- 11. Failure: find_overlapping_ccans works (@test-runCicero.R#230) ----------
nrow(over) not equal to 2.
1/1 mismatches
[1] 4 - 2 == 2
-- 12. Failure: (unknown) (@test-runCicero.R#246) -----------------------------
unnorm_ga[1, 1] not equal to 1.183498.
1/1 mismatches
[1] 1.19 - 1.18 == 0.0113
-- 13. Failure: build_gene_activity_matrix works (@test-runCicero.R#255) ------
unnorm_ga[1, 1] not equal to 1.183498.
1/1 mismatches
[1] 1.19 - 1.18 == 0.0113
-- 14. Failure: normalize_gene_activities works (@test-runCicero.R#267) -------
cicero_gene_activities[1, 1] not equal to 0.008026735.
1/1 mismatches
[1] 0.00857 - 0.00803 == 0.000546
-- 15. Failure: normalize_gene_activities works (@test-runCicero.R#278) -------
cicero_gene_activities1[1, 1] not equal to 0.008026735.
1/1 mismatches
[1] 0.00857 - 0.00803 == 0.000546
-- 16. Failure: normalize_gene_activities works (@test-runCicero.R#282) -------
cicero_gene_activities2[1, 1] not equal to 0.008026735.
1/1 mismatches
[1] 0.00857 - 0.00803 == 0.000546
-- 17. Failure: normalize_gene_activities works (@test-runCicero.R#289) -------
cicero_gene_activities[1, 1] not equal to 0.008026735.
1/1 mismatches
[1] 0.00857 - 0.00803 == 0.000546
-- 18. Failure: normalize_gene_activities works (@test-runCicero.R#300) -------
cicero_gene_activities1[1, 1] not equal to 0.008026735.
1/1 mismatches
[1] 0.00857 - 0.00803 == 0.000546
-- 19. Failure: normalize_gene_activities works (@test-runCicero.R#304) -------
cicero_gene_activities2[1, 1] not equal to 0.008026735.
1/1 mismatches
[1] 0.00857 - 0.00803 == 0.000546
[1] "Generating fData ranges"
[1] "Generating feature data ranges"
[1] "Determining overlaps"
[1] "Assigning labels"
[1] "Merging to fData table"
[1] "Generating fData ranges"
[1] "Generating feature data ranges"
[1] "Determining overlaps"
[1] "Assigning labels"
[1] "Merging to fData table"
[1] "Generating fData ranges"
[1] "Reading data file"
[1] "Generating feature data ranges"
[1] "Determining overlaps"
[1] "Assigning labels"
[1] "Merging to fData table"
== testthat results ===========================================================
OK: 180 SKIPPED: 19 FAILED: 19
1. Failure: make_cicero_cds aggregates correctly (@test-runCicero.R#30)
2. Failure: make_cicero_cds aggregates correctly (@test-runCicero.R#50)
3. Failure: estimate_distance_parameter gives correct mean (@test-runCicero.R#65)
4. Failure: estimate_distance_parameter gives correct mean (@test-runCicero.R#74)
5. Error: estimate_distance_parameter gives correct mean (@test-runCicero.R#91)
6. Failure: assemble_connections gives output (@test-runCicero.R#152)
7. Failure: assemble_connections gives output (@test-runCicero.R#160)
8. Failure: run_cicero gives output (@test-runCicero.R#172)
9. Failure: run_cicero gives output (@test-runCicero.R#177)
1. ...
Error: testthat unit tests failed
Execution halted
|