# url is broken into parts to fit within 100 characters to avoid CRAN notes
url_parts <- c(
"https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services",
"/USA_Counties_Generalized_Boundaries/FeatureServer/0"
)
furl <- paste0(url_parts, collapse = "")
meta <- fetch_layer_metadata(furl)
head(names(meta))
Run the code above in your browser using DataLab