Running examples in 'viewscape-Ex.R' failed
The error most likely occurred in:

> ### Name: calculate_feature
> ### Title: calculate_feature
> ### Aliases: calculate_feature
> 
> ### ** Examples
> 
> library(viewscape)
> # Load a viewpoint
> test_viewpoint <- sf::read_sf(system.file("test_viewpoint.shp", package = "viewscape"))
> # load dsm raster
> dsm <- terra::rast(system.file("test_dsm.tif", package ="viewscape"))
> #Compute viewshed
> viewshed <- viewscape::compute_viewshed(dsm = dsm,
+                                         viewpoints = test_viewpoint,
+                                         offset_viewpoint = 6)
> # load canopy raster
> test_canopy <- terra::rast(system.file("test_canopy.tif",
+                                        package ="viewscape"))
> # calculate the percentage of canopy coverage
> test_canopy_proportion <- viewscape::calculate_feature(viewshed = viewshed,
+                                                        feature = test_canopy,
+                                                        type = 2,
+                                                        exclude_value = 0)
Warning: Cannot find coordinate operations from `{
  "$schema": "https://proj.org/schemas/v0.7/projjson.schema.json",
  "type": "EngineeringCRS",
  "name": "NAD83 / Michigan South (ft)",
  "datum": {
    "name": "Unknown engineering datum"
  },
  "coordinate_system": {
    "subtype": "Cartesian",
    "axis": [
      {
        "name": "Easting",
        "abbreviation": "E",
        "direction": "east",
        "unit": "metre"
      },
      {
        "name": "Northing",
        "abbreviation": "N",
        "direction": "north",
        "unit": "metre"
      }
    ]
  }
}' to `{
  "$schema": "https://proj.org/schemas/v0.7/projjson.schema.json",
  "type": "ProjectedCRS",
  "name": "unknown",
  "base_crs": {
    "name": "unknown",
    "datum": {
      "type": "GeodeticReferenceFrame",
      "name": "North American Datum 1983",
      "ellipsoid": {
        "name": "GRS 1980",
        "semi_major_axis": 6378137,
        "inverse_flattening": 298.257222101
      },
      "id": {
        "authority": " [... truncated]
Error: [project] cannot get output boundaries for the target crs
Execution halted