#' Check to make sure parameter file exists
#'
#' @description
#' This function checks to make sure the parameter file exists in the specified
#' directories. If it does not, it will stop the function and return an error message.
#'
#'@param paramFile The path to the parameter file.
#'
#'@return Nothing. Errors is invalid
#'
#'@noRd
#'
check_param_files <- function(paramFile) {
# Check if the parameter file exists
if (!file.exists(paramFile)) {
stop(paste("Parameter file does not exist:", paramFile))
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.