CRAN Package Check Results for Maintainer ‘Xiaohao Yang <xiaohaoy at umich.edu>’

Last updated on 2025-12-04 09:50:35 CET.

Package ERROR OK
dsmSearch 13
quickPWCR 13
streetscape 13
viewscape 1 12

Package dsmSearch

Current CRAN status: OK: 13

Package quickPWCR

Current CRAN status: OK: 13

Package streetscape

Current CRAN status: OK: 13

Package viewscape

Current CRAN status: ERROR: 1, OK: 12

Version: 2.0.2
Check: examples
Result: ERROR 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 Flavor: r-oldrel-windows-x86_64

Version: 2.0.2
Check: tests
Result: ERROR Running 'testthat.R' [28s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(viewscape) > > testthat::test_check("viewscape") Saving _problems/test-calculate_feature-25.R Saving _problems/test-calculate_viewmetrics-32.R [ FAIL 2 | WARN 3 | SKIP 0 | PASS 5 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-calculate_feature.R:22:3'): runs correctly ───────────────────── Error: [project] cannot get output boundaries for the target crs Backtrace: ▆ 1. └─viewscape::calculate_feature(...) at test-calculate_feature.R:22:3 2. ├─terra::project(feature, y = terra::crs(viewshed@crs)) 3. └─terra::project(feature, y = terra::crs(viewshed@crs)) 4. └─terra (local) .local(x, ...) 5. └─terra:::messages(x, "project") 6. └─terra:::error(f, x@pntr$getError()) ── Error ('test-calculate_viewmetrics.R:29:3'): runs correctly ───────────────── Error: [project] cannot get output boundaries for the target crs Backtrace: ▆ 1. └─viewscape::calculate_viewmetrics(...) at test-calculate_viewmetrics.R:29:3 2. ├─terra::project(dtm, y = terra::crs(viewshed@crs)) 3. └─terra::project(dtm, y = terra::crs(viewshed@crs)) 4. └─terra (local) .local(x, ...) 5. └─terra:::messages(x, "project") 6. └─terra:::error(f, x@pntr$getError()) [ FAIL 2 | WARN 3 | SKIP 0 | PASS 5 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.