* using log directory ‘/data/blackswan/ripley/R/packages/tests-vg/bikedata.Rcheck’ * using R Under development (unstable) (2020-01-11 r77654) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using options ‘--use-valgrind --no-stop-on-test-error’ * checking for file ‘bikedata/DESCRIPTION’ ... OK * this is package ‘bikedata’ version ‘0.2.4’ * package encoding: UTF-8 * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package ‘bikedata’ can be installed ... [98s/88s] OK * checking package directory ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking contents of ‘data’ directory ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘bikedata-Ex.R’ failed The error most likely occurred in: > ### Name: bike_db_totals > ### Title: Count number of entries in sqlite3 database tables > ### Aliases: bike_db_totals > > ### ** Examples > > data_dir <- tempdir () > bike_write_test_data (data_dir = data_dir) adding: tmp/RtmpEUyEYc/Divvy_Trips_sample/ (stored 0%) adding: tmp/RtmpEUyEYc/Divvy_Trips_sample/Divvy_Trips_sample.csv (deflated 79%) adding: tmp/RtmpEUyEYc/Divvy_Trips_sample/Divvy_Stations.csv (deflated 68%) adding: tmp/RtmpEUyEYc/201701-hubway-tripdata.csv (deflated 81%) adding: tmp/RtmpEUyEYc/201801_hubway_tripdata.csv (deflated 81%) adding: tmp/RtmpEUyEYc/Nice_Ride_data_2012_season/ (stored 0%) adding: tmp/RtmpEUyEYc/Nice_Ride_data_2012_season/Nice_Ride_trip_history_2012_season.csv (deflated 81%) adding: tmp/RtmpEUyEYc/Nice_Ride_data_2012_season/Nice_Ride_2012-station_locations .csv (deflated 62%) adding: tmp/RtmpEUyEYc/2017Q1-capitalbikeshare-tripdata-temp.csv (deflated 80%) adding: tmp/RtmpEUyEYc/la_metro_gbfs_trips_Q1_2017.csv (deflated 85%) adding: tmp/RtmpEUyEYc/201612-citibike-tripdata.csv (deflated 74%) > bikedb <- file.path (data_dir, 'testdb') > store_bikedata (data_dir = data_dir, bikedb = bikedb) Creating sqlite3 database Unzipping raw data files for bo ... Reading files for bo ... reading file 1/3: /tmp/RtmpEUyEYc/hubway_Trips_2012.csv reading file 2/3: /tmp/RtmpEUyEYc/201701-hubway-tripdata.csv reading file 3/3: /tmp/RtmpEUyEYc/201801_hubway_tripdata.csv Trips read for bo = 600 Unzipping raw data files for ch ... Reading files for ch ... reading file 1/1: /tmp/RtmpEUyEYc/Divvy_Trips_sample.csv Trips read for ch = 200 Unzipping raw data files for dc ... Reading files for dc ... reading file 1/1: /tmp/RtmpEUyEYc/2017Q1-capitalbikeshare-tripdata-temp.csv Trips read for dc = 200 Unzipping raw data files for la ... Reading files for la ... reading file 1/1: /tmp/RtmpEUyEYc/la_metro_gbfs_trips_Q1_2017.csv Trips read for la = 198 Reading files for lo ... getting london stations ...Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached: [api.tfl.gov.uk] Resolving timed out after 10000 milliseconds Calls: store_bikedata ... request_fetch -> request_fetch.write_memory -> Execution halted ==10830== ==10830== HEAP SUMMARY: ==10830== in use at exit: 100,351,703 bytes in 20,936 blocks ==10830== total heap usage: 228,497 allocs, 207,561 frees, 248,590,376 bytes allocated ==10830== ==10830== LEAK SUMMARY: ==10830== definitely lost: 0 bytes in 0 blocks ==10830== indirectly lost: 0 bytes in 0 blocks ==10830== possibly lost: 0 bytes in 0 blocks ==10830== still reachable: 100,351,703 bytes in 20,936 blocks ==10830== suppressed: 0 bytes in 0 blocks ==10830== Reachable blocks (those to which a pointer was found) are not shown. ==10830== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==10830== ==10830== For lists of detected and suppressed errors, rerun with: -s ==10830== ERROR SUMMARY: 2400 errors from 2 contexts (suppressed: 0 from 0) * checking tests ... [22m/22m] OK Running ‘testthat.R’ [22m/22m] * checking package vignettes in ‘inst/doc’ ... OK * checking running R code from vignettes ... [22s/22s] OK ‘bikedata.Rmd’ using ‘UTF-8’... [22s/22s] OK * checking re-building of vignette outputs ... OK * DONE Status: 1 ERROR