CRAN Package Check Results for Package deeptime

Last updated on 2021-10-27 22:56:40 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 7.47 105.93 113.40 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 5.64 76.36 82.00 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 148.06 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 137.28 OK
r-devel-windows-x86_64 0.2.0 13.00 135.00 148.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.2.0 OK
r-patched-linux-x86_64 0.2.0 8.03 97.79 105.82 OK
r-patched-solaris-x86 0.2.0 174.10 OK
r-release-linux-x86_64 0.2.0 5.59 97.93 103.52 OK
r-release-macos-arm64 0.2.0 OK
r-release-macos-x86_64 0.2.0 ERROR
r-release-windows-ix86+x86_64 0.2.0 14.00 138.00 152.00 OK
r-oldrel-macos-x86_64 0.2.0 ERROR
r-oldrel-windows-ix86+x86_64 0.2.0 13.00 127.00 140.00 ERROR

Check Details

Version: 0.2.0
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘ggtree’
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in ‘deeptime-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: gggeo_scale_old
    > ### Title: Add a geologic scale to ggplots (old version)
    > ### Aliases: gggeo_scale_old
    >
    > ### ** Examples
    >
    > library(ggplot2)
    > # bottom scale by default
    > p <- ggplot() +
    + geom_point(aes(y = runif(1000, .5, 8), x = runif(1000, 0, 1000))) +
    + scale_x_reverse() +
    + coord_cartesian(xlim = c(0, 1000), ylim = c(0,8), expand = FALSE) +
    + theme_classic()
    > gggeo_scale_old(p)
    >
    > # can specify any side of the plot
    > p <- ggplot() +
    + geom_point(aes(x = runif(1000, .5, 8), y = runif(1000, 0, 1000))) +
    + scale_y_reverse() +
    + coord_cartesian(xlim = c(0, 8), ylim = c(0,1000), expand = FALSE) +
    + theme_classic()
    > gggeo_scale_old(p, pos = "left", rot = 90)
    >
    > # can add multiple scales
    > p <- ggplot() +
    + geom_point(aes(y = runif(1000, 1, 8), x = runif(1000, 0, 1000))) +
    + scale_x_reverse() +
    + coord_cartesian(xlim = c(0, 100), ylim = c(0,8), expand = FALSE) +
    + theme_classic()
    > p <- gggeo_scale_old(p, height = .03, abbrv = FALSE)
    > p <- gggeo_scale_old(p, dat = "epochs", gap = .03, height = .1, rot = 90, size = 2.5, abbrv = FALSE)
    >
    > # intervals on both sides for different timescales (ICS stages vs North American Land Mammal Ages)
    > p <- ggplot() +
    + geom_point(aes(x = runif(1000, 1, 9), y = runif(1000, 0, 65))) +
    + scale_y_reverse() +
    + coord_cartesian(xlim = c(0, 10), ylim = c(0,65), expand = FALSE) +
    + theme_classic()
    > p <- gggeo_scale_old(p, dat = "stages", pos = "left", height = .1, size = 2.5, abbrv = FALSE)
    > gggeo_scale_old(p, dat = "North American Land Mammal Ages", pos = "right", height = .1, size = 2.5,
    + abbrv = FALSE)
    >
    > #can add scales to a faceted plot
    > df <- data.frame(x = runif(1000,0,541), y = runif(1000,.5,8), z = sample(c(1,2,3,4), 1000, TRUE))
    > p <- ggplot(df) +
    + geom_point(aes(x, y)) +
    + scale_x_reverse() +
    + coord_cartesian(xlim = c(0, 541), ylim = c(0,8), expand = FALSE) +
    + theme_classic() +
    + facet_wrap(~z, nrow = 2)
    > gggeo_scale_old(p)
    >
    > #can even add a scale to a phylogeny (using ggtree)
    > library(phytools)
    Loading required package: ape
    Loading required package: maps
    > library(ggtree)
    Error in library(ggtree) : there is no package called ‘ggtree’
    Execution halted
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [8s/13s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     [ FAIL 1 | WARN 0 | SKIP 13 | PASS 15 ]
     Deleting unused snapshots:
     * coord_geo/scale-on-all-facets.svg
     * coord_geo/scale-on-fossil-ggtree.svg
     * coord_geo/scale-on-ggtree.svg
     * coord_trans_xy/coord-trans-xy-with-expansion.svg
     * ggarrange2/double-ggarrange2-layout.svg
     * ggarrange2/double-ggarrange2.svg
     * ggarrange2/ggarrange2-layout.svg
     * ggarrange2/ggarrange2-with-layout-layout.svg
     * ggarrange2/ggarrange2-with-layout.svg
     * gggeo_scale/gggeo-scale-left-and-right.svg
     * gggeo_scale/gggeo-scale-top.svg
     Error: Test failures
     Execution halted
Flavor: r-release-macos-x86_64

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [9s/14s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     [ FAIL 1 | WARN 0 | SKIP 13 | PASS 15 ]
     Deleting unused snapshots:
     * coord_geo/scale-on-all-facets.svg
     * coord_geo/scale-on-fossil-ggtree.svg
     * coord_geo/scale-on-ggtree.svg
     * coord_trans_xy/coord-trans-xy-with-expansion.svg
     * ggarrange2/double-ggarrange2-layout.svg
     * ggarrange2/double-ggarrange2.svg
     * ggarrange2/ggarrange2-layout.svg
     * ggarrange2/ggarrange2-with-layout-layout.svg
     * ggarrange2/ggarrange2-with-layout.svg
     * gggeo_scale/gggeo-scale-left-and-right.svg
     * gggeo_scale/gggeo-scale-top.svg
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in 'deeptime-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: gggeo_scale_old
    > ### Title: Add a geologic scale to ggplots (old version)
    > ### Aliases: gggeo_scale_old
    >
    > ### ** Examples
    >
    > library(ggplot2)
    > # bottom scale by default
    > p <- ggplot() +
    + geom_point(aes(y = runif(1000, .5, 8), x = runif(1000, 0, 1000))) +
    + scale_x_reverse() +
    + coord_cartesian(xlim = c(0, 1000), ylim = c(0,8), expand = FALSE) +
    + theme_classic()
    > gggeo_scale_old(p)
    >
    > # can specify any side of the plot
    > p <- ggplot() +
    + geom_point(aes(x = runif(1000, .5, 8), y = runif(1000, 0, 1000))) +
    + scale_y_reverse() +
    + coord_cartesian(xlim = c(0, 8), ylim = c(0,1000), expand = FALSE) +
    + theme_classic()
    > gggeo_scale_old(p, pos = "left", rot = 90)
    >
    > # can add multiple scales
    > p <- ggplot() +
    + geom_point(aes(y = runif(1000, 1, 8), x = runif(1000, 0, 1000))) +
    + scale_x_reverse() +
    + coord_cartesian(xlim = c(0, 100), ylim = c(0,8), expand = FALSE) +
    + theme_classic()
    > p <- gggeo_scale_old(p, height = .03, abbrv = FALSE)
    > p <- gggeo_scale_old(p, dat = "epochs", gap = .03, height = .1, rot = 90, size = 2.5, abbrv = FALSE)
    >
    > # intervals on both sides for different timescales (ICS stages vs North American Land Mammal Ages)
    > p <- ggplot() +
    + geom_point(aes(x = runif(1000, 1, 9), y = runif(1000, 0, 65))) +
    + scale_y_reverse() +
    + coord_cartesian(xlim = c(0, 10), ylim = c(0,65), expand = FALSE) +
    + theme_classic()
    > p <- gggeo_scale_old(p, dat = "stages", pos = "left", height = .1, size = 2.5, abbrv = FALSE)
    > gggeo_scale_old(p, dat = "North American Land Mammal Ages", pos = "right", height = .1, size = 2.5,
    + abbrv = FALSE)
    >
    > #can add scales to a faceted plot
    > df <- data.frame(x = runif(1000,0,541), y = runif(1000,.5,8), z = sample(c(1,2,3,4), 1000, TRUE))
    > p <- ggplot(df) +
    + geom_point(aes(x, y)) +
    + scale_x_reverse() +
    + coord_cartesian(xlim = c(0, 541), ylim = c(0,8), expand = FALSE) +
    + theme_classic() +
    + facet_wrap(~z, nrow = 2)
    > gggeo_scale_old(p)
    >
    > #can even add a scale to a phylogeny (using ggtree)
    > library(phytools)
    Loading required package: ape
    Loading required package: maps
    > library(ggtree)
    Error: package or namespace load failed for 'ggtree':
     object 'get_aes_var' is not exported by 'namespace:rvcheck'
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.2.0
Check: tests
Result: ERROR
     Running 'testthat.R' [26s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(deeptime)
     >
     > test_check("deeptime")
     NULL
     == Skipped tests ===============================================================
     * The R graphics engine is too old. (13)
    
     == Failed tests ================================================================
     -- Error (test-coord_geo.R:107:1): (code run outside of `test_that()`) ---------
     Error: package or namespace load failed for 'ggtree':
     object 'get_aes_var' is not exported by 'namespace:rvcheck'
     Backtrace:
     x
     1. +-base::suppressPackageStartupMessages(library(ggtree, quietly = TRUE)) test-coord_geo.R:107:0
     2. | \-base::withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage"))
     3. \-base::library(ggtree, quietly = TRUE)
     4. \-base::tryCatch(...)
     5. \-base:::tryCatchList(expr, classes, parentenv, handlers)
     6. \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     7. \-value[[3L]](cond)
    
     [ FAIL 1 | WARN 0 | SKIP 13 | PASS 15 ]
     Deleting unused snapshots:
     * coord_geo/scale-on-all-facets.svg
     * coord_geo/scale-on-fossil-ggtree.svg
     * coord_geo/scale-on-ggtree.svg
     * coord_trans_xy/coord-trans-xy-with-expansion.svg
     * ggarrange2/double-ggarrange2-layout.svg
     * ggarrange2/double-ggarrange2.svg
     * ggarrange2/ggarrange2-layout.svg
     * ggarrange2/ggarrange2-with-layout-layout.svg
     * ggarrange2/ggarrange2-with-layout.svg
     * gggeo_scale/gggeo-scale-left-and-right.svg
     * gggeo_scale/gggeo-scale-top.svg
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64