Skip to content

Commit

Permalink
restore develop (#254)
Browse files Browse the repository at this point in the history
* 4.2.1 r
* restored renv
* remove install dev tool
  • Loading branch information
GuidoMaggio authored Sep 22, 2023
1 parent 5a41323 commit 54266b9
Show file tree
Hide file tree
Showing 8 changed files with 4,894 additions and 221 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# single OS and R version, aligned with the target deployment environment
matrix:
config:
- {os: ubuntu-latest, r: '4.3.1'}
- {os: ubuntu-latest, r: '4.2.1'}

env:
# Access token for GitHub
Expand Down Expand Up @@ -55,9 +55,9 @@ jobs:
- name: Activate renv and restore packages with cache
uses: r-lib/actions/setup-renv@v2

- name: Install renv Development tools
run: renv::install()
shell: Rscript {0}
# - name: Install renv Development tools
# run: renv::install()
# shell: Rscript {0}

- name: Fetch and rebuild latest data
if: github.event_name == 'schedule'
Expand All @@ -84,7 +84,7 @@ jobs:
git push origin
- name: Deploy to shinyapps.io
# Continuous deployment only for pushes to the main / master branch
# if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
env:
SHINYAPPS_ACCOUNT: ${{ secrets.SHINYAPPS_ACCOUNT }}
SHINYAPPS_TOKEN: ${{ secrets.SHINYAPPS_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion deploy/deploy-shinyapps.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ options(rsconnect.packrat = TRUE)

rsconnect::deployApp(
account = "miraisolutions",
appName = "covid19-test",
appName = "covid19",
forceUpdate = TRUE # to be added since rsconnect >1
# exclude hidden files and renv directory (if present)
# appFiles = setdiff(list.files(), "renv")
Expand Down
Binary file modified inst/datahub/DATA.rds
Binary file not shown.
Binary file modified inst/datahub/Selected_Country.rds
Binary file not shown.
Binary file modified inst/datahub/Top_Countries.rds
Binary file not shown.
4,339 changes: 4,339 additions & 0 deletions manifest.json

Large diffs are not rendered by default.

Loading

0 comments on commit 54266b9

Please sign in to comment.