From 7969af3ee5c04a2429d8ecf312a0c3ba6eedb454 Mon Sep 17 00:00:00 2001 From: billbillbilly Date: Sun, 28 Jan 2024 02:41:48 -0500 Subject: [PATCH] - update --- .Rbuildignore | 1 + DESCRIPTION | 3 +-- R/visualize_viewshed.R | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.Rbuildignore b/.Rbuildignore index 81c544b..fd0c975 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -8,3 +8,4 @@ ^codemeta\.json$ ^viewscape\.md$ ^viewscape_hex-01\.png$ +^LICENSE$ diff --git a/DESCRIPTION b/DESCRIPTION index 2f083c3..ab18301 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -6,13 +6,12 @@ Authors@R: c(person("Xiaohao", "Yang", role = c("aut", "cre"), email = "xiaohaoy person("Nathan", "Fox", role = c("aut")), person("Derek", "Van Berkel", role = c("aut")), person("Mark", "Lindquist", role = c("aut"))) -Author: Xiaohao Yang Maintainer: Xiaohao Yang 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. Depends: R (>= 4.2) -License: file LICENSE +License: GPL-3 Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) diff --git a/R/visualize_viewshed.R b/R/visualize_viewshed.R index 37b62de..0f94e74 100644 --- a/R/visualize_viewshed.R +++ b/R/visualize_viewshed.R @@ -5,9 +5,9 @@ #' plotting and output types. #' #' @param viewshed Viewshed object -#' @param plottype String, specifying the type of visualization ("polygon," +#' @param plottype Character, specifying the type of visualization ("polygon," #' "raster," or "3D"). -#' @param outputtype String, specifying the type of output object ("raster" +#' @param outputtype Character, specifying the type of output object ("raster" #' or "polygon"). #' @return Visualized viewshed as either a raster or polygon object, #' depending on the outputtype specified.