CRAN Package Check Results for Package demcon

Last updated on 2023-02-03 06:50:13 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 4.43 274.06 278.49 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 2.37 209.13 211.50 OK
r-devel-linux-x86_64-fedora-clang 0.3.0 326.02 OK
r-devel-linux-x86_64-fedora-gcc 0.3.0 337.75 OK
r-devel-windows-x86_64 0.3.0 36.00 394.00 430.00 OK
r-patched-linux-x86_64 0.3.0 7.15 260.19 267.34 OK
r-release-linux-x86_64 0.3.0 4.21 246.29 250.50 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 22.00 397.00 419.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 336.00 344.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' [147s]
    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 31 | SKIP 1 | PASS 46 ]
    
     == Skipped tests ===============================================================
     * On CRAN (1)
    
     == Failed tests ================================================================
     -- Error ('test-get_cce.R:5'): 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'): 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'): 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'): 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'): 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 31 | 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