Skip to content

ChileDataAPI

Access Chilean Data via APIs and Curated Datasets

v0.2.0 · Sep 11, 2025 · GPL-3

Description

Provides functions to access data from public RESTful APIs including 'FINDIC API', 'REST Countries API', 'World Bank API', and 'Nager.Date', retrieving real-time or historical data related to Chile such as financial indicators, holidays, international demographic and geopolitical indicators, and more. Additionally, the package includes curated datasets related to Chile, covering topics such as human rights violations during the Pinochet regime, electoral data, census samples, health surveys, seismic events, territorial codes, and environmental measurements. The package supports research and analysis focused on Chile by integrating open APIs with high-quality datasets from multiple domains. For more information on the APIs, see: 'FINDIC' <https://findic.cl/>, 'REST Countries' <https://restcountries.com/>, 'World Bank API' <https://datahelpdesk.worldbank.org/knowledgebase/articles/889392>, and 'Nager.Date' <https://date.nager.at/Api>.

Downloads

524

Last 30 days

7306th

1.7K

Last 90 days

5.4K

Last year

Trend: +5% (30d vs prior 30d)

CRAN Check Status

9 ERROR
4 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang ERROR
r-devel-linux-x86_64-debian-gcc ERROR
r-devel-linux-x86_64-fedora-clang ERROR
r-devel-linux-x86_64-fedora-gcc ERROR
r-devel-windows-x86_64 ERROR
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 ERROR
r-release-linux-x86_64 ERROR
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 ERROR
Check details (10 non-OK)
ERROR r-devel-linux-x86_64-debian-clang

tests

Running ‘testthat.R’ [11s/16s]
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(ChileDataAPI)
  > 
  > test_check("ChileDataAPI")
  Saving _problems/test-get_country_info_cl-23.R
  Saving _problems/test-get_country_info_cl-32.R
  Saving _problems/test-get_country_info_cl-44.R
  Saving _problems/test-get_country_info_cl-56.R
  Saving _problems/test-get_country_info_cl-63.R
  Saving _problems/test-get_country_info_cl-75.R
  Saving _problems/test-get_country_info_cl-83.R
  Datasets available in the 'ChileDataAPI' package:
  Datasets available in the 'ChileDataAPI' package:
  [ F
...[truncated]...
    ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:56:3
  ── Error ('test-get_country_info_cl.R:63:3'): get_country_info_cl() returns no missing values in key fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:63:3
  ── Error ('test-get_country_info_cl.R:75:3'): get_country_info_cl() area and population are positive numbers ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:75:3
  ── Error ('test-get_country_info_cl.R:83:3'): get_country_info_cl() returns character strings for text fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:83:3
  
  [ FAIL 7 | WARN 0 | SKIP 198 | PASS 214 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [8s/10s]
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(ChileDataAPI)
  > 
  > test_check("ChileDataAPI")
  Saving _problems/test-get_country_info_cl-23.R
  Saving _problems/test-get_country_info_cl-32.R
  Saving _problems/test-get_country_info_cl-44.R
  Saving _problems/test-get_country_info_cl-56.R
  Saving _problems/test-get_country_info_cl-63.R
  Saving _problems/test-get_country_info_cl-75.R
  Saving _problems/test-get_country_info_cl-83.R
  Datasets available in the 'ChileDataAPI' package:
  Datasets available in the 'ChileDataAPI' package:
  [ FA
...[truncated]...
    ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:56:3
  ── Error ('test-get_country_info_cl.R:63:3'): get_country_info_cl() returns no missing values in key fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:63:3
  ── Error ('test-get_country_info_cl.R:75:3'): get_country_info_cl() area and population are positive numbers ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:75:3
  ── Error ('test-get_country_info_cl.R:83:3'): get_country_info_cl() returns character strings for text fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:83:3
  
  [ FAIL 7 | WARN 0 | SKIP 198 | PASS 214 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-linux-x86_64-fedora-clang

tests

Running ‘testthat.R’ [19s/52s]
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(ChileDataAPI)
  > 
  > test_check("ChileDataAPI")
  Saving _problems/test-get_country_info_cl-23.R
  Saving _problems/test-get_country_info_cl-32.R
  Saving _problems/test-get_country_info_cl-44.R
  Saving _problems/test-get_country_info_cl-56.R
  Saving _problems/test-get_country_info_cl-63.R
  Saving _problems/test-get_country_info_cl-75.R
  Saving _problems/test-get_country_info_cl-83.R
  Datasets available in the 'ChileDataAPI' package:
  Datasets available in the 'ChileDataAPI' package:
  [ F
...[truncated]...
    ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:56:3
  ── Error ('test-get_country_info_cl.R:63:3'): get_country_info_cl() returns no missing values in key fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:63:3
  ── Error ('test-get_country_info_cl.R:75:3'): get_country_info_cl() area and population are positive numbers ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:75:3
  ── Error ('test-get_country_info_cl.R:83:3'): get_country_info_cl() returns character strings for text fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:83:3
  
  [ FAIL 7 | WARN 0 | SKIP 198 | PASS 214 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

tests

Running ‘testthat.R’ [18s/29s]
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(ChileDataAPI)
  > 
  > test_check("ChileDataAPI")
  Saving _problems/test-get_country_info_cl-23.R
  Saving _problems/test-get_country_info_cl-32.R
  Saving _problems/test-get_country_info_cl-44.R
  Saving _problems/test-get_country_info_cl-56.R
  Saving _problems/test-get_country_info_cl-63.R
  Saving _problems/test-get_country_info_cl-75.R
  Saving _problems/test-get_country_info_cl-83.R
  Datasets available in the 'ChileDataAPI' package:
  Datasets available in the 'ChileDataAPI' package:
  [ F
...[truncated]...
    ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:56:3
  ── Error ('test-get_country_info_cl.R:63:3'): get_country_info_cl() returns no missing values in key fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:63:3
  ── Error ('test-get_country_info_cl.R:75:3'): get_country_info_cl() area and population are positive numbers ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:75:3
  ── Error ('test-get_country_info_cl.R:83:3'): get_country_info_cl() returns character strings for text fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:83:3
  
  [ FAIL 7 | WARN 0 | SKIP 198 | PASS 214 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [11s]
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(ChileDataAPI)
  > 
  > test_check("ChileDataAPI")
  Saving _problems/test-get_country_info_cl-23.R
  Saving _problems/test-get_country_info_cl-32.R
  Saving _problems/test-get_country_info_cl-44.R
  Saving _problems/test-get_country_info_cl-56.R
  Saving _problems/test-get_country_info_cl-63.R
  Saving _problems/test-get_country_info_cl-75.R
  Saving _problems/test-get_country_info_cl-83.R
  Datasets available in the 'ChileDataAPI' package:
  Datasets available in the 'ChileDataAPI' package:
  [ FAIL 
...[truncated]...
    ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:56:3
  ── Error ('test-get_country_info_cl.R:63:3'): get_country_info_cl() returns no missing values in key fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:63:3
  ── Error ('test-get_country_info_cl.R:75:3'): get_country_info_cl() area and population are positive numbers ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:75:3
  ── Error ('test-get_country_info_cl.R:83:3'): get_country_info_cl() returns character strings for text fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:83:3
  
  [ FAIL 7 | WARN 0 | SKIP 198 | PASS 214 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [15s]
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(ChileDataAPI)
  > 
  > test_check("ChileDataAPI")
  Saving _problems/test-get_country_info_cl-23.R
  Saving _problems/test-get_country_info_cl-32.R
  Saving _problems/test-get_country_info_cl-44.R
  Saving _problems/test-get_country_info_cl-56.R
  Saving _problems/test-get_country_info_cl-63.R
  Saving _problems/test-get_country_info_cl-75.R
  Saving _problems/test-get_country_info_cl-83.R
  Datasets available in the 'ChileDataAPI' package:
  Datasets available in the 'ChileDataAPI' package:
  [ FAIL 
...[truncated]...
    ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:56:3
  ── Error ('test-get_country_info_cl.R:63:3'): get_country_info_cl() returns no missing values in key fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:63:3
  ── Error ('test-get_country_info_cl.R:75:3'): get_country_info_cl() area and population are positive numbers ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:75:3
  ── Error ('test-get_country_info_cl.R:83:3'): get_country_info_cl() returns character strings for text fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:83:3
  
  [ FAIL 7 | WARN 0 | SKIP 198 | PASS 214 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-patched-linux-x86_64

tests

Running ‘testthat.R’ [11s/13s]
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(ChileDataAPI)
  > 
  > test_check("ChileDataAPI")
  Saving _problems/test-get_country_info_cl-23.R
  Saving _problems/test-get_country_info_cl-32.R
  Saving _problems/test-get_country_info_cl-44.R
  Saving _problems/test-get_country_info_cl-56.R
  Saving _problems/test-get_country_info_cl-63.R
  Saving _problems/test-get_country_info_cl-75.R
  Saving _problems/test-get_country_info_cl-83.R
  Datasets available in the 'ChileDataAPI' package:
  Datasets available in the 'ChileDataAPI' package:
  [ F
...[truncated]...
    ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:56:3
  ── Error ('test-get_country_info_cl.R:63:3'): get_country_info_cl() returns no missing values in key fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:63:3
  ── Error ('test-get_country_info_cl.R:75:3'): get_country_info_cl() area and population are positive numbers ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:75:3
  ── Error ('test-get_country_info_cl.R:83:3'): get_country_info_cl() returns character strings for text fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:83:3
  
  [ FAIL 7 | WARN 0 | SKIP 198 | PASS 214 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-release-linux-x86_64

tests

Running ‘testthat.R’ [11s/15s]
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(ChileDataAPI)
  > 
  > test_check("ChileDataAPI")
  Saving _problems/test-get_country_info_cl-23.R
  Saving _problems/test-get_country_info_cl-32.R
  Saving _problems/test-get_country_info_cl-44.R
  Saving _problems/test-get_country_info_cl-56.R
  Saving _problems/test-get_country_info_cl-63.R
  Saving _problems/test-get_country_info_cl-75.R
  Saving _problems/test-get_country_info_cl-83.R
  Datasets available in the 'ChileDataAPI' package:
  Datasets available in the 'ChileDataAPI' package:
  [ F
...[truncated]...
    ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:56:3
  ── Error ('test-get_country_info_cl.R:63:3'): get_country_info_cl() returns no missing values in key fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:63:3
  ── Error ('test-get_country_info_cl.R:75:3'): get_country_info_cl() area and population are positive numbers ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:75:3
  ── Error ('test-get_country_info_cl.R:83:3'): get_country_info_cl() returns character strings for text fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:83:3
  
  [ FAIL 7 | WARN 0 | SKIP 198 | PASS 214 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-release-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'ChileDataAPI_vignette.Rmd' using rmarkdown

Quitting from ChileDataAPI_vignette.Rmd:112-120 [chile-copper]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `curl::curl_fetch_memory()`:
! Timeout was reached [findic.cl]:
Connection timed out after 10010 milliseconds
---
Backtrace:
    ▆
 1. ├─utils::head(get_chile_copper_pound(), n = 10)
 2. ├─ChileDataAPI::get_chile_copper_pound()
 3. │ └─httr::GET(url)
 4. │   └─httr:::request_perform(req, hu$handle$handle)
 5. │     ├─httr:::request_fetch(req$output, req$url, handle)
 6. │     └─httr:::request_fetch.write_memory(req$output, req$url, handle)
 7. │       └─curl::curl_fetch_memory(url, handle = handle)
 8. └─curl:::raise_libcurl_error(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'ChileDataAPI_vignette.Rmd' failed with diagnostics:
Timeout was reached [findic.cl]:
Connection timed out after 10010 milliseconds
--- failed re-building 'ChileDataAPI_vignette.Rmd'

SUMMARY: processing the following file failed:
  'ChileDataAPI_vignette.Rmd'

Error: Vignette re-building failed.
Execution halted
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [11s]
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(ChileDataAPI)
  > 
  > test_check("ChileDataAPI")
  Saving _problems/test-get_country_info_cl-23.R
  Saving _problems/test-get_country_info_cl-32.R
  Saving _problems/test-get_country_info_cl-44.R
  Saving _problems/test-get_country_info_cl-56.R
  Saving _problems/test-get_country_info_cl-63.R
  Saving _problems/test-get_country_info_cl-75.R
  Saving _problems/test-get_country_info_cl-83.R
  Datasets available in the 'ChileDataAPI' package:
  Datasets available in the 'ChileDataAPI' package:
  [ FAIL 
...[truncated]...
    ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:56:3
  ── Error ('test-get_country_info_cl.R:63:3'): get_country_info_cl() returns no missing values in key fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:63:3
  ── Error ('test-get_country_info_cl.R:75:3'): get_country_info_cl() area and population are positive numbers ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:75:3
  ── Error ('test-get_country_info_cl.R:83:3'): get_country_info_cl() returns character strings for text fields ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:83:3
  
  [ FAIL 7 | WARN 0 | SKIP 198 | PASS 214 ]
  Error:
  ! Test failures.
  Execution halted

Check History

ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 12, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [7s/11s]
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 t
...[truncated]...
rror in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ChileDataAPI::get_country_info_cl() at test-get_country_info_cl.R:83:3
  
  [ FAIL 7 | WARN 0 | SKIP 198 | PASS 214 ]
  Error:
  ! Test failures.
  Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 7, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 31, 2026
ERROR r-release-linux-x86_64

tests

Running ‘testthat.R’ [12s/67s]
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 
...[truncated]...
) returns character strings for text fields ──
  Expected `nchar(result$languages) > 0` to be TRUE.
  Differences:
  `actual`:       
  `expected`: TRUE
  
  
  [ FAIL 37 | WARN 0 | SKIP 198 | PASS 218 ]
  Error:
  ! Test failures.
  Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 7, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 6, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘testthat.R’ [8s/73s]
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 t
...[truncated]...
equest_fetch.write_memory(req$output, req$url, handle)
   6. │       └─curl::curl_fetch_memory(url, handle = handle)
   7. └─curl:::raise_libcurl_error(...)
  
  [ FAIL 5 | WARN 0 | SKIP 198 | PASS 224 ]
  Error:
  ! Test failures.
  Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 5, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
ERROR r-devel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘ChileDataAPI_vignette.Rmd’ using rmarkdown

Quitting from ChileDataAPI_vignette.Rmd:112-120 [chile-copper]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rla
...[truncated]...
 reached [findic.cl]:
Connection timed out after 10002 milliseconds
--- failed re-building ‘ChileDataAPI_vignette.Rmd’

SUMMARY: processing the following file failed:
  ‘ChileDataAPI_vignette.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

depends

Dependency Network

Dependencies Reverse dependencies httr jsonlite dplyr tibble scales Latamverse ChileDataAPI

Version History

3 tracked
new 0.2.0 Mar 10, 2026
updated 0.2.0 ← 0.1.0 diff Sep 10, 2025
new 0.1.0 Jul 15, 2025