Last updated on 2025-10-19 04:49:46 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.3.1 | 10.17 | 99.28 | 109.45 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.3.1 | 7.51 | 68.07 | 75.58 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.3.1 | 165.69 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.3.1 | 170.86 | OK | |||
r-devel-windows-x86_64 | 0.3.1 | 13.00 | 116.00 | 129.00 | OK | |
r-patched-linux-x86_64 | 0.3.1 | 11.52 | 91.31 | 102.83 | OK | |
r-release-linux-x86_64 | 0.3.1 | 10.31 | 93.80 | 104.11 | ERROR | |
r-release-macos-arm64 | 0.3.1 | 73.00 | OK | |||
r-release-macos-x86_64 | 0.3.1 | 120.00 | OK | |||
r-release-windows-x86_64 | 0.3.1 | 15.00 | 132.00 | 147.00 | OK | |
r-oldrel-macos-arm64 | 0.3.1 | 75.00 | NOTE | |||
r-oldrel-macos-x86_64 | 0.3.1 | 134.00 | NOTE | |||
r-oldrel-windows-x86_64 | 0.3.1 | 20.00 | 148.00 | 168.00 | NOTE |
Version: 0.3.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [19s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(ColombiAPI)
>
> test_check("ColombiAPI")
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Error: status 502
Datasets available in the 'ColombiAPI' package:
Datasets available in the 'ColombiAPI' package:
[ FAIL 43 | WARN 0 | SKIP 190 | PASS 572 ]
══ Skipped tests (190) ═════════════════════════════════════════════════════════
• On CRAN (183): 'test-get_colombia_airports.R:24:3',
'test-get_colombia_airports.R:36:3', 'test-get_colombia_airports.R:51:3',
'test-get_colombia_airports.R:60:3', 'test-get_colombia_airports.R:68:3',
'test-get_colombia_airports.R:80:3', 'test-get_colombia_airports.R:92:3',
'test-get_colombia_airports.R:104:3', 'test-get_colombia_airports.R:112:3',
'test-get_colombia_airports.R:121:3', 'test-get_colombia_airports.R:142:3',
'test-get_colombia_airports.R:156:3', 'test-get_colombia_airports.R:166:3',
'test-get_colombia_airports.R:176:3', 'test-get_colombia_airports.R:186:3',
'test-get_colombia_airports.R:198:3', 'test-get_colombia_attractions.R:24:3',
'test-get_colombia_attractions.R:35:3',
'test-get_colombia_attractions.R:47:3',
'test-get_colombia_attractions.R:55:3',
'test-get_colombia_attractions.R:66:3',
'test-get_colombia_attractions.R:75:3',
'test-get_colombia_attractions.R:84:3',
'test-get_colombia_attractions.R:101:3',
'test-get_colombia_attractions.R:113:3',
'test-get_colombia_attractions.R:123:3',
'test-get_colombia_attractions.R:133:3',
'test-get_colombia_attractions.R:142:3',
'test-get_colombia_attractions.R:152:3',
'test-get_colombia_attractions.R:163:3',
'test-get_colombia_attractions.R:171:3',
'test-get_colombia_attractions.R:185:3',
'test-get_colombia_child_mortality.R:23:3',
'test-get_colombia_child_mortality.R:38:3',
'test-get_colombia_child_mortality.R:47:3',
'test-get_colombia_child_mortality.R:55:3',
'test-get_colombia_child_mortality.R:63:3',
'test-get_colombia_child_mortality.R:71:3',
'test-get_colombia_child_mortality.R:79:3',
'test-get_colombia_cities.R:23:3', 'test-get_colombia_cities.R:34:3',
'test-get_colombia_cities.R:42:3', 'test-get_colombia_cities.R:51:3',
'test-get_colombia_cities.R:63:3', 'test-get_colombia_cities.R:81:3',
'test-get_colombia_cities.R:93:3', 'test-get_colombia_cities.R:102:3',
'test-get_colombia_cities.R:116:3', 'test-get_colombia_cities.R:126:3',
'test-get_colombia_cities.R:134:3', 'test-get_colombia_cities.R:142:3',
'test-get_colombia_cities.R:152:3', 'test-get_colombia_cities.R:160:3',
'test-get_colombia_cpi.R:24:3', 'test-get_colombia_cpi.R:39:3',
'test-get_colombia_cpi.R:48:3', 'test-get_colombia_cpi.R:56:3',
'test-get_colombia_cpi.R:64:3', 'test-get_colombia_cpi.R:72:3',
'test-get_colombia_cpi.R:80:3', 'test-get_colombia_cpi.R:88:3',
'test-get_colombia_departments.R:24:3',
'test-get_colombia_departments.R:36:3',
'test-get_colombia_departments.R:50:3',
'test-get_colombia_departments.R:59:3',
'test-get_colombia_departments.R:68:3',
'test-get_colombia_departments.R:76:3',
'test-get_colombia_departments.R:88:3',
'test-get_colombia_departments.R:102:3',
'test-get_colombia_departments.R:119:3',
'test-get_colombia_departments.R:133:3',
'test-get_colombia_departments.R:145:3',
'test-get_colombia_departments.R:155:3',
'test-get_colombia_departments.R:167:3',
'test-get_colombia_departments.R:179:3',
'test-get_colombia_departments.R:191:3',
'test-get_colombia_energy_use.R:23:3', 'test-get_colombia_energy_use.R:38:3',
'test-get_colombia_energy_use.R:47:3', 'test-get_colombia_energy_use.R:55:3',
'test-get_colombia_energy_use.R:63:3', 'test-get_colombia_energy_use.R:71:3',
'test-get_colombia_energy_use.R:79:3', 'test-get_colombia_energy_use.R:87:3',
'test-get_colombia_gdp.R:23:3', 'test-get_colombia_gdp.R:39:3',
'test-get_colombia_gdp.R:48:3', 'test-get_colombia_gdp.R:56:3',
'test-get_colombia_gdp.R:64:3', 'test-get_colombia_gdp.R:72:3',
'test-get_colombia_gdp.R:80:3', 'test-get_colombia_gdp.R:88:3',
'test-get_colombia_gdp.R:97:3', 'test-get_colombia_holidays.R:24:3',
'test-get_colombia_holidays.R:39:3', 'test-get_colombia_holidays.R:54:3',
'test-get_colombia_holidays.R:64:3', 'test-get_colombia_holidays.R:74:3',
'test-get_colombia_invasive_species.R:24:3',
'test-get_colombia_invasive_species.R:36:3',
'test-get_colombia_invasive_species.R:50:3',
'test-get_colombia_invasive_species.R:59:3',
'test-get_colombia_invasive_species.R:68:3',
'test-get_colombia_invasive_species.R:79:3',
'test-get_colombia_life_expectancy.R:24:3',
'test-get_colombia_life_expectancy.R:55:3',
'test-get_colombia_life_expectancy.R:65:3',
'test-get_colombia_life_expectancy.R:74:3',
'test-get_colombia_life_expectancy.R:84:3',
'test-get_colombia_life_expectancy.R:93:3',
'test-get_colombia_life_expectancy.R:103:3',
'test-get_colombia_life_expectancy.R:112:3',
'test-get_colombia_life_expectancy.R:126:3',
'test-get_colombia_life_expectancy.R:136:3',
'test-get_colombia_life_expectancy.R:150:3',
'test-get_colombia_literacy_rate.R:24:3',
'test-get_colombia_literacy_rate.R:50:3',
'test-get_colombia_literacy_rate.R:57:3',
'test-get_colombia_literacy_rate.R:64:3',
'test-get_colombia_literacy_rate.R:72:3',
'test-get_colombia_literacy_rate.R:79:3',
'test-get_colombia_literacy_rate.R:86:3',
'test-get_colombia_literacy_rate.R:94:3',
'test-get_colombia_literacy_rate.R:101:3',
'test-get_colombia_literacy_rate.R:109:3',
'test-get_colombia_literacy_rate.R:121:3',
'test-get_colombia_literacy_rate.R:130:3',
'test-get_colombia_literacy_rate.R:141:3',
'test-get_colombia_native_communities.R:24:3',
'test-get_colombia_native_communities.R:35:3',
'test-get_colombia_native_communities.R:46:3',
'test-get_colombia_native_communities.R:55:3',
'test-get_colombia_native_communities.R:64:3',
'test-get_colombia_natural_areas.R:24:3',
'test-get_colombia_natural_areas.R:36:3',
'test-get_colombia_natural_areas.R:50:3',
'test-get_colombia_natural_areas.R:64:3',
'test-get_colombia_natural_areas.R:76:3',
'test-get_colombia_presidents.R:24:3', 'test-get_colombia_presidents.R:36:3',
'test-get_colombia_presidents.R:48:3', 'test-get_colombia_presidents.R:57:3',
'test-get_colombia_presidents.R:67:3', 'test-get_colombia_presidents.R:79:3',
'test-get_colombia_presidents.R:92:3',
'test-get_colombia_presidents.R:116:3',
'test-get_colombia_presidents.R:130:3',
'test-get_colombia_presidents.R:140:3',
'test-get_colombia_presidents.R:149:3',
'test-get_colombia_presidents.R:165:3',
'test-get_colombia_presidents.R:174:3', 'test-get_colombia_radios.R:23:3',
'test-get_colombia_radios.R:34:3', 'test-get_colombia_radios.R:45:3',
'test-get_colombia_radios.R:54:3', 'test-get_colombia_radios.R:64:3',
'test-get_colombia_radios.R:73:3', 'test-get_colombia_regions.R:23:3',
'test-get_colombia_regions.R:34:3', 'test-get_colombia_regions.R:43:3',
'test-get_colombia_regions.R:52:3', 'test-get_colombia_regions.R:61:3',
'test-get_colombia_regions.R:70:3', 'test-get_colombia_regions.R:87:3',
'test-get_colombia_regions.R:99:3', 'test-get_colombia_regions.R:108:3',
'test-get_colombia_regions.R:120:3', 'test-get_colombia_regions.R:139:3',
'test-get_colombia_typical_dishes.R:24:3',
'test-get_colombia_typical_dishes.R:35:3',
'test-get_colombia_typical_dishes.R:45:3',
'test-get_colombia_typical_dishes.R:55:3',
'test-get_colombia_typical_dishes.R:65:3',
'test-get_colombia_typical_dishes.R:73:3', 'test-get_country_info_co.R:23:3',
'test-get_country_info_co.R:35:3', 'test-get_country_info_co.R:49:3',
'test-get_country_info_co.R:63:3', 'test-get_country_info_co.R:73:3',
'test-get_country_info_co.R:83:3', 'test-get_country_info_co.R:103:3',
'test-get_country_info_co.R:116:3', 'test-get_country_info_co.R:126:3'
• empty test (7): 'test-get_colombia_hospital_beds.R:105:1',
'test-get_colombia_population.R:106:1',
'test-get_colombia_population.R:116:1',
'test-get_colombia_population.R:126:1',
'test-get_colombia_population.R:148:1',
'test-get_colombia_unemployment.R:105:1',
'test-get_colombia_unemployment.R:124:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-get_colombia_hospital_beds.R:26:3'): get_colombia_hospital_beds() returns a tibble with the correct structure and content ──
is.null(result) is not FALSE
`actual`: TRUE
`expected`: FALSE
── Failure ('test-get_colombia_hospital_beds.R:29:3'): get_colombia_hospital_beds() returns a tibble with the correct structure and content ──
`result` is not an S3 object
── Failure ('test-get_colombia_hospital_beds.R:32:3'): get_colombia_hospital_beds() returns a tibble with the correct structure and content ──
Names of `result` ('') don't match 'indicator', 'country', 'year', 'value'
── Failure ('test-get_colombia_hospital_beds.R:35:3'): get_colombia_hospital_beds() returns a tibble with the correct structure and content ──
result$indicator has type 'NULL', not 'character'.
── Failure ('test-get_colombia_hospital_beds.R:36:3'): get_colombia_hospital_beds() returns a tibble with the correct structure and content ──
result$country has type 'NULL', not 'character'.
── Failure ('test-get_colombia_hospital_beds.R:37:3'): get_colombia_hospital_beds() returns a tibble with the correct structure and content ──
result$year has type 'NULL', not 'integer'.
── Failure ('test-get_colombia_hospital_beds.R:38:3'): get_colombia_hospital_beds() returns a tibble with the correct structure and content ──
result$value has type 'NULL', not 'double'.
── Failure ('test-get_colombia_hospital_beds.R:50:3'): get_colombia_hospital_beds() returns a tibble with the correct structure and content ──
nrow(result) (`actual`) not equal to 13 (`expected`).
`actual` is NULL
`expected` is a double vector (13)
── Failure ('test-get_colombia_hospital_beds.R:53:3'): get_colombia_hospital_beds() returns a tibble with the correct structure and content ──
ncol(result) (`actual`) not equal to 4 (`expected`).
`actual` is NULL
`expected` is a double vector (4)
── Failure ('test-get_colombia_hospital_beds.R:61:3'): get_colombia_hospital_beds() returns data for years 2010 to 2022 ──
sort(unique(result$year)) (`actual`) not equal to 2010:2022 (`expected`).
`actual` is NULL
`expected` is an integer vector (2010, 2011, 2012, 2013, 2014, ...)
── Failure ('test-get_colombia_hospital_beds.R:92:3'): get_colombia_hospital_beds() indicator and country are consistent across rows ──
length(unique(result$indicator)) (`actual`) not equal to 1 (`expected`).
`actual`: 0.0
`expected`: 1.0
── Failure ('test-get_colombia_hospital_beds.R:95:3'): get_colombia_hospital_beds() indicator and country are consistent across rows ──
length(unique(result$country)) (`actual`) not equal to 1 (`expected`).
`actual`: 0.0
`expected`: 1.0
── Failure ('test-get_colombia_hospital_beds.R:102:3'): get_colombia_hospital_beds() returns exactly 13 rows for the specified period ──
nrow(result) (`actual`) not equal to 13 (`expected`).
`actual` is NULL
`expected` is a double vector (13)
── Failure ('test-get_colombia_population.R:26:3'): get_colombia_population() returns a tibble with the correct structure and content ──
is.null(result) is not FALSE
`actual`: TRUE
`expected`: FALSE
── Failure ('test-get_colombia_population.R:29:3'): get_colombia_population() returns a tibble with the correct structure and content ──
`result` is not an S3 object
── Failure ('test-get_colombia_population.R:32:3'): get_colombia_population() returns a tibble with the correct structure and content ──
Names of `result` ('') don't match 'indicator', 'country', 'year', 'value', 'value_label'
── Failure ('test-get_colombia_population.R:35:3'): get_colombia_population() returns a tibble with the correct structure and content ──
result$indicator has type 'NULL', not 'character'.
── Failure ('test-get_colombia_population.R:36:3'): get_colombia_population() returns a tibble with the correct structure and content ──
result$country has type 'NULL', not 'character'.
── Failure ('test-get_colombia_population.R:37:3'): get_colombia_population() returns a tibble with the correct structure and content ──
result$year has type 'NULL', not 'integer'.
── Failure ('test-get_colombia_population.R:38:3'): get_colombia_population() returns a tibble with the correct structure and content ──
result$value has type 'NULL', not 'integer'.
── Failure ('test-get_colombia_population.R:39:3'): get_colombia_population() returns a tibble with the correct structure and content ──
result$value_label has type 'NULL', not 'character'.
── Failure ('test-get_colombia_population.R:51:3'): get_colombia_population() returns a tibble with the correct structure and content ──
nrow(result) (`actual`) not equal to 13 (`expected`).
`actual` is NULL
`expected` is a double vector (13)
── Failure ('test-get_colombia_population.R:54:3'): get_colombia_population() returns a tibble with the correct structure and content ──
ncol(result) (`actual`) not equal to 5 (`expected`).
`actual` is NULL
`expected` is a double vector (5)
── Failure ('test-get_colombia_population.R:62:3'): get_colombia_population() returns data for years 2010 to 2022 ──
sort(unique(result$year)) (`actual`) not equal to 2010:2022 (`expected`).
`actual` is NULL
`expected` is an integer vector (2010, 2011, 2012, 2013, 2014, ...)
── Failure ('test-get_colombia_population.R:93:3'): get_colombia_population() indicator and country are consistent across rows ──
length(unique(result$indicator)) (`actual`) not equal to 1 (`expected`).
`actual`: 0.0
`expected`: 1.0
── Failure ('test-get_colombia_population.R:96:3'): get_colombia_population() indicator and country are consistent across rows ──
length(unique(result$country)) (`actual`) not equal to 1 (`expected`).
`actual`: 0.0
`expected`: 1.0
── Failure ('test-get_colombia_population.R:103:3'): get_colombia_population() returns exactly 13 rows for the specified period ──
nrow(result) (`actual`) not equal to 13 (`expected`).
`actual` is NULL
`expected` is a double vector (13)
── Failure ('test-get_colombia_population.R:145:3'): get_colombia_population() value column is integer ──
is.integer(result$value) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-get_colombia_unemployment.R:26:3'): get_colombia_unemployment() returns a tibble with the correct structure and content ──
is.null(result) is not FALSE
`actual`: TRUE
`expected`: FALSE
── Failure ('test-get_colombia_unemployment.R:29:3'): get_colombia_unemployment() returns a tibble with the correct structure and content ──
`result` is not an S3 object
── Failure ('test-get_colombia_unemployment.R:32:3'): get_colombia_unemployment() returns a tibble with the correct structure and content ──
Names of `result` ('') don't match 'indicator', 'country', 'year', 'value'
── Failure ('test-get_colombia_unemployment.R:35:3'): get_colombia_unemployment() returns a tibble with the correct structure and content ──
result$indicator has type 'NULL', not 'character'.
── Failure ('test-get_colombia_unemployment.R:36:3'): get_colombia_unemployment() returns a tibble with the correct structure and content ──
result$country has type 'NULL', not 'character'.
── Failure ('test-get_colombia_unemployment.R:37:3'): get_colombia_unemployment() returns a tibble with the correct structure and content ──
result$year has type 'NULL', not 'integer'.
── Failure ('test-get_colombia_unemployment.R:38:3'): get_colombia_unemployment() returns a tibble with the correct structure and content ──
result$value has type 'NULL', not 'double'.
── Failure ('test-get_colombia_unemployment.R:50:3'): get_colombia_unemployment() returns a tibble with the correct structure and content ──
nrow(result) (`actual`) not equal to 13 (`expected`).
`actual` is NULL
`expected` is a double vector (13)
── Failure ('test-get_colombia_unemployment.R:53:3'): get_colombia_unemployment() returns a tibble with the correct structure and content ──
ncol(result) (`actual`) not equal to 4 (`expected`).
`actual` is NULL
`expected` is a double vector (4)
── Failure ('test-get_colombia_unemployment.R:61:3'): get_colombia_unemployment() returns data for years 2010 to 2022 ──
sort(unique(result$year)) (`actual`) not equal to 2010:2022 (`expected`).
`actual` is NULL
`expected` is an integer vector (2010, 2011, 2012, 2013, 2014, ...)
── Failure ('test-get_colombia_unemployment.R:92:3'): get_colombia_unemployment() indicator and country are consistent across rows ──
length(unique(result$indicator)) (`actual`) not equal to 1 (`expected`).
`actual`: 0.0
`expected`: 1.0
── Failure ('test-get_colombia_unemployment.R:95:3'): get_colombia_unemployment() indicator and country are consistent across rows ──
length(unique(result$country)) (`actual`) not equal to 1 (`expected`).
`actual`: 0.0
`expected`: 1.0
── Failure ('test-get_colombia_unemployment.R:102:3'): get_colombia_unemployment() returns exactly 13 rows for the specified period ──
nrow(result) (`actual`) not equal to 13 (`expected`).
`actual` is NULL
`expected` is a double vector (13)
── Failure ('test-get_colombia_unemployment.R:120:3'): get_colombia_unemployment() value column is numeric ──
is.numeric(result$value) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-get_colombia_unemployment.R:121:3'): get_colombia_unemployment() value column is numeric ──
is.double(result$value) is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 43 | WARN 0 | SKIP 190 | PASS 572 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.3.1
Check: installed package size
Result: NOTE
installed size is 5.7Mb
sub-directories of 1Mb or more:
R 3.7Mb
data 1.6Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64