{
  "_id": "6a40e5494f09e15ead759752",
  "Package": "viewscape",
  "Type": "Package",
  "Title": "Viewscape Analysis",
  "Version": "3.0.0",
  "Authors@R": "c(person(\"Xiaohao\", \"Yang\", role = c(\"aut\", \"cre\", \"cph\"), email = \"xiaohaoy@umich.edu\"),\nperson(\"Nathan\", \"Fox\", role = c(\"aut\")),\nperson(\"Derek\", \"Van Berkel\", role = c(\"aut\")),\nperson(\"Mark\", \"Lindquist\", role = c(\"aut\")))",
  "Description": "Provides tools for viewscape analysis from one or multiple\nviewpoints using a digital surface or elevation model. Core\nfunctionality includes computing viewsheds, quantifying visual\nmagnitude, calculating a suite of viewscape configuration\nmetrics (extent, depth, relief, Sky View Factor, skyline\nvariation, and patch-based landscape structure), Shannon\nDiversity Index and land cover feature proportions within the\nvisible area, pairwise intervisibility networks, panoramic view\ngeneration, and visualizing results as rasters or polygons.\nViewscape configuration metrics follow the methods of Tabrizian\net al. (2020) <doi:10.1016/j.landurbplan.2019.103704>. The\nviewshed algorithm is based on Franklin & Ray (1994)\n<https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=555780f6f5d7e537eb1edb28862c86d1519af2be>\nand Wang et al. (2000) <doi:10.14358/PERS.66.1.87>. Visual\nmagnitude is derived from Chamberlain & Meitner (2013)\n<doi:10.1016/j.landurbplan.2013.01.003>. Sky View Factor is\ncomputed following Oke (1981) <doi:10.1002/joc.3370010304> as\nimplemented in the 'shadow' package (Dorman et al. 2019)\n<doi:10.32614/RJ-2019-024>.",
  "URL": "https://github.com/billbillbilly/viewscape",
  "BugReports": "https://github.com/billbillbilly/viewscape/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Remotes": [
    "billbillbilly/greenSD",
    "billbillbilly/dsmSearch"
  ],
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr, rmarkdown",
  "biocViews": "",
  "Config/pak/sysreqs": "libabsl-dev cmake libfftw3-dev libgdal-dev gdal-bin\nlibgeos-dev libglpk-dev libicu-dev libjpeg-dev libpng-dev\nlibtiff-dev libxml2-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev libx11-dev",
  "Repository": "https://billbillbilly.r-universe.dev",
  "Date/Publication": "2026-06-20 23:38:48 UTC",
  "RemoteUrl": "https://github.com/billbillbilly/viewscape",
  "RemoteRef": "HEAD",
  "RemoteSha": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-28 09:02:46 UTC",
    "User": "root"
  },
  "Author": "Xiaohao Yang [aut, cre, cph],\nNathan Fox [aut],\nDerek Van Berkel [aut],\nMark Lindquist [aut]",
  "Maintainer": "Xiaohao Yang <xiaohaoy@umich.edu>",
  "MD5sum": "46ed6b4e436477188eb7e59ba1db6e72",
  "_user": "billbillbilly",
  "_type": "src",
  "_file": "viewscape_3.0.0.tar.gz",
  "_fileid": "3fb7174781cbcb61d92656323e2f991544b8aa2610ae0ca204ed569872fa3b26",
  "_filesize": 2335585,
  "_sha256": "3fb7174781cbcb61d92656323e2f991544b8aa2610ae0ca204ed569872fa3b26",
  "_created": "2026-06-28T09:02:46.000Z",
  "_published": "2026-06-28T09:11:37.977Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83892894845,
      "time": 280,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7933082883"
    },
    {
      "job": 83892894844,
      "time": 274,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7933081683"
    },
    {
      "job": 83892894867,
      "time": 248,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "7933078364"
    },
    {
      "job": 83892894828,
      "time": 270,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "7933080988"
    },
    {
      "job": 83892894840,
      "time": 184,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7933068691"
    },
    {
      "job": 83892894889,
      "time": 414,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7933101271"
    },
    {
      "job": 83892894843,
      "time": 193,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "7933070293"
    },
    {
      "job": 83892894851,
      "time": 458,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "7933107883"
    },
    {
      "job": 83892492140,
      "time": 362,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7933043618"
    },
    {
      "job": 83892894822,
      "time": 191,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7933069686"
    },
    {
      "job": 83892894829,
      "time": 234,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7933075951"
    },
    {
      "job": 83892894827,
      "time": 232,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7933075609"
    },
    {
      "job": 83892894842,
      "time": 255,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "7933079109"
    }
  ],
  "_buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/28317165227",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/billbillbilly/viewscape",
  "_commit": {
    "id": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
    "author": "Xiaohao Yang <61219306+billbillbilly@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #2 from billbillbilly/newfunc\n\nupdate",
    "time": 1781998728
  },
  "_maintainer": {
    "name": "Xiaohao Yang",
    "email": "xiaohaoy@umich.edu",
    "login": "billbillbilly",
    "description": "PhD candidate @digital-landscapes at the School for Environment and Sustainability, University of Michigan",
    "uuid": 61219306
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "sp",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "ForestTools",
      "version": ">= 1.0.1",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pbmcapply",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "greenSD",
      "role": "Suggests"
    },
    {
      "package": "dsmSearch",
      "role": "Suggests"
    }
  ],
  "_owner": "billbillbilly",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 2
    },
    {
      "week": "2026-25",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "billbillbilly",
      "count": 328,
      "uuid": 61219306
    },
    {
      "user": "dr-nathan-fox",
      "count": 23,
      "uuid": 42167576
    }
  ],
  "_userbio": {
    "uuid": 61219306,
    "type": "user",
    "name": "Xiaohao Yang",
    "followers": 16,
    "description": "PhD candidate @digital-landscapes at the School for Environment and Sustainability, University of Michigan"
  },
  "_downloads": {
    "count": 228,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/viewscape"
  },
  "_devurl": "https://github.com/billbillbilly/viewscape",
  "_searchresults": 23,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/viewscape.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/billbillbilly/viewscape",
  "_realowner": "billbillbilly",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-02-04"
    },
    {
      "version": "2.0.0",
      "date": "2024-11-09"
    },
    {
      "version": "2.0.1",
      "date": "2024-11-14"
    },
    {
      "version": "2.0.2",
      "date": "2024-12-19"
    },
    {
      "version": "3.0.0",
      "date": "2026-06-27"
    }
  ],
  "_exports": [
    "calculate_diversity",
    "calculate_feature",
    "calculate_viewmetrics",
    "compute_viewshed",
    "fov_mask",
    "intervis_network",
    "pano_view",
    "visual_magnitude",
    "visualize_viewshed"
  ],
  "_help": [
    {
      "page": "calculate_diversity",
      "title": "calculate_diversity",
      "topics": [
        "calculate_diversity"
      ]
    },
    {
      "page": "calculate_feature",
      "title": "calculate_feature",
      "topics": [
        "calculate_feature"
      ]
    },
    {
      "page": "calculate_viewmetrics",
      "title": "calculate_viewmetrics",
      "topics": [
        "calculate_viewmetrics"
      ]
    },
    {
      "page": "compute_viewshed",
      "title": "compute_viewshed",
      "topics": [
        "compute_viewshed"
      ]
    },
    {
      "page": "fov_mask",
      "title": "fov_mask",
      "topics": [
        "fov_mask"
      ]
    },
    {
      "page": "pano_view",
      "title": "pano_view",
      "topics": [
        "pano_view"
      ]
    },
    {
      "page": "Viewshed-class",
      "title": "An S4 class to represent the viewshed",
      "topics": [
        "Viewshed-class"
      ]
    },
    {
      "page": "visual_magnitude",
      "title": "visual_magnitude",
      "topics": [
        "visual_magnitude"
      ]
    },
    {
      "page": "visualize_viewshed",
      "title": "visualize_viewshed",
      "topics": [
        "visualize_viewshed"
      ]
    }
  ],
  "_readme": "https://github.com/billbillbilly/viewscape/raw/HEAD/README.md",
  "_rundeps": [
    "bmp",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "DBI",
    "digest",
    "downloader",
    "dplyr",
    "e1071",
    "ForestTools",
    "generics",
    "GLCMTextures",
    "glue",
    "igraph",
    "imager",
    "jpeg",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "pbmcapply",
    "pillar",
    "pkgconfig",
    "png",
    "proxy",
    "purrr",
    "R6",
    "raster",
    "Rcpp",
    "RcppArmadillo",
    "readbitmap",
    "rlang",
    "s2",
    "sf",
    "sp",
    "stringi",
    "stringr",
    "terra",
    "tibble",
    "tidyselect",
    "tiff",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "viewscape.Rmd",
      "filename": "viewscape.html",
      "title": "viewscape",
      "author": "Xiaohao Yang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Viewscape",
        "1. Compute viewshed",
        "1.1 Compute single viewshed",
        "1.2 Subset viewshed using by specifying the field of view",
        "1.3 Compute visual magnitude",
        "1.4 Compute the viewshed for multiple viewpoints",
        "1.5 Compute an intervisibility network",
        "Adjacency matrix",
        "Network as spatial lines",
        "Per-viewpoint observer heights",
        "2. Calculate viewscape metrics",
        "2.1 Calculate the metrics of viewshed",
        "2.2 Calculate land use/cover diversity",
        "2.3 calculate a single feature",
        "3. Panoramic view",
        "3.1 Colour panorama (equirectangular, default)",
        "3.2 Land-cover / land-use panorama (equirectangular + semantic)"
      ],
      "created": "2021-11-08 20:30:49",
      "modified": "2026-06-20 19:16:59",
      "commits": 36
    }
  ],
  "_score": 4.361727836017593,
  "_indexed": true,
  "_nocasepkg": "viewscape",
  "_universes": [
    "billbillbilly"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-06-28T09:06:33.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
      "fileid": "54fc9bc5fdfb7d45965e845071d99e7d2e84095d44c87b71d601314a9fa2c751",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/28317165227"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-06-28T09:06:06.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
      "fileid": "337a9a89e6fc809794d277edc8f0acde73cf9c0d44770544a861f31ac86557c7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/28317165227"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-06-28T09:06:11.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
      "fileid": "b90f7010fa07a6d066f207cd69127c1658894cebdd1acd61083747d5094ace89",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/28317165227"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-06-28T09:06:03.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
      "fileid": "4e711cc1805da090792efa9daa3fad872222aed02e063a1c6952c8fbba3106f9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/28317165227"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-06-28T09:04:56.000Z",
      "arch": "aarch64",
      "commit": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
      "fileid": "6af03bc06d3f0b6bbbfc8cc40e7d053a2c4f8d86f7c8e3d4b57ae07bf44e0d06",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/28317165227"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-06-28T09:06:45.000Z",
      "arch": "x86_64",
      "commit": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
      "fileid": "75fc5e4573d25cb85a67a358ab88330c535921dcaa5468e991dba923d8283ddc",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/28317165227"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-06-28T09:05:13.000Z",
      "arch": "aarch64",
      "commit": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
      "fileid": "b3ad2147997c1c1bca3a7893bd5f8138c34800b4604c8369a6188ff8d05ed0b9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/28317165227"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-06-28T09:07:12.000Z",
      "arch": "x86_64",
      "commit": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
      "fileid": "901d129c75c9123bc6e17d420b1b7a92f3842c705647fccf591e4367534ef052",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/28317165227"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.0.0",
      "date": "2026-06-28T09:06:37.000Z",
      "arch": "emscripten",
      "commit": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
      "fileid": "fe67fc88d38fd1ab465126a74a674d5a62bbbd94212fb8eb2d69c8664be130c4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/28317165227"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-06-28T09:04:42.000Z",
      "arch": "x86_64",
      "commit": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
      "fileid": "4d38466d5dbc1c2c846cb637f2e1f20b9b40859e13ef1cafc7a5fdb14cc122e3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/28317165227"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-06-28T09:04:37.000Z",
      "arch": "x86_64",
      "commit": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
      "fileid": "02a4e4c02e876ee3a3365062ed546420f526ab7a005f9fc290e54fab6dd63aa1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/28317165227"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-06-28T09:05:03.000Z",
      "arch": "x86_64",
      "commit": "bea8a6b6373e47f469f896e98ba3e578b8acece5",
      "fileid": "57a85480e0dc344ba858406d129d3d3c7da2c5488cd860be15d97578cd6e7683",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/billbillbilly/actions/runs/28317165227"
    }
  ]
}