#' fget
#'
#' @description
#' Creates a path to a file in a package subdirectory
#'
#' @param file the name of the file with subdir in a pacakge to reference
#' @param package directs you to where you have installed the package
#' @return \code{char} with path and file
#' @export
#' @docType methods
#' @rdname fget
#'
#' @examples
#' x=1
fget=function(file,package="diags")
paste(system.file(package=package, mustWork=TRUE), paste(file, sep=""), sep="/")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.