Skip to content

Commit ad28dc9

Browse files
committed
Various documentation additions, enhancements
1 parent 1808e9d commit ad28dc9

File tree

5 files changed

+15
-17
lines changed

5 files changed

+15
-17
lines changed

R/dependencies.R

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,9 @@ html_dependency_corejs <- function() {
7373

7474
#' Adds window.reactR.exposeComponents and window.reactR.hydrate
7575
#'
76-
#' @return
76+
#' @return \code{\link[htmltools]{htmlDependency}}
77+
#' @importFrom htmltools htmlDependency
7778
#' @export
78-
#'
79-
#' @examples
8079
html_dependency_reacttools <- function(){
8180
htmltools::htmlDependency(
8281
name = "reactwidget",

R/reacttools.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ React <- structure(
8383
#' @param tag character vector or React component or
8484
#' \code{\link[htmltools]{tag}}
8585
#'
86-
#' @return
86+
#' @return A reactR markup object suitable for being passed to
87+
#' \code{\link[htmlwidgets]{createWidget}} as widget instance data.
8788
#' @export
8889
reactMarkup <- function(tag) {
8990
stopifnot(inherits(tag, "shiny.tag")

man/builder.Rd

Lines changed: 0 additions & 9 deletions
This file was deleted.

man/html_dependency_reacttools.Rd

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/reactMarkup.Rd

Lines changed: 8 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)