Nothing
#' Validate survey file paths
#'
#' Check whether all supplied survey file paths exist.
#'
#' @param survey_files A character vector of survey file paths.
#'
#' @return Invisibly returns TRUE if all files exist.
#' Otherwise, raises an error listing the missing files.
#'
#' @keywords internal
#' @noRd
validate_survey_files <- function(survey_files) {
missing_files <- survey_files[!fs::file_exists(survey_files)]
if (length(missing_files) > 0L) {
stop(
paste0(
"The following files were not found: ",
paste(missing_files, collapse = ", ")
),
call. = FALSE
)
}
invisible(TRUE)
}
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.