Running 'a-e.R' [3s/8s]
  Running 'f-z.R' [3s/9s]
Running the tests in 'tests/a-e.R' failed.
Complete output:
  > library(testthat)
  > library(fingertipsR)
  > 
  > test_check("fingertipsR", filter = "^[a-e]")
  -- 1. Error: the area_types function works correctly (@test-area_types.R#8)  ---
  The API is currently unavailable
  Backtrace:
   1. testthat::expect_is(area_types(), "data.frame")
   4. fingertipsR::area_types()
   5. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 2. Error: the indicator_areatypes function is working correctly (@test-area_t
  The API is currently unavailable
  Backtrace:
   1. testthat::expect_equal(ncol(indicator_areatypes()), 2)
   5. fingertipsR::indicator_areatypes()
   6. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 3. Error: category_types returns as expected (@test-area_types.R#36)  -------
  The API is currently unavailable
  Backtrace:
   1. testthat::expect_is(category_types(), "data.frame")
   4. fingertipsR::category_types()
   5. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 4. Error: nearest_neighbours returns as expected (@test-area_types.R#44)  ---
  The API is currently unavailable
  Backtrace:
   1. testthat::expect_equal(...)
   4. fingertipsR::nearest_neighbours("E09000001", 102, "CIPFA")
   5. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 5. Error: (unknown) (@test-deprivation.R#7)  --------------------------------
  The API is currently unavailable
  Backtrace:
   1. fingertipsR::deprivation_decile()
   2. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 6. Failure: fingertips_redred should return an error (@test-enhancements.R#8)
  `fingertips_redred(Comparator = "Sub-national", IndicatorID = 10101)` threw an error with unexpected message.
  Expected match: "Comparator must be either England, Parent or Goal"
  Actual message: "The API is currently unavailable"
  Backtrace:
   1. testthat::expect_error(...)
   6. fingertipsR::fingertips_redred(Comparator = "Sub-national", IndicatorID = 10101)
   7. fingertipsR::fingertips_data(path = path, ...)
   8. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 7. Error: fingertips_redred should return a 26 field data.frame (@test-enhanc
  The API is currently unavailable
  Backtrace:
   1. testthat::expect_equal(...)
   5. fingertipsR::fingertips_redred(90616, AreaTypeID = 152, Comparator = "England")
   6. fingertipsR::fingertips_data(path = path, ...)
   7. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 8. Error: fingertips_stats functionality (@test-enhancements.R#25)  ---------
  The API is currently unavailable
  Backtrace:
   1. testthat::expect_null(fingertips_stats())
   4. fingertipsR::fingertips_stats()
   5. fingertipsR::indicators()
   6. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 9. Error: (unknown) (@test-extract.R#7)  ------------------------------------
  The API is currently unavailable
  Backtrace:
   1. fingertipsR::fingertips_data(IndicatorID = 90616, AreaTypeID = 152)
   2. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  == testthat results  ===========================================================
  [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 9 ]
  1. Error: the area_types function works correctly (@test-area_types.R#8) 
  2. Error: the indicator_areatypes function is working correctly (@test-area_types.R#22) 
  3. Error: category_types returns as expected (@test-area_types.R#36) 
  4. Error: nearest_neighbours returns as expected (@test-area_types.R#44) 
  5. Error: (unknown) (@test-deprivation.R#7) 
  6. Failure: fingertips_redred should return an error (@test-enhancements.R#8) 
  7. Error: fingertips_redred should return a 26 field data.frame (@test-enhancements.R#15) 
  8. Error: fingertips_stats functionality (@test-enhancements.R#25) 
  9. Error: (unknown) (@test-extract.R#7) 
  
  Error: testthat unit tests failed
  Execution halted
Running the tests in 'tests/f-z.R' failed.
Complete output:
  > library(testthat)
  > library(fingertipsR)
  > 
  > test_check("fingertipsR", filter = "^[f-z]")
  -- 1. Failure: profile warnings work (@test-indicators.R#8)  -------------------
  `profiles(c(12, 14))` threw an error with unexpected message.
  Expected match: "ProfileID\\(s\\) are not in the list of profile IDs\\. Re-run the function without any inputs to see all possible IDs\\."
  Actual message: "The API is currently unavailable"
  Backtrace:
   1. testthat::expect_error(profiles(c(12, 14)), "ProfileID\\(s\\) are not in the list of profile IDs\\. Re-run the function without any inputs to see all possible IDs\\.")
   6. fingertipsR::profiles(c(12, 14))
   7. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 2. Failure: profile warnings work (@test-indicators.R#11)  ------------------
  `profiles(ProfileName = "PHOF")` threw an error with unexpected message.
  Expected match: "Profile names are not in the list of profile names\\. Re-run the function without any inputs to see all possible names\\."
  Actual message: "The API is currently unavailable"
  Backtrace:
   1. testthat::expect_error(profiles(ProfileName = "PHOF"), "Profile names are not in the list of profile names\\. Re-run the function without any inputs to see all possible names\\.")
   6. fingertipsR::profiles(ProfileName = "PHOF")
   7. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 3. Error: the profiles function works (@test-indicators.R#18)  --------------
  The API is currently unavailable
  Backtrace:
   1. testthat::expect_is(...)
   4. fingertipsR::profiles(ProfileName = "Public Health Outcomes Framework")
   5. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 4. Error: profile indicators work (@test-indicators.R#30)  ------------------
  The API is currently unavailable
  Backtrace:
   1. testthat::expect_warning(...)
   6. fingertipsR::indicators(ProfileID = 19, DomainID = 1938132767)
   7. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 5. Error: the indicators function works (@test-indicators.R#37)  ------------
  The API is currently unavailable
  Backtrace:
   1. testthat::expect_is(indicators(19), "data.frame")
   4. fingertipsR::indicators(19)
   5. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 6. Error: the indicators_unique function works (@test-indicators.R#46)  -----
  The API is currently unavailable
  Backtrace:
   1. testthat::expect_is(indicators_unique(19), "data.frame")
   4. fingertipsR::indicators_unique(19)
   5. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 7. Error: the indicator_order function works (@test-indicators.R#52)  -------
  The API is currently unavailable
  Backtrace:
   1. testthat::expect_is(...)
   4. fingertipsR::indicator_order(...)
   5. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  -- 8. Error: (unknown) (@test-metadata.R#8)  -----------------------------------
  The API is currently unavailable
  Backtrace:
   1. base::suppressWarnings(indicator_metadata(IndicatorID = 10101))
   3. fingertipsR::indicator_metadata(IndicatorID = 10101)
   4. fingertipsR:::fingertips_ensure_api_available(endpoint = path)
  
  == testthat results  ===========================================================
  [ OK: 2 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 8 ]
  1. Failure: profile warnings work (@test-indicators.R#8) 
  2. Failure: profile warnings work (@test-indicators.R#11) 
  3. Error: the profiles function works (@test-indicators.R#18) 
  4. Error: profile indicators work (@test-indicators.R#30) 
  5. Error: the indicators function works (@test-indicators.R#37) 
  6. Error: the indicators_unique function works (@test-indicators.R#46) 
  7. Error: the indicator_order function works (@test-indicators.R#52) 
  8. Error: (unknown) (@test-metadata.R#8) 
  
  Error: testthat unit tests failed
  Execution halted