Skip to content

Commit 2ee05f6

Browse files
Prefer terra over raster in documentation
Updated error message to reference SpatRaster (terra) as the preferred raster format. Package still supports raster for backwards compatibility. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8c02cd1 commit 2ee05f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/hexify_map.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ resolve_basemap_with_raster <- function(basemap) {
395395
return(result)
396396
}
397397

398-
stop("basemap must be 'world', an sf object, or a raster (terra/raster)")
398+
stop("basemap must be 'world', an sf object, or a SpatRaster (terra)")
399399
}
400400

401401
# =============================================================================

0 commit comments

Comments
 (0)