Last updated on 2020-09-20 09:58:31 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.4.1 | 2.85 | 49.17 | 52.02 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.4.1 | 2.58 | 32.69 | 35.27 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.4.1 | 67.23 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.4.1 | 57.64 | ERROR | |||
r-devel-windows-ix86+x86_64 | 0.4.1 | 7.00 | 70.00 | 77.00 | ERROR | |
r-patched-linux-x86_64 | 0.4.1 | 3.17 | 41.10 | 44.27 | ERROR | |
r-patched-solaris-x86 | 0.4.1 | 72.40 | ERROR | |||
r-release-linux-x86_64 | 0.4.1 | 3.26 | 41.46 | 44.72 | ERROR | |
r-release-macos-x86_64 | 0.4.1 | OK | ||||
r-release-windows-ix86+x86_64 | 0.4.1 | 7.00 | 68.00 | 75.00 | OK | |
r-oldrel-macos-x86_64 | 0.4.1 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 0.4.1 | 4.00 | 81.00 | 85.00 | ERROR |
Version: 0.4.1
Check: tests
Result: ERROR
Running 'testthat.R' [9s/17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(cde)
>
> test_check("cde")
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/Action?format=csv'
Content type 'application/octet-stream' length 6819 bytes
==================================================
downloaded 6819 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB112071065700/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 7557 bytes
==================================================
downloaded 7557 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB520804714300/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 8500 bytes
==================================================
downloaded 8500 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 43096 bytes (42 KB)
==================================================
downloaded 42 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 455 bytes
==================================================
downloaded 455 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
-- 1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
all(dim(test_mc_avon) == c(594, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3249/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 1010678 bytes (986 KB)
==================================================
downloaded 986 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
-- 2. Failure: dimensions of dataframe for 'Supporting elements' level are as ex
all(dim(test_mc_avon) == c(73, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 10713 bytes (10 KB)
==================================================
downloaded 10 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
river_basin_district management_catchment operational_catchment
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
With an additional 1322 rows and 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB105033042920/pa/csv'
Content type 'application/octet-stream' length 382 bytes
==================================================
downloaded 382 bytes
river_basin_district management_catchment operational_catchment
Anglian Cam and Ely Ouse Lark
Anglian Cam and Ely Ouse Lark
With an additional 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 2237526 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
== testthat results ===========================================================
[ OK: 64 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
2. Failure: dimensions of dataframe for 'Supporting elements' level are as expected (@test-get_status.r#105)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.4.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [4s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cde)
>
> test_check("cde")
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/Action?format=csv'
Content type 'application/octet-stream' length 6819 bytes
==================================================
downloaded 6819 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB112071065700/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 7557 bytes
==================================================
downloaded 7557 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB520804714300/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 8500 bytes
==================================================
downloaded 8500 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 43096 bytes (42 KB)
==================================================
downloaded 42 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 455 bytes
==================================================
downloaded 455 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
── 1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
all(dim(test_mc_avon) == c(594, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3249/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 1010678 bytes (986 KB)
==================================================
downloaded 986 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
── 2. Failure: dimensions of dataframe for 'Supporting elements' level are as ex
all(dim(test_mc_avon) == c(73, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 10713 bytes (10 KB)
==================================================
downloaded 10 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
river_basin_district management_catchment operational_catchment
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
With an additional 1322 rows and 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB105033042920/pa/csv'
Content type 'application/octet-stream' length 382 bytes
==================================================
downloaded 382 bytes
river_basin_district management_catchment operational_catchment
Anglian Cam and Ely Ouse Lark
Anglian Cam and Ely Ouse Lark
With an additional 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 2237526 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 64 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
2. Failure: dimensions of dataframe for 'Supporting elements' level are as expected (@test-get_status.r#105)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cde)
>
> test_check("cde")
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/Action?format=csv'
Content type 'application/octet-stream' length 6819 bytes
==================================================
downloaded 6819 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB112071065700/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 7557 bytes
==================================================
downloaded 7557 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB520804714300/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 8500 bytes
==================================================
downloaded 8500 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 43096 bytes (42 KB)
==================================================
downloaded 42 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 455 bytes
==================================================
downloaded 455 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
── 1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
all(dim(test_mc_avon) == c(594, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3249/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 1010678 bytes (986 KB)
==================================================
downloaded 986 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
── 2. Failure: dimensions of dataframe for 'Supporting elements' level are as ex
all(dim(test_mc_avon) == c(73, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 10713 bytes (10 KB)
==================================================
downloaded 10 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
river_basin_district management_catchment operational_catchment
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
With an additional 1322 rows and 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB105033042920/pa/csv'
Content type 'application/octet-stream' length 382 bytes
==================================================
downloaded 382 bytes
river_basin_district management_catchment operational_catchment
Anglian Cam and Ely Ouse Lark
Anglian Cam and Ely Ouse Lark
With an additional 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 2237526 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 64 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
2. Failure: dimensions of dataframe for 'Supporting elements' level are as expected (@test-get_status.r#105)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.4.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cde)
>
> test_check("cde")
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/Action?format=csv'
Content type 'application/octet-stream' length 6819 bytes
==================================================
downloaded 6819 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB112071065700/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 7557 bytes
==================================================
downloaded 7557 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB520804714300/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 8500 bytes
==================================================
downloaded 8500 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 43096 bytes (42 KB)
==================================================
downloaded 42 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 455 bytes
==================================================
downloaded 455 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
── 1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
all(dim(test_mc_avon) == c(594, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3249/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 1010678 bytes (986 KB)
==================================================
downloaded 986 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
── 2. Failure: dimensions of dataframe for 'Supporting elements' level are as ex
all(dim(test_mc_avon) == c(73, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 10713 bytes (10 KB)
==================================================
downloaded 10 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
river_basin_district management_catchment operational_catchment
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
With an additional 1322 rows and 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB105033042920/pa/csv'
Content type 'application/octet-stream' length 382 bytes
==================================================
downloaded 382 bytes
river_basin_district management_catchment operational_catchment
Anglian Cam and Ely Ouse Lark
Anglian Cam and Ely Ouse Lark
With an additional 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 2237526 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 64 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
2. Failure: dimensions of dataframe for 'Supporting elements' level are as expected (@test-get_status.r#105)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.4.1
Check: tests
Result: ERROR
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(cde)
>
> test_check("cde")
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/Action?format=csv'
Content type 'application/octet-stream' length 6819 bytes
==================================================
downloaded 6819 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB112071065700/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 7557 bytes
==================================================
downloaded 7557 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB520804714300/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 8500 bytes
==================================================
downloaded 8500 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 43096 bytes (42 KB)
==================================================
downloaded 42 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 455 bytes
==================================================
downloaded 455 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
-- 1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
all(dim(test_mc_avon) == c(594, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3249/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 1010678 bytes (986 KB)
==================================================
downloaded 986 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
-- 2. Failure: dimensions of dataframe for 'Supporting elements' level are as ex
all(dim(test_mc_avon) == c(73, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 10713 bytes (10 KB)
==================================================
downloaded 10 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
river_basin_district management_catchment operational_catchment
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
With an additional 1322 rows and 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB105033042920/pa/csv'
Content type 'application/octet-stream' length 382 bytes
==================================================
downloaded 382 bytes
river_basin_district management_catchment operational_catchment
Anglian Cam and Ely Ouse Lark
Anglian Cam and Ely Ouse Lark
With an additional 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 2237526 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
== testthat results ===========================================================
[ OK: 64 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
2. Failure: dimensions of dataframe for 'Supporting elements' level are as expected (@test-get_status.r#105)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 0.4.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cde)
>
> test_check("cde")
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/Action?format=csv'
Content type 'application/octet-stream' length 6819 bytes
==================================================
downloaded 6819 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB112071065700/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 7557 bytes
==================================================
downloaded 7557 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB520804714300/objective-outcomes.csv?_view=csv'
downloaded 8500 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 43096 bytes (42 KB)
==================================================
downloaded 42 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 455 bytes
==================================================
downloaded 455 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
── 1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
all(dim(test_mc_avon) == c(594, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3249/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 1010678 bytes (986 KB)
==================================================
downloaded 986 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
── 2. Failure: dimensions of dataframe for 'Supporting elements' level are as ex
all(dim(test_mc_avon) == c(73, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 10713 bytes (10 KB)
==================================================
downloaded 10 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
river_basin_district management_catchment operational_catchment
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
With an additional 1322 rows and 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB105033042920/pa/csv'
Content type 'application/octet-stream' length 382 bytes
==================================================
downloaded 382 bytes
river_basin_district management_catchment operational_catchment
Anglian Cam and Ely Ouse Lark
Anglian Cam and Ely Ouse Lark
With an additional 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 2237526 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 64 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
2. Failure: dimensions of dataframe for 'Supporting elements' level are as expected (@test-get_status.r#105)
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.4.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/152s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cde)
>
> test_check("cde")
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/Action?format=csv'
Content type 'application/octet-stream' length 6819 bytes
==================================================
downloaded 6819 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB112071065700/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 7557 bytes
==================================================
downloaded 7557 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB520804714300/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 8500 bytes
==================================================
downloaded 8500 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 43096 bytes (42 KB)
==================================================
downloaded 42 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 455 bytes
==================================================
downloaded 455 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
── 1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
all(dim(test_mc_avon) == c(594, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3249/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 1010678 bytes (986 KB)
==================================================
downloaded 986 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
── 2. Failure: dimensions of dataframe for 'Supporting elements' level are as ex
all(dim(test_mc_avon) == c(73, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 10713 bytes (10 KB)
==================================================
downloaded 10 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
river_basin_district management_catchment operational_catchment
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
With an additional 1322 rows and 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB105033042920/pa/csv'
Content type 'application/octet-stream' length 382 bytes
==================================================
downloaded 382 bytes
river_basin_district management_catchment operational_catchment
Anglian Cam and Ely Ouse Lark
Anglian Cam and Ely Ouse Lark
With an additional 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 2237526 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 64 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
2. Failure: dimensions of dataframe for 'Supporting elements' level are as expected (@test-get_status.r#105)
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-solaris-x86
Version: 0.4.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cde)
>
> test_check("cde")
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/Action?format=csv'
Content type 'application/octet-stream' length 6819 bytes
==================================================
downloaded 6819 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB112071065700/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 7557 bytes
==================================================
downloaded 7557 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB520804714300/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 8500 bytes
==================================================
downloaded 8500 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 43096 bytes (42 KB)
==================================================
downloaded 42 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 455 bytes
==================================================
downloaded 455 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
── 1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
all(dim(test_mc_avon) == c(594, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3249/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 1010678 bytes (986 KB)
==================================================
downloaded 986 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
── 2. Failure: dimensions of dataframe for 'Supporting elements' level are as ex
all(dim(test_mc_avon) == c(73, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 10713 bytes (10 KB)
==================================================
downloaded 10 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
river_basin_district management_catchment operational_catchment
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
With an additional 1322 rows and 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB105033042920/pa/csv'
Content type 'application/octet-stream' length 382 bytes
==================================================
downloaded 382 bytes
river_basin_district management_catchment operational_catchment
Anglian Cam and Ely Ouse Lark
Anglian Cam and Ely Ouse Lark
With an additional 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length 127711 bytes (124 KB)
==================================================
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 2237526 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 64 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
2. Failure: dimensions of dataframe for 'Supporting elements' level are as expected (@test-get_status.r#105)
Error: testthat unit tests failed
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.4.1
Check: tests
Result: ERROR
Running 'testthat.R' [8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(cde)
>
> test_check("cde")
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/Action?format=csv'
Content type 'application/octet-stream' length 6819 bytes
==================================================
downloaded 6819 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB112071065700/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length 7557 bytes
==================================================
downloaded 7557 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/so/WaterBody/GB520804714300/objective-outcomes.csv?_view=csv'
Content type 'text/csv' length unknown
........
downloaded 8500 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 43096 bytes (42 KB)
==================================================
downloaded 42 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB112071065700/pa/csv'
Content type 'application/octet-stream' length 361 bytes
==================================================
downloaded 361 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 4464 bytes
==================================================
downloaded 4464 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3108/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 455 bytes
==================================================
downloaded 455 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length unknown
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... ....
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
-- 1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
all(dim(test_mc_avon) == c(594, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/OperationalCatchment/3249/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 1010678 bytes (986 KB)
==================================================
downloaded 986 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3006/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 237708 bytes (232 KB)
==================================================
downloaded 232 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length unknown
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... ....
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
-- 2. Failure: dimensions of dataframe for 'Supporting elements' level are as ex
all(dim(test_mc_avon) == c(73, 18)) isn't true.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/reason-for-failure.csv?waterBody=GB112071065700&_view=csv'
Content type 'text/csv' length 1290 bytes
==================================================
downloaded 1290 bytes
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 360525 bytes (352 KB)
==================================================
downloaded 352 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/outcome?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 61851 bytes (60 KB)
==================================================
downloaded 60 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/ManagementCatchment/3007/ReasonsForNotAchievingGood?item=all&format=csv'
Content type 'application/octet-stream' length 10713 bytes (10 KB)
==================================================
downloaded 10 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/pa/csv'
Content type 'application/octet-stream' length 12728 bytes (12 KB)
==================================================
downloaded 12 KB
river_basin_district management_catchment operational_catchment
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
Thames Loddon and Trib Loddon
With an additional 1322 rows and 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/WaterBody/GB105033042920/pa/csv'
Content type 'application/octet-stream' length 382 bytes
==================================================
downloaded 382 bytes
river_basin_district management_catchment operational_catchment
Anglian Cam and Ely Ouse Lark
Anglian Cam and Ely Ouse Lark
With an additional 5 columns of data.
Row values may be truncated to fit console.
trying URL 'http://environment.data.gov.uk/catchment-planning/data/classification.csv?waterBody=GB520804714300&_view=csv'
Content type 'text/csv' length unknown
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... ....
downloaded 124 KB
trying URL 'http://environment.data.gov.uk/catchment-planning/RiverBasinDistrict/6/classification?item=all&status=all&format=csv'
Content type 'application/octet-stream' length 2237526 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
== testthat results ===========================================================
[ OK: 64 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
1. Failure: dimensions of dataframe are as expected (@test-get_status.r#15)
2. Failure: dimensions of dataframe for 'Supporting elements' level are as expected (@test-get_status.r#105)
Error: testthat unit tests failed
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64