Running 'testthat.R' [10m]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > test_check("RCzechia")
  Loading required package: RCzechia
  Loading required package: sf
  Linking to GEOS 3.8.0, GDAL 3.0.4, PROJ 6.3.1
  == Warnings ====================================================================
  -- Warning (test-1-data-structures.R:377:1): (code run outside of `test_that()`) --
  `filter_()` is deprecated as of dplyr 0.7.0.
  Please use `filter()` instead.
  See vignette('programming') for more help
  This warning is displayed once every 8 hours.
  Call `lifecycle::last_warnings()` to see where this warning was generated.
  Backtrace:
   1. geocode("Telc") %>% filter(typ == "Obec") test-1-data-structures.R:377:0
   3. dplyr:::filter.default(., typ == "Obec")
   4. dplyr::filter_(.data, .dots = compat_as_lazy_dots(...))
   5. dplyr:::lazy_deprec("filter")
  
  == Failed tests ================================================================
  -- Error (test-1-data-structures.R:377:1): (code run outside of `test_that()`) --
  Error: no applicable method for 'filter_' applied to an object of class "logical"
  Backtrace:
      x
   1. +-geocode("Telc") %>% filter(typ == "Obec") test-1-data-structures.R:377:0
   2. +-dplyr::filter(., typ == "Obec")
   3. \-dplyr:::filter.default(., typ == "Obec")
   4.   \-dplyr::filter_(.data, .dots = compat_as_lazy_dots(...))
  -- Failure (test-2-code.R:19:1): (code run outside of `test_that()`) -----------
  geocode(dos_sochoros[1]) is not an S3 object
  -- Failure (test-2-code.R:19:1): (code run outside of `test_that()`) -----------
  geocode(dos_sochoros[1]) inherits from `logical` not `sf`.
  -- Failure (test-2-code.R:22:1): (code run outside of `test_that()`) -----------
  geocode(dos_sochoros) %>% colnames() not equal to c("target", "typ", "address", "geometry").
  target is NULL, current is character
  -- Error (test-2-code.R:25:1): (code run outside of `test_that()`) -------------
  Error: Gateway Timeout (HTTP 504).
  Backtrace:
      x
   1. +-testthat::expect_equal(...) test-2-code.R:25:0
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-sf::st_crs(geocode(dos_sochoros[1]))
   5. \-RCzechia::geocode(dos_sochoros[1])
   6.   \-httr::stop_for_status(resp)
  
  [ FAIL 5 | WARN 1 | SKIP 0 | PASS 150 ]
  Error: Test failures
  Execution halted