Nothing
#' Multest output options.
#'
#' Returns a list of user-supplied parameters and parameter values for outputting
#' multest with custom aesthetics.
#'
#' If no parameters, an empty list is returned.
#'
#' @param multest_fmt String. Format for multest output tables ('csv',
#' 'sqlite', 'gpkg').
#' @param multest_outfolder String. Outfolder for multest. If NULL, same as
#' outfolder.
#' @param multest_dsn String. Name of database if multest_fmt = c('sqlite',
#' 'gpkg').
#' @param multest_layer String. Name of database layer if multest_fmt =
#' c('sqlite', 'gpkg').
#' @param multest.append Logical. If TRUE, appends multest dataframe to output.
#' @param multest.AOIonly Logical. If TRUE, appends multest dataframe (AOI=1)
#' to output.
#' @param ... For extendibility.
#' @return A list of user-supplied parameters and parameter values for outputting
#' multest.
#' @author Grayson W. White
#' @keywords options
#' @examples
#'
#' multest_options(multest.append = TRUE)
#'
#' @export multest_options
multest_options <- function(multest_fmt="csv", multest_outfolder=NULL,
multest_dsn=NULL, multest_layer=NULL,
multest.append=FALSE, multest.AOIonly=FALSE, ...) {
# Check input parameters
input.params <- names(as.list(match.call()))[-1]
formallst <- c(names(formals(multest_options)))
if (!all(input.params %in% formallst)) {
miss <- input.params[!input.params %in% formallst]
stop("invalid parameter: ", toString(miss))
}
# removes input parameters to create l correctly
rm(input.params, formallst)
# create list from input parameters
l <- c(as.list(environment()), list(...))
# return list
return(l)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.