#' Sources a file path within the project
#'
#' Adaptation to the \code{file.path} function to inlclude the project parent directory file path.
#' Construct the path to a file from components in a platform-independent way.
#'
#' @param root the name of the root project directory
#' @param ... character vectors
#' @param fsep the path separator to use
#'
#' @author Mikey Harper, \email{m.harper@@soton.ac.uk}
#' @export
#'
sourceProjScript <- function(root , ..., fsep = .Platform$file.sep){
source(projFilePath(root , ..., fsep = .Platform$file.sep))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.