Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit f5e9095

Browse files
committed
cleanup for relaunch
1 parent b03e29e commit f5e9095

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+26
-816821
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
shell: Rscript {0}
1010
container:
1111
# update muggle here and in Dockerfile
12-
image: subugoe/muggle-buildtime-onbuild:0.1.1-20210126
12+
image: subugoe/muggle-buildtime-onbuild:0.1.2-20211124
1313
env:
1414
MUGGLE_PKG_NAME: ${{ github.event.repository.name }}
1515
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -50,33 +50,6 @@ jobs:
5050
tags: ${{ github.sha }}
5151
add_git_labels: true
5252
push: ${{ github.event_name != 'pull_request' }}
53-
- name: Build Runtime Image
54-
uses: docker/build-push-action@v1
55-
with:
56-
repository: ${{ github.repository }}/${{ env.MUGGLE_PKG_NAME }}-runtime
57-
target: runtime
58-
username: ${{ github.actor }}
59-
password: ${{ secrets.GITHUB_TOKEN }}
60-
registry: docker.pkg.github.com
61-
# this will set "latest" if master as per https://github.com/docker/build-push-action
62-
tag_with_ref: true
63-
# we're relying on long shas only to keep things easy
64-
tag_with_sha: false
65-
tags: ${{ github.sha }}
66-
add_git_labels: true
67-
push: ${{ github.event_name != 'pull_request' }}
68-
- name: Deploy Shiny Application to shinyapps.io ref
69-
env:
70-
SHINYAPPS_TOKEN: ${{ secrets.SHINYAPPS_TOKEN }}
71-
SHINYAPPS_SECRET: ${{ secrets.SHINYAPPS_SECRET }}
72-
GITHUB_REF: ${{ github.ref }}
73-
if: github.event_name != 'pull_request'
74-
run: |
75-
remotes::install_github(repo = "subugoe/hoad", ref = "master", force = TRUE, dependencies = TRUE)
76-
rsconnect::setAccountInfo(name = 'subugoe', token = Sys.getenv('SHINYAPPS_TOKEN'), secret = Sys.getenv('SHINYAPPS_SECRET'))
77-
app_name <- paste0("hoad-", gsub("/", "-", Sys.getenv('GITHUB_REF')))
78-
rsconnect::deployDoc(doc = "inst/app/dashboard.Rmd", appName = app_name)
79-
shell: Rscript {0}
8053
- name: Deploy to GitHub Pages
8154
if: github.ref == 'refs/heads/master'
8255
uses: maxheld83/ghpages@github-token

DESCRIPTION

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -49,46 +49,10 @@ Language: en
4949
LazyData: true
5050
Roxygen: list(markdown = TRUE)
5151
Suggests:
52-
rmarkdown,
53-
jsonlite,
54-
ggalt,
55-
scales,
56-
forcats,
57-
cowplot,
58-
readxl,
59-
flexdashboard,
60-
viridis,
61-
plotly,
62-
shiny,
63-
DT,
64-
writexl,
65-
echarts4r,
66-
DBI,
67-
dbplyr,
68-
haven,
69-
lubridate,
70-
modelr,
71-
reprex,
72-
rsconnect,
73-
rvest,
74-
selectr,
75-
httr,
76-
purrr,
77-
covr,
7852
testthat,
79-
subugoetheme,
80-
shinycaas
53+
subugoetheme
8154
URL: https://subugoe.github.io/hoad, https://github.com/subugoe/hoad/
8255
BugReports: https://github.com/subugoe/hoad/issues
8356
RoxygenNote: 7.1.1.9999
8457
Imports:
85-
dplyr,
86-
checkmate,
87-
magrittr,
88-
readr,
89-
fs,
90-
ggplot2,
91-
rlang
92-
Remotes:
93-
subugoe/subugoetheme@1.1.1,
94-
subugoe/shinycaas@1.0.0
58+
fs

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
ARG MUGGLE_TAG=0.1.1-20210126
1+
ARG MUGGLE_TAG=0.1.2-20211124
22
FROM subugoe/muggle-buildtime-onbuild:${MUGGLE_TAG} as buildtime
3-
FROM subugoe/muggle-runtime-onbuild:${MUGGLE_TAG} as runtime
4-
CMD shinycaas::shiny_opts_az(); hoad::runHOAD()

NAMESPACE

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,2 @@
11
# Generated by roxygen2: do not edit by hand
22

3-
export("%>%")
4-
export(colors_license)
5-
export(colors_license_unpaywall)
6-
export(colors_source_disclosure)
7-
export(hybrid_publications)
8-
export(license_patterns)
9-
export(oa_by_license)
10-
export(oa_by_license_plot)
11-
export(oa_by_other)
12-
export(oa_by_other_plot)
13-
export(path_extdat)
14-
export(runHOAD)
15-
export(unpaywall_df)
16-
import(checkmate)
17-
import(dplyr)
18-
import(ggplot2)
19-
import(readr)
20-
importFrom(magrittr,"%>%")
21-
importFrom(rlang,.data)

R/.add_emails.R

Lines changed: 0 additions & 9 deletions
This file was deleted.

R/.cr_fetching.R

Lines changed: 0 additions & 244 deletions
This file was deleted.

0 commit comments

Comments
 (0)