-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from ashbaldry/dev
Release v0.3.0
- Loading branch information
Showing
122 changed files
with
46,977 additions
and
1,876 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.RData | ||
.Rhistory | ||
.git | ||
.gitignore | ||
manifest.json | ||
rsconnect/ | ||
.Rproj.user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Publish Docker image | ||
|
||
on: | ||
push: | ||
branches: dev | ||
release: | ||
types: published | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Log in to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_TOKEN }} | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Build and push | ||
if: ${{ github.event_name == 'push' }} | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
file: ./Dockerfile | ||
push: true | ||
tags: ${{ secrets.DOCKER_USERNAME }}/designer:latest | ||
|
||
- name: Build and push | ||
if: ${{ github.event_name == 'release' }} | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
file: ./Dockerfile | ||
push: true | ||
tags: ${{ secrets.DOCKER_USERNAME }}/designer:${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Run JS Tests (Jest) | ||
on: | ||
push: | ||
branches: [dev, main, master] | ||
pull_request: | ||
branches: [dev, main, master] | ||
defaults: | ||
run: | ||
working-directory: srcjs | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install modules | ||
run: npm install | ||
- name: Run tests | ||
run: npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
branches: [dev, main, master] | ||
pull_request: | ||
branches: [dev, main, master] | ||
|
||
name: lint | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::lintr, local::. | ||
needs: lint | ||
|
||
- name: Lint | ||
run: lintr::lint_package() | ||
shell: Rscript {0} | ||
env: | ||
LINTR_ERROR_ON_LINT: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,5 @@ docs | |
srcjs/node_modules | ||
shiny_bookmarks | ||
cran-comments.md | ||
CRAN-SUBMISSION | ||
srcjs/coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,41 @@ | ||
Package: designer | ||
Title: 'Shiny' UI Prototype Builder | ||
Version: 0.2.0 | ||
Version: 0.3.0 | ||
Authors@R: c( | ||
person('Ashley', 'Baldry', email = 'arbaldry91@gmail.com', role = c('cre', 'aut')), | ||
person('Sam', 'Parmar', email = 'parmartsam@gmail.com', role = 'ctb')) | ||
Description: A 'shiny' application that enables the user to create a prototype UI, | ||
being able to drag and drop UI components before being able to save or download the equivalent R code. | ||
URL: https://github.com/ashbaldry/designer, | ||
https://ashbaldry.github.io/designer/ | ||
BugReports: https://github.com/ashbaldry/designer/issues | ||
person("Ashley", "Baldry", , "arbaldry91@gmail.com", role = c("cre", "aut")), | ||
person("Sam", "Parmar", , "parmartsam@gmail.com", role = "ctb") | ||
) | ||
Description: A 'shiny' application that enables the user to create a | ||
prototype UI, being able to drag and drop UI components before being | ||
able to save or download the equivalent R code. | ||
License: MIT + file LICENSE | ||
Language: en-GB | ||
Encoding: UTF-8 | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.2.1 | ||
Config/testthat/edition: 3 | ||
VignetteBuilder: knitr | ||
URL: https://ashbaldry.github.io/designer/, | ||
https://ashbaldry.shinyapps.io/designer/ | ||
BugReports: https://github.com/ashbaldry/designer/issues | ||
Imports: | ||
bslib, | ||
bs4Dash, | ||
bslib, | ||
cicerone, | ||
config (>= 0.3.1), | ||
fontawesome, | ||
golem (>= 0.3.1), | ||
htmltools, | ||
shiny (>= 1.7.1), | ||
jsonlite, | ||
rappdirs, | ||
shinipsum, | ||
shiny (>= 1.7.1), | ||
shinyscreenshot | ||
Suggests: | ||
covr, | ||
testthat (>= 3.0.0), | ||
shinytest2, | ||
globals, | ||
Suggests: | ||
chromote, | ||
knitr, | ||
lintr, | ||
rmarkdown | ||
rmarkdown, | ||
shinytest2, | ||
testthat (>= 3.0.0) | ||
VignetteBuilder: | ||
knitr | ||
Config/testthat/edition: 3 | ||
Encoding: UTF-8 | ||
Language: en-GB | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
FROM rocker/r-ver:4.1.3 | ||
RUN apt-get update && apt-get install -y git-core libcurl4-openssl-dev libgit2-dev libicu-dev libssl-dev libxml2-dev make pandoc pandoc-citeproc zlib1g-dev && rm -rf /var/lib/apt/lists/* | ||
RUN echo 'options(repos = c(CRAN = "https://cran.rstudio.com/"), download.file.method = "libcurl", Ncpus = 4)' >> /usr/local/lib/R/etc/Rprofile.site | ||
FROM rocker/verse:4.2.2 | ||
RUN apt-get update && apt-get install -y git-core libcurl4-openssl-dev libicu-dev libssl-dev libxml2-dev make pandoc zlib1g-dev && rm -rf /var/lib/apt/lists/* | ||
RUN mkdir -p /usr/local/lib/R/etc/ /usr/lib/R/etc/ | ||
RUN echo "options(repos = c(CRAN = 'https://cran.rstudio.com/'), download.file.method = 'libcurl', Ncpus = 4)" | tee /usr/local/lib/R/etc/Rprofile.site | tee /usr/lib/R/etc/Rprofile.site | ||
RUN R -e 'install.packages("remotes")' | ||
RUN Rscript -e 'remotes::install_version("knitr", upgrade = "never", version = "1.39")' | ||
RUN Rscript -e 'remotes::install_version("jsonlite", upgrade = "never", version = "1.8.0")' | ||
RUN Rscript -e 'remotes::install_version("htmltools", upgrade = "never", version = "0.5.2")' | ||
RUN Rscript -e 'remotes::install_version("bslib", upgrade = "never", version = "0.3.1")' | ||
RUN Rscript -e 'remotes::install_version("fontawesome", upgrade = "never", version = "0.2.2")' | ||
RUN Rscript -e 'remotes::install_version("shiny", upgrade = "never", version = "1.7.1")' | ||
RUN Rscript -e 'remotes::install_version("rmarkdown", upgrade = "never", version = "2.14")' | ||
RUN Rscript -e 'remotes::install_version("testthat", upgrade = "never", version = "3.1.4")' | ||
RUN Rscript -e 'remotes::install_version("rappdirs", upgrade = "never", version = "0.3.3")' | ||
RUN Rscript -e 'remotes::install_version("jsonlite", upgrade = "never", version = "1.8.4")' | ||
RUN Rscript -e 'remotes::install_version("htmltools", upgrade = "never", version = "0.5.5")' | ||
RUN Rscript -e 'remotes::install_version("fontawesome", upgrade = "never", version = "0.5.1")' | ||
RUN Rscript -e 'remotes::install_version("bslib", upgrade = "never", version = "0.4.2")' | ||
RUN Rscript -e 'remotes::install_version("shiny", upgrade = "never", version = "1.7.4")' | ||
RUN Rscript -e 'remotes::install_version("config", upgrade = "never", version = "0.3.1")' | ||
RUN Rscript -e 'remotes::install_version("globals", upgrade = "never", version = "0.14.0")' | ||
RUN Rscript -e 'remotes::install_version("shinytest2", upgrade = "never", version = "0.1.0")' | ||
RUN Rscript -e 'remotes::install_version("covr", upgrade = "never", version = "3.5.1")' | ||
RUN Rscript -e 'remotes::install_version("cicerone", upgrade = "never", version = "1.0.4")' | ||
RUN Rscript -e 'remotes::install_version("shinyscreenshot", upgrade = "never", version = "0.2.0")' | ||
RUN Rscript -e 'remotes::install_version("shinipsum", upgrade = "never", version = "0.1.0")' | ||
RUN Rscript -e 'remotes::install_version("bs4Dash", upgrade = "never", version = "2.1.0")' | ||
RUN Rscript -e 'remotes::install_version("golem", upgrade = "never", version = "0.3.2")' | ||
RUN Rscript -e 'remotes::install_version("golem", upgrade = "never", version = "0.4.0")' | ||
RUN Rscript -e 'remotes::install_version("cicerone", upgrade = "never", version = "1.0.4")' | ||
RUN Rscript -e 'remotes::install_version("bs4Dash", upgrade = "never", version = "2.2.1")' | ||
RUN mkdir /build_zone | ||
ADD . /build_zone | ||
WORKDIR /build_zone | ||
RUN R -e 'remotes::install_local(upgrade = "never")' | ||
RUN rm -rf /build_zone | ||
EXPOSE 80 | ||
CMD R -e 'options(shiny.port = 80, shiny.host = "0.0.0.0"); designer::designApp()' | ||
CMD R -e "options('shiny.port' = 80, shiny.host = '0.0.0.0'); designer::designApp()" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.