Skip to content

Commit 5246712

Browse files
authored
Merge pull request #119 from pharmaverse/108_fix_interactive
use dev shinylive; remove temp webr automation
2 parents a098a45 + 3aeb201 commit 5246712

File tree

5 files changed

+2
-31
lines changed

5 files changed

+2
-31
lines changed

.github/workflows/docs.yaml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -51,29 +51,6 @@ jobs:
5151
with:
5252
to: html
5353

54-
# temporary!
55-
# remove this step if closed (& relleased): https://github.com/quarto-ext/shinylive/issues/59
56-
- name: Remove large WebR assets 🧹
57-
run: |
58-
packages_path <- sprintf("./_site/site_libs/quarto-contrib/shinylive-%s/shinylive/webr/packages", shinylive::assets_version())
59-
60-
# remove the dirs with size > 100 MB
61-
for (x in list.dirs(packages_path)) {
62-
x_files <- file.info(list.files(x, full.names = TRUE))
63-
if (any(x_files$size > 100 * 1024^2)) {
64-
print(x)
65-
print(x_files)
66-
unlink(x, recursive = TRUE)
67-
}
68-
}
69-
70-
# refresh the `metadata.rds` file
71-
metadata_path <- file.path(packages_path, "metadata.rds")
72-
metadata <- readRDS(metadata_path)
73-
new_metadata <- metadata[intersect(names(metadata), list.dirs(packages_path, full.names = FALSE))]
74-
saveRDS(new_metadata, metadata_path)
75-
shell: Rscript {0}
76-
7754
- name: Publish docs
7855
if: github.ref == 'refs/heads/main'
7956
uses: peaceiris/actions-gh-pages@v3

DESCRIPTION

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ Imports:
5858
Suggests:
5959
knitr,
6060
rmarkdown
61+
Remotes:
62+
shinylive=posit-dev/r-shinylive
6163
Encoding: UTF-8
6264
Language: en-US
6365

_quarto.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ project:
77
watch-inputs: true
88
navigate: true
99
timeout: 300
10-
pre-render:
11-
- interactive/prepare.R
1210

1311
website:
1412
title: "pharmaverse examples"

interactive/prepare.R

Lines changed: 0 additions & 1 deletion
This file was deleted.

interactive/teal.qmd

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ title: "`teal` applications"
33
order: 1
44
---
55

6-
```{r}
7-
#| include: false
8-
shinylive::assets_ensure()
9-
```
10-
116
[`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.
127

138
The main features of a `teal` app include:

0 commit comments

Comments
 (0)