Skip to content

Commit

Permalink
chore: fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Dec 13, 2024
1 parent 94e355e commit 44cd1b9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion R/HTMLBlock.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ HTMLBlock <- R6::R6Class( # nolint: object_name_linter.
#' @examples
#' HTMLBlock <- getFromNamespace("HTMLBlock", "teal.reporter")
#' block <- HTMLBlock$new()
#' block$set_content(div("HTML Content"))
#' block$set_content(shiny::div("HTML Content"))
#'
set_content = function(content) {
path <- tempfile(fileext = ".rds")
Expand Down
2 changes: 1 addition & 1 deletion R/ReportCard.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ReportCard <- R6::R6Class( # nolint: object_name_linter.
#' @param content An object that can be rendered as a HTML content.
#' @return `self`, invisibly.
#' @examples
#' card <- ReportCard$new()$append_html(div("HTML Content"))
#' card <- ReportCard$new()$append_html(shiny::div("HTML Content"))
#'
append_html = function(content) {
self$append_content(HTMLBlock$new(content))
Expand Down
4 changes: 2 additions & 2 deletions man/HTMLBlock.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/ReportCard.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 44cd1b9

Please sign in to comment.