CRAN Package Check Results for Package stats19

Last updated on 2021-03-14 06:48:18 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.0 3.91 114.24 118.15 WARN
r-devel-linux-x86_64-debian-gcc 1.3.0 2.86 88.51 91.37 WARN
r-devel-linux-x86_64-fedora-clang 1.3.0 146.31 ERROR
r-devel-linux-x86_64-fedora-gcc 1.3.0 132.78 ERROR
r-devel-windows-x86_64-gcc10-UCRT 1.3.0 WARN
r-patched-linux-x86_64 1.3.0 3.61 110.69 114.30 WARN
r-patched-solaris-x86 1.3.0 240.70 ERROR
r-release-linux-x86_64 1.3.0 3.20 110.50 113.70 WARN
r-release-macos-x86_64 1.3.0 WARN
r-oldrel-macos-x86_64 1.3.0 WARN
r-oldrel-windows-ix86+x86_64 1.3.0 5.00 147.00 152.00 WARN

Check Details

Version: 1.3.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building 'blog.Rmd' using rmarkdown
    Files identified: dftRoadSafetyData_Accidents_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    Data saved at /tmp/RtmpymJWL2/dftRoadSafetyData_Accidents_2017/Acc.csv
    Reading in:
    /tmp/RtmpymJWL2/dftRoadSafetyData_Accidents_2017/Acc.csv
    date and time columns present, creating formatted datetime column
    Linking to GEOS 3.9.0, 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
    
    Files identified: dftRoadSafetyData_Casualties_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Data saved at /tmp/RtmpymJWL2/dftRoadSafetyData_Casualties_2017/Cas.csv
    Files identified: dftRoadSafetyData_Vehicles_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    Data saved at /tmp/RtmpymJWL2/dftRoadSafetyData_Vehicles_2017/Veh.csv
    Joining, by = "accident_index"
    UTF-8 decoding error in blog.utf8.md at byte offset 23878 (fc).
    The input must be a UTF-8 encoded text.
    Error: processing vignette 'blog.Rmd' failed with diagnostics:
    pandoc document conversion failed with error 92
    --- failed re-building 'blog.Rmd'
    
    --- re-building 'stats19-training-setup.Rmd' using rmarkdown
    --- finished re-building 'stats19-training-setup.Rmd'
    
    --- re-building 'stats19-training.Rmd' using rmarkdown
    
    Attaching package: 'lubridate'
    
    The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[crashes_sf[2, ], ], col = "blue", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[zones_containing_crashes, ], col = "yellow", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Quitting from lines 953-962 (stats19-training.Rmd)
    Error: processing vignette 'stats19-training.Rmd' failed with diagnostics:
    Assigned data `NA` must be compatible with existing data.
    i Error occurred for column `casualty_type`.
    x Can't convert <logical> to <character>.
    --- failed re-building 'stats19-training.Rmd'
    
    --- re-building 'stats19-vehicles.Rmd' using rmarkdown
    Data provided under OGL v3.0. Cite the source and link to:
    www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
    
    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
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2018.csv'
    Content type 'application/octet-stream' length 14803084 bytes (14.1 MB)
    ==================================================
    downloaded 14.1 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2018.csv'
    Content type 'application/octet-stream' length 16827907 bytes (16.0 MB)
    ==================================================
    downloaded 16.0 MB
    
    --- finished re-building 'stats19-vehicles.Rmd'
    
    --- re-building 'stats19.Rmd' using rmarkdown
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Joining, by = "accident_index"
    --- finished re-building 'stats19.Rmd'
    
    SUMMARY: processing the following files failed:
     'blog.Rmd' 'stats19-training.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.3.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘blog.Rmd’ using rmarkdown
    Files identified: dftRoadSafetyData_Accidents_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip
    Attempt downloading from:
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip’
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    Data saved at /home/hornik/tmp/scratch/RtmpXDDjrT/dftRoadSafetyData_Accidents_2017/Acc.csv
    Reading in:
    /home/hornik/tmp/scratch/RtmpXDDjrT/dftRoadSafetyData_Accidents_2017/Acc.csv
    date and time columns present, creating formatted datetime column
    Linking to GEOS 3.9.0, 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
    
    Files identified: dftRoadSafetyData_Casualties_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip
    Attempt downloading from:
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip’
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Data saved at /home/hornik/tmp/scratch/RtmpXDDjrT/dftRoadSafetyData_Casualties_2017/Cas.csv
    Files identified: dftRoadSafetyData_Vehicles_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip
    Attempt downloading from:
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip’
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    Data saved at /home/hornik/tmp/scratch/RtmpXDDjrT/dftRoadSafetyData_Vehicles_2017/Veh.csv
    Joining, by = "accident_index"
    --- finished re-building ‘blog.Rmd’
    
    --- re-building ‘stats19-training-setup.Rmd’ using rmarkdown
    --- finished re-building ‘stats19-training-setup.Rmd’
    
    --- re-building ‘stats19-training.Rmd’ using rmarkdown
    
    Attaching package: 'lubridate'
    
    The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[crashes_sf[2, ], ], col = "blue", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[zones_containing_crashes, ], col = "yellow", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Quitting from lines 953-962 (stats19-training.Rmd)
    Error: processing vignette 'stats19-training.Rmd' failed with diagnostics:
    Assigned data `NA` must be compatible with existing data.
    ℹ Error occurred for column `casualty_type`.
    ✖ Can't convert <logical> to <character>.
    --- failed re-building ‘stats19-training.Rmd’
    
    --- re-building ‘stats19-vehicles.Rmd’ using rmarkdown
    Data provided under OGL v3.0. Cite the source and link to:
    www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
    
    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
    
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2018.csv’
    Content type 'application/octet-stream' length 14803084 bytes (14.1 MB)
    ==================================================
    downloaded 14.1 MB
    
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2018.csv’
    Content type 'application/octet-stream' length 16827907 bytes (16.0 MB)
    ==================================================
    downloaded 16.0 MB
    
    --- finished re-building ‘stats19-vehicles.Rmd’
    
    --- re-building ‘stats19.Rmd’ using rmarkdown
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip’
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip’
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip’
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Joining, by = "accident_index"
    --- finished re-building ‘stats19.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘stats19-training.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.3.0
Check: dependencies in R code
Result: WARN
    Missing or unexported objects:
     ‘spatstat::owin’ ‘spatstat::ppp’ ‘spatstat::superimpose’
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.3.0
Check: Rd cross-references
Result: WARN
    Missing link or links in documentation object 'format_ppp.Rd':
     ‘[spatstat]{ppp}’
    
    Missing link or links in documentation object 'get_stats19.Rd':
     ‘[spatstat:ppp]{spatstat::ppp}’
    
    See section 'Cross-references' in the 'Writing R Extensions' manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86

Version: 1.3.0
Check: examples
Result: ERROR
    Running examples in ‘stats19-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: format_ppp
    > ### Title: Convert STATS19 data into ppp (spatstat) format.
    > ### Aliases: format_ppp
    >
    > ### ** Examples
    >
    > if (requireNamespace("spatstat", quietly = TRUE)) {
    + x_ppp = format_ppp(accidents_sample)
    + spatstat::plot.ppp(spatstat::unmark(x_ppp))
    + }
    Error: 'owin' is not an exported object from 'namespace:spatstat'
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86

Version: 1.3.0
Check: tests
Result: ERROR
     Running ‘skip-download.R’
     Running ‘testthat.R’ [7s/17s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(stats19)
     Data provided under OGL v3.0. Cite the source and link to:
     www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
     >
     > test_check("stats19")
     trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
     Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
     ==================================================
     downloaded 1.1 MB
    
     trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2016.zip'
     Content type 'application/x-zip-compressed' length 1236846 bytes (1.2 MB)
     ==================================================
     downloaded 1.2 MB
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     ● On CRAN (13)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-format.R:60:3): format_ppp returns ppp object ───────────────────
     Error: 'owin' is not an exported object from 'namespace:spatstat'
     Backtrace:
     █
     1. └─stats19::format_ppp(rd) test-format.R:60:2
     ── Error (test-format.R:66:3): is it possible to change window object in format_ppp ──
     Error: 'owin' is not an exported object from 'namespace:spatstat'
     Backtrace:
     █
     1. └─stats19::format_ppp(rd) test-format.R:66:2
     ── Error (test-format.R:79:3): format_ppp exclude events with missing coordinates ──
     Error: 'owin' is not an exported object from 'namespace:spatstat'
     Backtrace:
     █
     1. └─stats19::format_ppp(rd) test-format.R:79:2
    
     [ FAIL 3 | WARN 1 | SKIP 13 | PASS 32 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.3.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘blog.Rmd’ using rmarkdown
    Files identified: dftRoadSafetyData_Accidents_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    Data saved at /tmp/RtmpjoysmR/working_dir/Rtmp2l61vj/dftRoadSafetyData_Accidents_2017/Acc.csv
    Reading in:
    /tmp/RtmpjoysmR/working_dir/Rtmp2l61vj/dftRoadSafetyData_Accidents_2017/Acc.csv
    date and time columns present, creating formatted datetime column
    Linking to GEOS 3.8.1, GDAL 3.0.4, PROJ 6.3.2
    
    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
    
    Files identified: dftRoadSafetyData_Casualties_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Data saved at /tmp/RtmpjoysmR/working_dir/Rtmp2l61vj/dftRoadSafetyData_Casualties_2017/Cas.csv
    Files identified: dftRoadSafetyData_Vehicles_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    Data saved at /tmp/RtmpjoysmR/working_dir/Rtmp2l61vj/dftRoadSafetyData_Vehicles_2017/Veh.csv
    Joining, by = "accident_index"
    --- finished re-building ‘blog.Rmd’
    
    --- re-building ‘stats19-training-setup.Rmd’ using rmarkdown
    --- finished re-building ‘stats19-training-setup.Rmd’
    
    --- re-building ‘stats19-training.Rmd’ using rmarkdown
    
    Attaching package: 'lubridate'
    
    The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[crashes_sf[2, ], ], col = "blue", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[zones_containing_crashes, ], col = "yellow", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Quitting from lines 953-962 (stats19-training.Rmd)
    Error: processing vignette 'stats19-training.Rmd' failed with diagnostics:
    Assigned data `NA` must be compatible with existing data.
    ℹ Error occurred for column `casualty_type`.
    ✖ Can't convert <logical> to <character>.
    --- failed re-building ‘stats19-training.Rmd’
    
    --- re-building ‘stats19-vehicles.Rmd’ using rmarkdown
    Data provided under OGL v3.0. Cite the source and link to:
    www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
    
    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
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2018.csv'
    Content type 'application/octet-stream' length 14803084 bytes (14.1 MB)
    ==================================================
    downloaded 14.1 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2018.csv'
    Content type 'application/octet-stream' length 16827907 bytes (16.0 MB)
    ==================================================
    downloaded 16.0 MB
    
    --- finished re-building ‘stats19-vehicles.Rmd’
    
    --- re-building ‘stats19.Rmd’ using rmarkdown
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Joining, by = "accident_index"
    --- finished re-building ‘stats19.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘stats19-training.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.3.0
Check: tests
Result: ERROR
     Running ‘skip-download.R’
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(stats19)
     Data provided under OGL v3.0. Cite the source and link to:
     www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
     >
     > test_check("stats19")
     trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
     Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
     ==================================================
     downloaded 1.1 MB
    
     trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2016.zip'
     Content type 'application/x-zip-compressed' length 1236846 bytes (1.2 MB)
     ==================================================
     downloaded 1.2 MB
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     ● On CRAN (13)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-format.R:60:3): format_ppp returns ppp object ───────────────────
     Error: 'owin' is not an exported object from 'namespace:spatstat'
     Backtrace:
     █
     1. └─stats19::format_ppp(rd) test-format.R:60:2
     ── Error (test-format.R:66:3): is it possible to change window object in format_ppp ──
     Error: 'owin' is not an exported object from 'namespace:spatstat'
     Backtrace:
     █
     1. └─stats19::format_ppp(rd) test-format.R:66:2
     ── Error (test-format.R:79:3): format_ppp exclude events with missing coordinates ──
     Error: 'owin' is not an exported object from 'namespace:spatstat'
     Backtrace:
     █
     1. └─stats19::format_ppp(rd) test-format.R:79:2
    
     [ FAIL 3 | WARN 1 | SKIP 13 | PASS 32 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.3.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘blog.Rmd’ using rmarkdown
    Files identified: dftRoadSafetyData_Accidents_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    Data saved at /tmp/RtmpKhcjLn/working_dir/RtmpKlpnqP/dftRoadSafetyData_Accidents_2017/Acc.csv
    Reading in:
    /tmp/RtmpKhcjLn/working_dir/RtmpKlpnqP/dftRoadSafetyData_Accidents_2017/Acc.csv
    date and time columns present, creating formatted datetime column
    Linking to GEOS 3.8.1, GDAL 3.0.4, PROJ 6.3.2
    
    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
    
    Files identified: dftRoadSafetyData_Casualties_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Data saved at /tmp/RtmpKhcjLn/working_dir/RtmpKlpnqP/dftRoadSafetyData_Casualties_2017/Cas.csv
    Files identified: dftRoadSafetyData_Vehicles_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    Data saved at /tmp/RtmpKhcjLn/working_dir/RtmpKlpnqP/dftRoadSafetyData_Vehicles_2017/Veh.csv
    Joining, by = "accident_index"
    --- finished re-building ‘blog.Rmd’
    
    --- re-building ‘stats19-training-setup.Rmd’ using rmarkdown
    --- finished re-building ‘stats19-training-setup.Rmd’
    
    --- re-building ‘stats19-training.Rmd’ using rmarkdown
    
    Attaching package: 'lubridate'
    
    The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[crashes_sf[2, ], ], col = "blue", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[zones_containing_crashes, ], col = "yellow", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Quitting from lines 953-962 (stats19-training.Rmd)
    Error: processing vignette 'stats19-training.Rmd' failed with diagnostics:
    Assigned data `NA` must be compatible with existing data.
    ℹ Error occurred for column `casualty_type`.
    ✖ Can't convert <logical> to <character>.
    --- failed re-building ‘stats19-training.Rmd’
    
    --- re-building ‘stats19-vehicles.Rmd’ using rmarkdown
    Data provided under OGL v3.0. Cite the source and link to:
    www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
    
    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
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2018.csv'
    Content type 'application/octet-stream' length 14803084 bytes (14.1 MB)
    ==================================================
    downloaded 14.1 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2018.csv'
    Content type 'application/octet-stream' length 16827907 bytes (16.0 MB)
    ==================================================
    downloaded 16.0 MB
    
    --- finished re-building ‘stats19-vehicles.Rmd’
    
    --- re-building ‘stats19.Rmd’ using rmarkdown
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Joining, by = "accident_index"
    --- finished re-building ‘stats19.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘stats19-training.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.3.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'blog.Rmd' using rmarkdown
    Files identified: dftRoadSafetyData_Accidents_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    Data saved at C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\stats19\tmp\RtmpcxQoTd/dftRoadSafetyData_Accidents_2017/Acc.csv
    Reading in:
    C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\stats19\tmp\RtmpcxQoTd/dftRoadSafetyData_Accidents_2017/Acc.csv
    date and time columns present, creating formatted datetime column
    Linking to GEOS 3.6.2, GDAL 3.0.4, PROJ 7.0.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
    
    Files identified: dftRoadSafetyData_Casualties_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Data saved at C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\stats19\tmp\RtmpcxQoTd/dftRoadSafetyData_Casualties_2017/Cas.csv
    Files identified: dftRoadSafetyData_Vehicles_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    Data saved at C:\msys64\home\tomas\ucrt3\svn\ucrt3\r_packages\pkgcheck\CRAN\stats19\tmp\RtmpcxQoTd/dftRoadSafetyData_Vehicles_2017/Veh.csv
    Joining, by = "accident_index"
    --- finished re-building 'blog.Rmd'
    
    --- re-building 'stats19-training-setup.Rmd' using rmarkdown
    --- finished re-building 'stats19-training-setup.Rmd'
    
    --- re-building 'stats19-training.Rmd' using rmarkdown
    
    Attaching package: 'lubridate'
    
    The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[crashes_sf[2, ], ], col = "blue", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[zones_containing_crashes, ], col = "yellow", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Quitting from lines 953-962 (stats19-training.Rmd)
    Error: processing vignette 'stats19-training.Rmd' failed with diagnostics:
    Assigned data `NA` must be compatible with existing data.
    i Error occurred for column `casualty_type`.
    x Can't convert <logical> to <character>.
    --- failed re-building 'stats19-training.Rmd'
    
    --- re-building 'stats19-vehicles.Rmd' using rmarkdown
    Data provided under OGL v3.0. Cite the source and link to:
    www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
    
    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
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2018.csv'
    Content type 'application/octet-stream' length 14803084 bytes (14.1 MB)
    ==================================================
    downloaded 14.1 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2018.csv'
    Content type 'application/octet-stream' length 16827907 bytes (16.0 MB)
    ==================================================
    downloaded 16.0 MB
    
    --- finished re-building 'stats19-vehicles.Rmd'
    
    --- re-building 'stats19.Rmd' using rmarkdown
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Joining, by = "accident_index"
    --- finished re-building 'stats19.Rmd'
    
    SUMMARY: processing the following file failed:
     'stats19-training.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.3.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘blog.Rmd’ using rmarkdown
    Files identified: dftRoadSafetyData_Accidents_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip
    Attempt downloading from:
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip’
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    Data saved at /tmp/RtmpBU4G1e/dftRoadSafetyData_Accidents_2017/Acc.csv
    Reading in:
    /tmp/RtmpBU4G1e/dftRoadSafetyData_Accidents_2017/Acc.csv
    date and time columns present, creating formatted datetime column
    Linking to GEOS 3.9.0, 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
    
    Files identified: dftRoadSafetyData_Casualties_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip
    Attempt downloading from:
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip’
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Data saved at /tmp/RtmpBU4G1e/dftRoadSafetyData_Casualties_2017/Cas.csv
    Files identified: dftRoadSafetyData_Vehicles_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip
    Attempt downloading from:
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip’
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    Data saved at /tmp/RtmpBU4G1e/dftRoadSafetyData_Vehicles_2017/Veh.csv
    Joining, by = "accident_index"
    --- finished re-building ‘blog.Rmd’
    
    --- re-building ‘stats19-training-setup.Rmd’ using rmarkdown
    --- finished re-building ‘stats19-training-setup.Rmd’
    
    --- re-building ‘stats19-training.Rmd’ using rmarkdown
    
    Attaching package: 'lubridate'
    
    The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[crashes_sf[2, ], ], col = "blue", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[zones_containing_crashes, ], col = "yellow", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Quitting from lines 953-962 (stats19-training.Rmd)
    Error: processing vignette 'stats19-training.Rmd' failed with diagnostics:
    Assigned data `NA` must be compatible with existing data.
    ℹ Error occurred for column `casualty_type`.
    ✖ Can't convert <logical> to <character>.
    --- failed re-building ‘stats19-training.Rmd’
    
    --- re-building ‘stats19-vehicles.Rmd’ using rmarkdown
    Data provided under OGL v3.0. Cite the source and link to:
    www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
    
    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
    
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2018.csv’
    Content type 'application/octet-stream' length 14803084 bytes (14.1 MB)
    ==================================================
    downloaded 14.1 MB
    
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2018.csv’
    Content type 'application/octet-stream' length 16827907 bytes (16.0 MB)
    ==================================================
    downloaded 16.0 MB
    
    --- finished re-building ‘stats19-vehicles.Rmd’
    
    --- re-building ‘stats19.Rmd’ using rmarkdown
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip’
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip’
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip’
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Joining, by = "accident_index"
    --- finished re-building ‘stats19.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘stats19-training.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-linux-x86_64

Version: 1.3.0
Check: dependencies in R code
Result: NOTE
    Missing or unexported objects:
     ‘spatstat::owin’ ‘spatstat::ppp’ ‘spatstat::superimpose’
Flavor: r-patched-solaris-x86

Version: 1.3.0
Check: tests
Result: ERROR
     Running ‘skip-download.R’
     Running ‘testthat.R’ [10s/21s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(stats19)
     Data provided under OGL v3.0. Cite the source and link to:
     www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
     >
     > test_check("stats19")
     trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
     Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
     ==================================================
     downloaded 1.1 MB
    
     trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2016.zip'
     Content type 'application/x-zip-compressed' length 1236846 bytes (1.2 MB)
     ==================================================
     downloaded 1.2 MB
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     ● On CRAN (13)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-format.R:60:3): format_ppp returns ppp object ───────────────────
     Error: 'owin' is not an exported object from 'namespace:spatstat'
     Backtrace:
     █
     1. └─stats19::format_ppp(rd) test-format.R:60:2
     2. └─spatstat::owin
     3. └─base::getExportedValue(pkg, name)
     ── Error (test-format.R:66:3): is it possible to change window object in format_ppp ──
     Error: 'owin' is not an exported object from 'namespace:spatstat'
     Backtrace:
     █
     1. └─stats19::format_ppp(rd) test-format.R:66:2
     2. └─spatstat::owin
     3. └─base::getExportedValue(pkg, name)
     ── Error (test-format.R:79:3): format_ppp exclude events with missing coordinates ──
     Error: 'owin' is not an exported object from 'namespace:spatstat'
     Backtrace:
     █
     1. └─stats19::format_ppp(rd) test-format.R:79:2
     2. └─spatstat::owin
     3. └─base::getExportedValue(pkg, name)
    
     [ FAIL 3 | WARN 1 | SKIP 13 | PASS 32 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86

Version: 1.3.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘blog.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Files identified: dftRoadSafetyData_Accidents_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    Data saved at /tmp/Rtmp5yaWDZ/working_dir/RtmplvaG5c/dftRoadSafetyData_Accidents_2017/Acc.csv
    Reading in:
    /tmp/Rtmp5yaWDZ/working_dir/RtmplvaG5c/dftRoadSafetyData_Accidents_2017/Acc.csv
    date and time columns present, creating formatted datetime column
    Linking to GEOS 3.6.4, GDAL 2.2.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
    
    Files identified: dftRoadSafetyData_Casualties_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Data saved at /tmp/Rtmp5yaWDZ/working_dir/RtmplvaG5c/dftRoadSafetyData_Casualties_2017/Cas.csv
    Files identified: dftRoadSafetyData_Vehicles_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    Data saved at /tmp/Rtmp5yaWDZ/working_dir/RtmplvaG5c/dftRoadSafetyData_Vehicles_2017/Veh.csv
    Joining, by = "accident_index"
    --- finished re-building ‘blog.Rmd’
    
    --- re-building ‘stats19-training-setup.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    --- finished re-building ‘stats19-training-setup.Rmd’
    
    --- re-building ‘stats19-training.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    Attaching package: 'lubridate'
    
    The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[crashes_sf[2, ], ], col = "blue", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[zones_containing_crashes, ], col = "yellow", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Quitting from lines 953-962 (stats19-training.Rmd)
    Error: processing vignette 'stats19-training.Rmd' failed with diagnostics:
    Assigned data `NA` must be compatible with existing data.
    ℹ Error occurred for column `casualty_type`.
    ✖ Can't convert <logical> to <character>.
    --- failed re-building ‘stats19-training.Rmd’
    
    --- re-building ‘stats19-vehicles.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Data provided under OGL v3.0. Cite the source and link to:
    www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
    
    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
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2018.csv'
    Content type 'application/octet-stream' length 14803084 bytes (14.1 MB)
    ==================================================
    downloaded 14.1 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2018.csv'
    Content type 'application/octet-stream' length 16827907 bytes (16.0 MB)
    ==================================================
    downloaded 16.0 MB
    
    --- finished re-building ‘stats19-vehicles.Rmd’
    
    --- re-building ‘stats19.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Joining, by = "accident_index"
    --- finished re-building ‘stats19.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘stats19-training.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86

Version: 1.3.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘blog.Rmd’ using rmarkdown
    Files identified: dftRoadSafetyData_Accidents_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip
    Attempt downloading from:
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip’
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    Data saved at /tmp/Rtmp0nCMAw/dftRoadSafetyData_Accidents_2017/Acc.csv
    Reading in:
    /tmp/Rtmp0nCMAw/dftRoadSafetyData_Accidents_2017/Acc.csv
    date and time columns present, creating formatted datetime column
    Linking to GEOS 3.9.0, 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
    
    Files identified: dftRoadSafetyData_Casualties_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip
    Attempt downloading from:
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip’
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Data saved at /tmp/Rtmp0nCMAw/dftRoadSafetyData_Casualties_2017/Cas.csv
    Files identified: dftRoadSafetyData_Vehicles_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip
    Attempt downloading from:
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip’
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    Data saved at /tmp/Rtmp0nCMAw/dftRoadSafetyData_Vehicles_2017/Veh.csv
    Joining, by = "accident_index"
    --- finished re-building ‘blog.Rmd’
    
    --- re-building ‘stats19-training-setup.Rmd’ using rmarkdown
    --- finished re-building ‘stats19-training-setup.Rmd’
    
    --- re-building ‘stats19-training.Rmd’ using rmarkdown
    
    Attaching package: 'lubridate'
    
    The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[crashes_sf[2, ], ], col = "blue", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[zones_containing_crashes, ], col = "yellow", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Quitting from lines 953-962 (stats19-training.Rmd)
    Error: processing vignette 'stats19-training.Rmd' failed with diagnostics:
    Assigned data `NA` must be compatible with existing data.
    ℹ Error occurred for column `casualty_type`.
    ✖ Can't convert <logical> to <character>.
    --- failed re-building ‘stats19-training.Rmd’
    
    --- re-building ‘stats19-vehicles.Rmd’ using rmarkdown
    Data provided under OGL v3.0. Cite the source and link to:
    www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
    
    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
    
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2018.csv’
    Content type 'application/octet-stream' length 14803084 bytes (14.1 MB)
    ==================================================
    downloaded 14.1 MB
    
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2018.csv’
    Content type 'application/octet-stream' length 16827907 bytes (16.0 MB)
    ==================================================
    downloaded 16.0 MB
    
    --- finished re-building ‘stats19-vehicles.Rmd’
    
    --- re-building ‘stats19.Rmd’ using rmarkdown
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip’
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip’
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    trying URL ‘http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip’
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Joining, by = "accident_index"
    --- finished re-building ‘stats19.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘stats19-training.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-linux-x86_64

Version: 1.3.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘blog.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Files identified: dftRoadSafetyData_Accidents_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    Data saved at /Volumes/Temp/tmp/Rtmp4Ft2cI/dftRoadSafetyData_Accidents_2017/Acc.csv
    Reading in:
    /Volumes/Temp/tmp/Rtmp4Ft2cI/dftRoadSafetyData_Accidents_2017/Acc.csv
    date and time columns present, creating formatted datetime column
    Linking to GEOS 3.8.1, GDAL 3.1.1, PROJ 6.3.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
    
    Files identified: dftRoadSafetyData_Casualties_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Data saved at /Volumes/Temp/tmp/Rtmp4Ft2cI/dftRoadSafetyData_Casualties_2017/Cas.csv
    Files identified: dftRoadSafetyData_Vehicles_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    Data saved at /Volumes/Temp/tmp/Rtmp4Ft2cI/dftRoadSafetyData_Vehicles_2017/Veh.csv
    `summarise()` ungrouping output (override with `.groups` argument)
    Joining, by = "accident_index"
    --- finished re-building ‘blog.Rmd’
    
    --- re-building ‘stats19-training-setup.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    --- finished re-building ‘stats19-training-setup.Rmd’
    
    --- re-building ‘stats19-training.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    Attaching package: 'lubridate'
    
    The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[crashes_sf[2, ], ], col = "blue", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[zones_containing_crashes, ], col = "yellow", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Quitting from lines 953-962 (stats19-training.Rmd)
    Error: processing vignette 'stats19-training.Rmd' failed with diagnostics:
    cannot open the connection
    --- failed re-building ‘stats19-training.Rmd’
    
    --- re-building ‘stats19-vehicles.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Data provided under OGL v3.0. Cite the source and link to:
    www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
    
    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
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2018.csv'
    Content type 'application/octet-stream' length 14803084 bytes (14.1 MB)
    ==================================================
    downloaded 14.1 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2018.csv'
    Content type 'application/octet-stream' length 16827907 bytes (16.0 MB)
    ==================================================
    downloaded 16.0 MB
    
    --- finished re-building ‘stats19-vehicles.Rmd’
    
    --- re-building ‘stats19.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    `summarise()` ungrouping output (override with `.groups` argument)
    Joining, by = "accident_index"
    --- finished re-building ‘stats19.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘stats19-training.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-macos-x86_64

Version: 1.3.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘blog.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Files identified: dftRoadSafetyData_Accidents_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    Data saved at /tmp/RtmpcA3A01/dftRoadSafetyData_Accidents_2017/Acc.csv
    Reading in:
    /tmp/RtmpcA3A01/dftRoadSafetyData_Accidents_2017/Acc.csv
    date and time columns present, creating formatted datetime column
    Linking to GEOS 3.7.2, GDAL 2.4.2, 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
    
    Files identified: dftRoadSafetyData_Casualties_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Data saved at /tmp/RtmpcA3A01/dftRoadSafetyData_Casualties_2017/Cas.csv
    Files identified: dftRoadSafetyData_Vehicles_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    Data saved at /tmp/RtmpcA3A01/dftRoadSafetyData_Vehicles_2017/Veh.csv
    `summarise()` ungrouping output (override with `.groups` argument)
    Joining, by = "accident_index"
    --- finished re-building ‘blog.Rmd’
    
    --- re-building ‘stats19-training-setup.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    --- finished re-building ‘stats19-training-setup.Rmd’
    
    --- re-building ‘stats19-training.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    Attaching package: 'lubridate'
    
    The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[crashes_sf[2, ], ], col = "blue", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[zones_containing_crashes, ], col = "yellow", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Quitting from lines 953-962 (stats19-training.Rmd)
    Error: processing vignette 'stats19-training.Rmd' failed with diagnostics:
    cannot open the connection
    --- failed re-building ‘stats19-training.Rmd’
    
    --- re-building ‘stats19-vehicles.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Data provided under OGL v3.0. Cite the source and link to:
    www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
    
    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
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2018.csv'
    Content type 'application/octet-stream' length 14803084 bytes (14.1 MB)
    ==================================================
    downloaded 14.1 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2018.csv'
    Content type 'application/octet-stream' length 16827907 bytes (16.0 MB)
    ==================================================
    downloaded 16.0 MB
    
    --- finished re-building ‘stats19-vehicles.Rmd’
    
    --- re-building ‘stats19.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    `summarise()` ungrouping output (override with `.groups` argument)
    Joining, by = "accident_index"
    --- finished re-building ‘stats19.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘stats19-training.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 1.3.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'blog.Rmd' using rmarkdown
    Files identified: dftRoadSafetyData_Accidents_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    Data saved at D:\temp\Rtmp0qzp4Q/dftRoadSafetyData_Accidents_2017/Acc.csv
    Reading in:
    D:\temp\Rtmp0qzp4Q/dftRoadSafetyData_Accidents_2017/Acc.csv
    date and time columns present, creating formatted datetime column
    Linking to GEOS 3.8.0, GDAL 3.0.4, PROJ 6.3.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
    
    Files identified: dftRoadSafetyData_Casualties_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Data saved at D:\temp\Rtmp0qzp4Q/dftRoadSafetyData_Casualties_2017/Cas.csv
    Files identified: dftRoadSafetyData_Vehicles_2017.zip
    
     http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip
    Attempt downloading from:
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    Data saved at D:\temp\Rtmp0qzp4Q/dftRoadSafetyData_Vehicles_2017/Veh.csv
    Joining, by = "accident_index"
    --- finished re-building 'blog.Rmd'
    
    --- re-building 'stats19-training-setup.Rmd' using rmarkdown
    --- finished re-building 'stats19-training-setup.Rmd'
    
    --- re-building 'stats19-training.Rmd' using rmarkdown
    
    Attaching package: 'lubridate'
    
    The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[crashes_sf[2, ], ], col = "blue", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Warning in plot.sf(zones[zones_containing_crashes, ], col = "yellow", add = TRUE) :
     ignoring all but the first attribute
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    although coordinates are longitude/latitude, st_intersects assumes that they are planar
    Quitting from lines 953-962 (stats19-training.Rmd)
    Error: processing vignette 'stats19-training.Rmd' failed with diagnostics:
    Assigned data `NA` must be compatible with existing data.
    i Error occurred for column `casualty_type`.
    x Can't convert <logical> to <factor<4e524>>.
    --- failed re-building 'stats19-training.Rmd'
    
    --- re-building 'stats19-vehicles.Rmd' using rmarkdown
    Data provided under OGL v3.0. Cite the source and link to:
    www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
    
    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
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2018.csv'
    Content type 'application/octet-stream' length 14803084 bytes (14.1 MB)
    ==================================================
    downloaded 14.1 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2018.csv'
    Content type 'application/octet-stream' length 16827907 bytes (16.0 MB)
    ==================================================
    downloaded 16.0 MB
    
    --- finished re-building 'stats19-vehicles.Rmd'
    
    --- re-building 'stats19.Rmd' using rmarkdown
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Accidents_2017.zip'
    Content type 'application/x-zip-compressed' length 3997883 bytes (3.8 MB)
    ==================================================
    downloaded 3.8 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Vehicles_2017.zip'
    Content type 'application/x-zip-compressed' length 2584589 bytes (2.5 MB)
    ==================================================
    downloaded 2.5 MB
    
    trying URL 'http://data.dft.gov.uk.s3.amazonaws.com/road-accidents-safety-data/dftRoadSafetyData_Casualties_2017.zip'
    Content type 'application/x-zip-compressed' length 1169376 bytes (1.1 MB)
    ==================================================
    downloaded 1.1 MB
    
    Joining, by = "accident_index"
    --- finished re-building 'stats19.Rmd'
    
    SUMMARY: processing the following file failed:
     'stats19-training.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64