CRAN Package Check Results for Package demcon

Last updated on 2022-09-11 12:56:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 3.73 260.20 263.93 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 3.09 199.75 202.84 OK
r-devel-linux-x86_64-fedora-clang 0.3.0 318.75 OK
r-devel-linux-x86_64-fedora-gcc 0.3.0 315.98 OK
r-devel-windows-x86_64 0.3.0 20.00 395.00 415.00 OK
r-patched-linux-x86_64 0.3.0 5.70 250.17 255.87 OK
r-release-linux-x86_64 0.3.0 2.95 248.15 251.10 OK
r-release-macos-arm64 0.3.0 216.00 OK
r-release-macos-x86_64 0.3.0 257.00 OK
r-release-windows-x86_64 0.3.0 17.00 380.00 397.00 OK
r-oldrel-macos-arm64 0.3.0 208.00 OK
r-oldrel-macos-x86_64 0.3.0 263.00 OK
r-oldrel-windows-ix86+x86_64 0.3.0 8.00 374.00 382.00 ERROR

Check Details

Version: 0.3.0
Check: examples
Result: ERROR
    Running examples in 'demcon-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: get_cce
    > ### Title: Retrieve Chronology of Constitutional Events Dataset
    > ### Aliases: get_cce
    >
    > ### ** Examples
    >
    >
    > cce<-get_cce(del_file=TRUE, write_out = FALSE)
    trying URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
    Warning in utils::download.file(cce_url, file.path(tempdir(), "ccpcce_v1_3.zip")) :
     InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
    Error in utils::download.file(cce_url, file.path(tempdir(), "ccpcce_v1_3.zip")) :
     cannot open URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
    Calls: get_cce -> <Anonymous>
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.3.0
Check: tests
Result: ERROR
     Running 'testthat.R' [178s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(demcon)
     >
     > test_check("demcon")
     trying URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
     trying URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
     trying URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
     trying URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
     trying URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
     [ FAIL 5 | WARN 21 | SKIP 1 | PASS 46 ]
    
     == Skipped tests ===============================================================
     * On CRAN (1)
    
     == Failed tests ================================================================
     -- Error (test-get_cce.R:5:3): cce source is still there and downloads ---------
     Error in `utils::download.file(cce_url, file.path(tempdir(), "ccpcce_v1_3.zip"))`: cannot open URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
     Backtrace:
     x
     1. \-demcon::get_cce(del_file = FALSE) at test-get_cce.R:5:2
     2. \-utils::download.file(cce_url, file.path(tempdir(), "ccpcce_v1_3.zip"))
     -- Error (test-get_cce.R:17:3): cce structure is the same ----------------------
     Error in `utils::download.file(cce_url, file.path(tempdir(), "ccpcce_v1_3.zip"))`: cannot open URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
     Backtrace:
     x
     1. \-demcon::get_cce(del_file = FALSE) at test-get_cce.R:17:2
     2. \-utils::download.file(cce_url, file.path(tempdir(), "ccpcce_v1_3.zip"))
     -- Error (test-plot_cce.R:3:3): plot.cce works same as last test ---------------
     Error in `utils::download.file(cce_url, file.path(tempdir(), "ccpcce_v1_3.zip"))`: cannot open URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
     Backtrace:
     x
     1. \-demcon::get_cce() at test-plot_cce.R:3:2
     2. \-utils::download.file(cce_url, file.path(tempdir(), "ccpcce_v1_3.zip"))
     -- Error (test-prep_cce.R:3:3): prep cce completes prep ------------------------
     Error in `utils::download.file(cce_url, file.path(tempdir(), "ccpcce_v1_3.zip"))`: cannot open URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
     Backtrace:
     x
     1. \-demcon::get_cce() at test-prep_cce.R:3:2
     2. \-utils::download.file(cce_url, file.path(tempdir(), "ccpcce_v1_3.zip"))
     -- Error (test-utils.R:2:3): multi_sub indexes properly ------------------------
     Error in `utils::download.file(cce_url, file.path(tempdir(), "ccpcce_v1_3.zip"))`: cannot open URL 'https://comparativeconstitutionsproject.org/data/ccpcce_v1_3.zip'
     Backtrace:
     x
     1. \-demcon::get_cce() at test-utils.R:2:2
     2. \-utils::download.file(cce_url, file.path(tempdir(), "ccpcce_v1_3.zip"))
    
     [ FAIL 5 | WARN 21 | SKIP 1 | PASS 46 ]
     Deleting unused snapshots:
     * plot_cce/france-cce-plot.svg
     * plot_cshp_mult/yemens-secession-plot.svg
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64