#' Return path up one directory
#'
#' @param p path
#' @return path with last directory removed
#' @examples
#' path.goUpOneDir('/Users/test/fish-100')
#' @export
path.goUpOneDir <- function(p) {
gsub('(.*)(//?[^//]+)$','\\1',p)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.