Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
5 changes: 4 additions & 1 deletion R/tm_file_viewer.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
#' folder = system.file("sample_files", package = "teal.modules.general"),
#' png = system.file("sample_files/sample_file.png", package = "teal.modules.general"),
#' txt = system.file("sample_files/sample_file.txt", package = "teal.modules.general"),
#' url = "https://fda.gov/files/drugs/published/Portable-Document-Format-Specifications.pdf"
#' url = file.path(
#' "https://www.fda.gov/files/drugs/published",
#' "Portable-Document-Format-Specifications.pdf"
#' )
#' )
#' )
#' )
Expand Down
2 changes: 1 addition & 1 deletion R/tm_variable_browser.R
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ get_plotted_data <- function(input, plot_var, data) {
teal.reporter::teal_card(obj),
teal.reporter::teal_card("## Module's output(s)")
)
teal.code::eval_code(obj, "library(ggplot2)") |>
teal.code::eval_code(obj, "library(ggplot2)\nlibrary(dplyr)") |>
within(
{
ANL <- dplyr::select(dataset_name, varname)
Expand Down
9 changes: 6 additions & 3 deletions man/tm_file_viewer.Rd

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

Loading