CRAN Package Check Results for Maintainer ‘Joshua Brinks <jbrinks at isciences.com>’

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

Package ERROR OK
demcon 1 12

Package demcon

Current CRAN status: ERROR: 1, OK: 12

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