CSHS-CWRA / CSHShydRology

Main package
GNU Affero General Public License v3.0
35 stars 39 forks source link

Test url #95

Closed KevinShook closed 2 years ago

KevinShook commented 2 years ago

Description

Changes to allow graceful failures when downloading data as required by CRAN.

  1. Removed ch_get_AHCCD_monthly as is now required by CRAN as data can no longer be downloaded from ECCC data mart
  2. added internal function ch_test_url_file to check urls to make sure they are valid
  3. added calling ch_test_url_file to ch_get_url_data
  4. Related Issue

Example