Yes the path should be a file

On Apr 11, 2014, at 5:09 PM, Joe Cheng <notifications@github.com> wrote:

In R/shinyui.R:

> @@ -269,3 +269,19 @@ uiHttpHandler <- function(ui, path = "/") {
>    }
>  }
>
> +#' Return HTML dependencies provided by Shiny
> +#'
> +#' By default, Shiny supplies some framework scripts when it renders a page.
> +#' \code{getProvidedHtmlDependencies} returns a list of those provided objects.
> +#'
> +#' @return A list of objects of type \code{html_dependency}, one per dependency
> +#'
> +#' @export
> +getProvidedHtmlDependencies <- function() {
> +  list(structure(
> +    list(name = "jquery",
> +         version = "1.11.0",
> +         path = system.file("www/shared/jquery.js", package="shiny"),

This path is supposed to be to a file, not a directory?

--
Reply to this email directly or view it on
GitHub<https://github.com/rstudio/shiny/pull/436/files#r11552044>
.