Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor teal.gallery into a directory structure for individual shiny apps #31

Merged
merged 34 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
846c3d0
BREAKING CHANGE: move all the app directories to root
vedhav Jul 7, 2023
b1df04d
chore: remove package dependencies and test the launch_app with remot…
vedhav Jul 7, 2023
300c98a
chore: add renv to all the shiny apps
vedhav Jul 10, 2023
f530ad3
feat: adding CI to check renv::restore for all the apps
vedhav Jul 10, 2023
064aace
fix: get R version from basic-teal app
vedhav Jul 10, 2023
83137e4
fix: using the specific R version for the app's renv.lock and sourcin…
vedhav Jul 10, 2023
b720249
fix: shinyapps.io deployment error where python packages are not loaded
vedhav Jul 10, 2023
f7aab3b
fix: unsetting the env variable `VIRTUALENV_NAME` to pass the GitHub CI
vedhav Jul 10, 2023
ff8ff43
fix: update the correct path for the app directory
vedhav Jul 13, 2023
045f224
Revert "fix: update the correct path for the app directory"
vedhav Jul 13, 2023
8b85e88
Merge branch 'test' into 29_refactor_app_structure@main
vedhav Jul 17, 2023
e8c9390
feat: adding quarto site + update readme + add utils script
vedhav Jul 17, 2023
28271f4
chore: remove readme html and ignore them
vedhav Jul 17, 2023
0da4343
chore: remove package related code
vedhav Jul 17, 2023
e5d858d
fix: remove global namespace binding
vedhav Jul 17, 2023
f1a8cd3
chore: fix typo
vedhav Jul 17, 2023
1549c4b
fix: update renv with latest teal.slice and teal
vedhav Jul 17, 2023
27c0332
fix: update teal.modules.general
vedhav Jul 17, 2023
9f305bb
fix: update the cache key to point to the proper path of renv.lock
vedhav Jul 17, 2023
3d1125b
Merge 9f305bb339917f9e2705c60102b153341f552d22 into cadbe690c23fe8fd0…
vedhav Jul 17, 2023
22575cf
[skip actions] Restyle files
github-actions[bot] Jul 17, 2023
798ea94
chore: nesting the functions to only expose user centric functions + …
vedhav Jul 17, 2023
20fda6a
chore: remove unused files
vedhav Jul 17, 2023
3d61ff6
docs: update readme
vedhav Jul 17, 2023
8759db3
chore: rearrange files to make the root tidy
vedhav Jul 18, 2023
46503d9
chore: rename the relative paths of files in readme
vedhav Jul 18, 2023
2f78cfc
feat: adding favicon, logo and update site with readme as home page
vedhav Jul 18, 2023
3a92cc2
chore: update proper filename for sourceme.R in readme
vedhav Jul 18, 2023
3b16e5c
feat: adding a missing image when there is no GIF recording
vedhav Jul 18, 2023
7486aaa
chore: ignore quarto generated artifacts
vedhav Jul 18, 2023
bb04112
feat: add a link to the readme doc along with the link to the code
vedhav Jul 18, 2023
b26b1f1
feat: add docs workflow for building the quarto site
vedhav Jul 19, 2023
f42af65
fix: hide the unwanted title block from the deployed site
vedhav Jul 19, 2023
43192cd
chore: remove the package restore workflow
vedhav Jul 19, 2023
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
20 changes: 0 additions & 20 deletions .Rbuildignore

This file was deleted.

81 changes: 0 additions & 81 deletions .github/workflows/check.yaml

This file was deleted.

82 changes: 49 additions & 33 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,41 +1,57 @@
---
name: Docs 📚
name: Publish Teal Gallery 📰

on:
workflow_call:
workflow_dispatch:
push:
tags:
- "v*"
branches:
- main
paths:
- "inst/templates/**"
- "_pkgdown.*"
- DESCRIPTION
- "**.md"
- "**.Rmd"
- "man/**"
- "LICENSE.*"
- NAMESPACE
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
branches:
- main
paths:
- "inst/templates/**"
- "_pkgdown.*"
- DESCRIPTION
- "**.md"
- "**.Rmd"
- "man/**"
- "LICENSE.*"
- NAMESPACE
workflow_dispatch:
schedule:
- cron: "17 17 * * 3,6"

jobs:
docs:
name: Pkgdown Docs 📚
uses: insightsengineering/r.pkg.template/.github/workflows/pkgdown.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
publish:
name: Build & Deploy Gallery 📖
runs-on: ubuntu-latest
container:
image: ghcr.io/insightsengineering/rstudio_4.3.1_bioc_3.17:latest
permissions:
contents: write
steps:
- name: Checkout repo 🛎
uses: actions/checkout@v3

- name: Cache artifacts 📀
uses: actions/cache@v3
with:
path: |
_internal/quarto/_freeze
key: ${{ runner.os }}-teal-gallery

- name: Render Gallery 🖨
shell: bash
run: |
cd _internal/quarto
quarto render

- name: Create artifact 📂
run: |
pushd _internal/quarto/_site
zip -r9 $OLDPWD/site.zip *
popd
shell: bash

- name: Upload docs ⬆
uses: actions/upload-artifact@v3
with:
name: site.zip
path: site.zip

- name: Publish docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_internal/quarto/_site
15 changes: 0 additions & 15 deletions .github/workflows/post-release.yaml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/release.yaml

This file was deleted.

6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ manifest.json
/doc/
/Meta/
docs/
rsconnect/

# VSCode
.VSCode
.VSCode

# Markdown generated files
*/README.html
70 changes: 0 additions & 70 deletions DESCRIPTION

This file was deleted.

7 changes: 0 additions & 7 deletions NAMESPACE

This file was deleted.

3 changes: 0 additions & 3 deletions NEWS.md

This file was deleted.

5 changes: 0 additions & 5 deletions R/teal.gallery.R

This file was deleted.

Loading