I'm having some trouble making the elevation_add() function working, even with an mapbox API active.
The example in documentation is also not working.
library(sf)
#> Linking to GEOS 3.12.1, GDAL 3.8.4, PROJ 9.3.1; sf_use_s2() is TRUE
library(slopes)
# Get elevation data (requires internet connection and API key):
r3d_get = elevation_add(cyclestreets_route)
#> Loading required namespace: ceramic
#> Error in valid_numeric_matrix(x): !anyNA(x) is not TRUE
plot_slope(r3d_get)
#> Error in eval(expr, envir, enclos): object 'r3d_get' not found
I'm having some trouble making the elevation_add() function working, even with an mapbox API active. The example in documentation is also not working.
Created on 2024-08-06 with reprex v2.1.0