Description
A collection of functions to make R a more effective viewscape analysis tool for calculating viewscape metrics based on computing the viewable area for given a point/multiple viewpoints and a digital elevation model.The method of calculating viewscape metrics implemented in this package are based on the work of Tabrizian et al. (2020) <doi:10.1016/j.landurbplan.2019.103704>. The algorithm of computing viewshed is based on the work of Franklin & Ray. (1994) <https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=555780f6f5d7e537eb1edb28862c86d1519af2be>.
Downloads
141
Last 30 days
19046th
677
Last 90 days
2.3K
Last year
Trend: -44.1% (30d vs prior 30d)
CRAN Check Status
13
OK
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR
r-devel-windows-x86_64
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/viewscape.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 20, 2026
ERROR
r-devel-windows-x86_64
examples
Running examples in 'viewscape-Ex.R' failed
The error most likely occurred in:
> ### Name: fov_mask
> ### Title: fov_mask
> ### Aliases: fov_mask
>
> ### ** Examples
>
> # Load a viewpoint
> test_viewpoint <- sf::read_sf(system.file("test_viewpoin
...[truncated]...
tem.file("test_dsm.tif", package ="viewscape"))
> # Compute viewshed
> viewshed <- viewscape::compute_viewshed(dsm,
+ viewpoints = test_viewpoint,
+ offset_viewpoint = 6)