CRAN Package Check Results for Package pct

Last updated on 2021-10-18 00:48:22 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.1 4.70 203.52 208.22 OK
r-devel-linux-x86_64-debian-gcc 0.9.1 3.37 148.87 152.24 OK
r-devel-linux-x86_64-fedora-clang 0.9.1 257.09 NOTE
r-devel-linux-x86_64-fedora-gcc 0.9.1 255.88 NOTE
r-devel-windows-x86_64 0.9.1 9.00 297.00 306.00 NOTE
r-devel-windows-x86_64-gcc10-UCRT 0.9.1 ERROR
r-patched-linux-x86_64 0.9.1 4.35 238.88 243.23 OK
r-patched-solaris-x86 0.9.1 384.90 WARN
r-release-linux-x86_64 0.9.1 4.20 236.90 241.10 OK
r-release-macos-arm64 0.9.1 NOTE
r-release-macos-x86_64 0.9.1 WARN
r-release-windows-ix86+x86_64 0.9.1 20.00 350.00 370.00 NOTE
r-oldrel-macos-x86_64 0.9.1 WARN
r-oldrel-windows-ix86+x86_64 0.9.1 9.00 300.00 309.00 NOTE

Check Details

Version: 0.9.1
Check: installed package size
Result: NOTE
     installed size is 9.3Mb
     sub-directories of 1Mb or more:
     doc 8.1Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.9.1
Check: data for non-ASCII characters
Result: NOTE
     Note: found 11 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.9.1
Check: examples
Result: ERROR
    Running examples in 'pct-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: uptake_pct_govtarget
    > ### Title: Calculate cycling uptake for UK 'Government Target' scenario
    > ### Aliases: uptake_pct_govtarget uptake_pct_govtarget_2020
    > ### uptake_pct_godutch_2020 uptake_pct_ebike_2020
    > ### uptake_pct_govtarget_school2 uptake_pct_godutch_school2
    >
    > ### ** Examples
    >
    > distance = 15
    > gradient = 2
    > logit_pcycle = -3.959 + # alpha
    + (-0.5963 * distance) + # d1
    + (1.866 * sqrt(distance)) + # d2
    + (0.008050 * distance^2) + # d3
    + (-0.2710 * gradient) + # h1
    + (0.009394 * distance * gradient) + # i1
    + (-0.05135 * sqrt(distance) * gradient) # i2
    > boot::inv.logit(logit_pcycle)
    [1] 0.0107377
    > uptake_pct_govtarget(15, 2)
    [1] 0.0107377
    > l = routes_fast_leeds
    > pcycle_scenario = uptake_pct_govtarget(l$length, l$av_incline)
    > pcycle_scenario_2020 = uptake_pct_govtarget_2020(l$length, l$av_incline)
    > plot(l$length, pcycle_scenario, ylim = c(0, 0.2))
    > points(l$length, pcycle_scenario_2020, col = "blue")
    >
    > # compare with published PCT data:
    > l_pct_2020 = get_pct_lines(region = "isle-of-wight")
    Warning in CPL_read_ogr(dsn, layer, query, as.character(options), quiet, :
     GDAL Error 1: SSL certificate problem: unable to get local issuer certificate
    Error: Cannot open "https://github.com/npct/pct-outputs-regional-notR/raw/master/commute/lsoa/isle-of-wight/l.geojson"; The file doesn't seem to exist.
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.9.1
Check: tests
Result: ERROR
     Running 'skip-heavy.R'
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(pct)
     >
     > test_check("pct")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (1)
     • empty test (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-get-pct.R:11:3): get_pct_ works ─────────────────────────────────
     <Rcpp::exception/C++Error/error/condition>
     Error: Cannot open "https://github.com/npct/pct-outputs-regional-notR/raw/master/commute/lsoa/isle-of-wight/z.geojson"; The file doesn't seem to exist.
     Backtrace:
     █
     1. └─pct::get_pct_zones("isle-of-wight") test-get-pct.R:11:2
     2. └─pct::get_pct(...)
     3. └─sf::read_sf(u_file)
     4. ├─sf::st_read(...)
     5. └─sf:::st_read.character(...)
     6. └─sf:::CPL_read_ogr(...)
    
     [ FAIL 1 | WARN 1 | SKIP 2 | PASS 14 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.9.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'cycling-potential-uk.Rmd' using rmarkdown
    --- finished re-building 'cycling-potential-uk.Rmd'
    
    --- re-building 'km-cycled.Rmd' using rmarkdown
    Warning in CPL_read_ogr(dsn, layer, query, as.character(options), quiet, :
     GDAL Error 1: SSL certificate problem: unable to get local issuer certificate
    Quitting from lines 31-37 (km-cycled.Rmd)
    Error: processing vignette 'km-cycled.Rmd' failed with diagnostics:
    Cannot open "https://github.com/npct/pct-outputs-regional-notR/raw/master/commute/lsoa/oxfordshire/rnet_full.geojson"; The file doesn't seem to exist.
    --- failed re-building 'km-cycled.Rmd'
    
    --- re-building 'pct-international.Rmd' using rmarkdown
    --- finished re-building 'pct-international.Rmd'
    
    --- re-building 'pct.Rmd' using rmarkdown
    Linking to GEOS 3.9.1, GDAL 3.3.2, PROJ 7.2.1
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Quitting from lines 115-117 (pct.Rmd)
    Error: processing vignette 'pct.Rmd' failed with diagnostics:
    Cannot open "https://github.com/npct/pct-outputs-regional-notR/raw/master/commute/msoa/isle-of-wight/c.geojson"; The file doesn't seem to exist.
    --- failed re-building 'pct.Rmd'
    
    --- re-building 'pct_training.Rmd' using rmarkdown
    Quitting from lines 238-243 (pct_training.Rmd)
    Error: processing vignette 'pct_training.Rmd' failed with diagnostics:
    Cannot open "https://github.com/npct/pct-outputs-regional-notR/raw/master/commute/msoa/isle-of-wight/z.geojson"; The file doesn't seem to exist.
    --- failed re-building 'pct_training.Rmd'
    
    --- re-building 'uk-cities.Rmd' using rmarkdown
    Quitting from lines 45-47 (uk-cities.Rmd)
    Error: processing vignette 'uk-cities.Rmd' failed with diagnostics:
    Cannot open "https://github.com/npct/pct-outputs-regional-notR/raw/master/commute/lsoa/wales/z.geojson"; The file doesn't seem to exist.
    --- failed re-building 'uk-cities.Rmd'
    
    SUMMARY: processing the following files failed:
     'km-cycled.Rmd' 'pct.Rmd' 'pct_training.Rmd' 'uk-cities.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.9.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘cycling-potential-uk.Rmd’ using rmarkdown
    Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
    --- finished re-building ‘cycling-potential-uk.Rmd’
    
    --- re-building ‘km-cycled.Rmd’ using rmarkdown
    Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
    Warning in st_centroid.sf(rnet) :
     st_centroid assumes attributes are constant over geometries of x
    tmap mode set to plotting
    Warning in st_centroid.sf(rnet) :
     st_centroid assumes attributes are constant over geometries of x
    tmap mode set to plotting
    Warning in st_centroid.sf(rnet) :
     st_centroid assumes attributes are constant over geometries of x
    tmap mode set to plotting
    Warning in st_centroid.sf(rnet) :
     st_centroid assumes attributes are constant over geometries of x
    tmap mode set to plotting
    Warning in st_centroid.sf(rnet) :
     st_centroid assumes attributes are constant over geometries of x
    tmap mode set to plotting
    Warning in st_centroid.sf(rnet) :
     st_centroid assumes attributes are constant over geometries of x
    tmap mode set to plotting
    --- finished re-building ‘km-cycled.Rmd’
    
    --- re-building ‘pct-international.Rmd’ using rmarkdown
    Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
    Quitting from lines 109-116 (pct-international.Rmd)
    Error: processing vignette 'pct-international.Rmd' failed with diagnostics:
    there is no package called 'webshot'
    --- failed re-building ‘pct-international.Rmd’
    
    --- re-building ‘pct.Rmd’ using rmarkdown
    Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
    Linking to GEOS 3.9.1, GDAL 2.4.4, PROJ 5.2.0
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Quitting from lines 169-175 (pct.Rmd)
    Error: processing vignette 'pct.Rmd' failed with diagnostics:
    there is no package called 'webshot'
    --- failed re-building ‘pct.Rmd’
    
    --- re-building ‘pct_training.Rmd’ using rmarkdown
    Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
    Quitting from lines 277-281 (pct_training.Rmd)
    Error: processing vignette 'pct_training.Rmd' failed with diagnostics:
    there is no package called 'webshot'
    --- failed re-building ‘pct_training.Rmd’
    
    --- re-building ‘uk-cities.Rmd’ using rmarkdown
    Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Linking to GEOS 3.9.1, GDAL 2.4.4, PROJ 5.2.0
    --- finished re-building ‘uk-cities.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘pct-international.Rmd’ ‘pct.Rmd’ ‘pct_training.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.9.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘cycling-potential-uk.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    --- finished re-building ‘cycling-potential-uk.Rmd’
    
    --- re-building ‘km-cycled.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Warning in st_centroid.sf(rnet) :
     st_centroid assumes attributes are constant over geometries of x
    tmap mode set to plotting
    Warning in st_centroid.sf(rnet) :
     st_centroid assumes attributes are constant over geometries of x
    tmap mode set to plotting
    Warning in st_centroid.sf(rnet) :
     st_centroid assumes attributes are constant over geometries of x
    tmap mode set to plotting
    Warning in st_centroid.sf(rnet) :
     st_centroid assumes attributes are constant over geometries of x
    tmap mode set to plotting
    Warning in st_centroid.sf(rnet) :
     st_centroid assumes attributes are constant over geometries of x
    tmap mode set to plotting
    Warning in st_centroid.sf(rnet) :
     st_centroid assumes attributes are constant over geometries of x
    tmap mode set to plotting
    --- finished re-building ‘km-cycled.Rmd’
    
    --- re-building ‘pct-international.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Quitting from lines 109-116 (pct-international.Rmd)
    Error: processing vignette 'pct-international.Rmd' failed with diagnostics:
    invalid 'path' argument
    --- failed re-building ‘pct-international.Rmd’
    
    --- re-building ‘pct.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Linking to GEOS 3.8.1, GDAL 3.2.1, PROJ 7.2.1
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Quitting from lines 169-175 (pct.Rmd)
    Error: processing vignette 'pct.Rmd' failed with diagnostics:
    invalid 'path' argument
    --- failed re-building ‘pct.Rmd’
    
    --- re-building ‘pct_training.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Quitting from lines 277-281 (pct_training.Rmd)
    Error: processing vignette 'pct_training.Rmd' failed with diagnostics:
    invalid 'path' argument
    --- failed re-building ‘pct_training.Rmd’
    
    --- re-building ‘uk-cities.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Linking to GEOS 3.8.1, GDAL 3.2.1, PROJ 7.2.1
    --- finished re-building ‘uk-cities.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘pct-international.Rmd’ ‘pct.Rmd’ ‘pct_training.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64