
Test geobr Package Connection with Its Server
      Source: R/test_geobr_connection.R
      test_geobr_connection.Rdtest_geobr_connection() tests if the geobr package can successfully
connect to its server and retrieve data.
Note: This function requires an active internet connection and the
geobr package to be installed.
Value
A logical flag indicating if the connection
was successful.
See also
Other utility functions:
closest_geobr_year(),
fix_postal_code(),
map_fill_data(),
remove_unique_outliers(),
unique_outliers()
Examples
# \dontrun{
  library(curl)
  library(geobr)
  if (has_internet()) {
    test_geobr_connection()
  }
#> [1] TRUE
# }