Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions R/html_dependency.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#' dependency files. If \code{FALSE}, only the files specified in
#' \code{script}, \code{stylesheet}, and \code{attachment} are treated as
#' dependency files.
#' @param after_widget Should this dependency appear before or after
#' (the default) htmlwidget dependencies?
#'
#' @return An object that can be included in a list of dependencies passed to
#' \code{\link{attachDependencies}}.
Expand Down Expand Up @@ -71,7 +73,8 @@ htmlDependency <- function(name,
head = NULL,
attachment = NULL,
package = NULL,
all_files = TRUE) {
all_files = TRUE,
after_widget = TRUE) {

# This function shouldn't be called from a namespace environment with
# absolute paths.
Expand Down Expand Up @@ -104,7 +107,8 @@ htmlDependency <- function(name,
head = head,
attachment = attachment,
package = package,
all_files = all_files
all_files = all_files,
after_widget = after_widget
))
}

Expand Down