Skip to content

Commit

Permalink
attach zeallot
Browse files Browse the repository at this point in the history
  • Loading branch information
jrosell committed Aug 4, 2024
1 parent 96aeb39 commit 601ecd0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ attach_library <- function(pkg) {
}

.onAttach <- function(...) {
ambhtmx_core <- c("ambiorix", "htmltools", "tibble", "dplyr", "purrr", "stringr", "glue")
ambhtmx_core <- c("ambiorix", "htmltools", "tibble", "dplyr", "purrr", "stringr", "glue", "zeallot")

invisible(suppressPackageStartupMessages(
lapply(ambhtmx_core, attach_library)
Expand Down
11 changes: 5 additions & 6 deletions inst/examples/01-counter.R
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
library(ambhtmx)
# devtools::load_all()
library(ambiorix)
library(tidyverse)
library(zeallot)
library(glue)
library(htmltools)

#' Starting the app
counter <- 0
c(app, context, operations) %<-% ambhtmx_app()
tryCatch({
c(app, context, operations) %<-% ambhtmx_app()
},
error = \(e) print(e)
)

#' Main page of the app
app$get("/", \(req, res){
Expand Down
5 changes: 0 additions & 5 deletions inst/examples/02-ggplot2.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
library(ambhtmx)
# devtools::load_all()
library(ambiorix)
library(tidyverse)
library(zeallot)
library(glue)
library(htmltools)

#' Starting the app
counter <- 0
Expand Down

0 comments on commit 601ecd0

Please sign in to comment.