diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 7ebf6312..63481c25 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -51,29 +51,6 @@ jobs: with: to: html - # temporary! - # remove this step if closed (& relleased): https://github.com/quarto-ext/shinylive/issues/59 - - name: Remove large WebR assets 🧹 - run: | - packages_path <- sprintf("./_site/site_libs/quarto-contrib/shinylive-%s/shinylive/webr/packages", shinylive::assets_version()) - - # remove the dirs with size > 100 MB - for (x in list.dirs(packages_path)) { - x_files <- file.info(list.files(x, full.names = TRUE)) - if (any(x_files$size > 100 * 1024^2)) { - print(x) - print(x_files) - unlink(x, recursive = TRUE) - } - } - - # refresh the `metadata.rds` file - metadata_path <- file.path(packages_path, "metadata.rds") - metadata <- readRDS(metadata_path) - new_metadata <- metadata[intersect(names(metadata), list.dirs(packages_path, full.names = FALSE))] - saveRDS(new_metadata, metadata_path) - shell: Rscript {0} - - name: Publish docs if: github.ref == 'refs/heads/main' uses: peaceiris/actions-gh-pages@v3 diff --git a/DESCRIPTION b/DESCRIPTION index 72e6f0b3..a2df30ec 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -58,6 +58,8 @@ Imports: Suggests: knitr, rmarkdown +Remotes: + shinylive=posit-dev/r-shinylive Encoding: UTF-8 Language: en-US diff --git a/_quarto.yml b/_quarto.yml index 3a503686..d6a95cd0 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -7,8 +7,6 @@ project: watch-inputs: true navigate: true timeout: 300 - pre-render: - - interactive/prepare.R website: title: "pharmaverse examples" diff --git a/interactive/prepare.R b/interactive/prepare.R deleted file mode 100644 index b531167d..00000000 --- a/interactive/prepare.R +++ /dev/null @@ -1 +0,0 @@ -shinylive::assets_ensure() diff --git a/interactive/teal.qmd b/interactive/teal.qmd index 42f2a7de..39b1e842 100644 --- a/interactive/teal.qmd +++ b/interactive/teal.qmd @@ -3,11 +3,6 @@ title: "`teal` applications" order: 1 --- -```{r} -#| include: false -shinylive::assets_ensure() -``` - [`teal`](https://insightsengineering.github.io/teal/latest-tag/) is a Shiny-based framework that streamlines the process of creating an application for clinical trials data. App developers are required to specify input data as well as analysis modules choosing from a wide range of available modules or creating their own module. The main features of a `teal` app include: