This function includes a specified folder to the 'shiny' resource path, making it accessible for serving static files in a 'shiny' application. It checks for pre-existing resource paths to avoid conflicts with folders already included by the package.
Value
NULL
invisibly. The function is called for its side effect of
adding a resource path to 'shiny'.
Examples
if (interactive()) {
library(shiny)
# Create an "images" folder
dir.create("images")
# Include the folder in the shiny resource path
sd_include_folder("images")
}