Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
23 changes: 0 additions & 23 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Comment on lines -54 to -76
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean-up: not needed anymore as the issue was closed

- name: Publish docs
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ Imports:
Suggests:
knitr,
rmarkdown
Remotes:
shinylive=posit-dev/r-shinylive
Comment on lines +61 to +62
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the main fix!

Encoding: UTF-8
Language: en-US

2 changes: 0 additions & 2 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ project:
watch-inputs: true
navigate: true
timeout: 300
pre-render:
- interactive/prepare.R
Comment on lines -10 to -11
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean-up


website:
title: "pharmaverse examples"
Expand Down
1 change: 0 additions & 1 deletion interactive/prepare.R
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean-up after my mistakenly pushed commit to main

This file was deleted.

5 changes: 0 additions & 5 deletions interactive/teal.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ title: "`teal` applications"
order: 1
---

```{r}
#| include: false
shinylive::assets_ensure()
```

Comment on lines -6 to -10
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean-up after my mistakenly pushed commit to main

[`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:
Expand Down