Skip to content

Commit

Permalink
Merge pull request #452 from Appsilon/develop
Browse files Browse the repository at this point in the history
Merge 0.5.0 to master
  • Loading branch information
jakubnowicki committed Jan 18, 2024
2 parents 9bb7d1d + 5734cdd commit b8c4dfe
Show file tree
Hide file tree
Showing 285 changed files with 795 additions and 145,002 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
@@ -1,6 +1,6 @@
^renv$
^renv\.lock$
^_pkgdown\.yml$
pkgdown
^codecov\.yml$
^\.travis\.yml$
^.*\.Rproj$
Expand Down
56 changes: 13 additions & 43 deletions .github/workflows/main.yml
Expand Up @@ -14,63 +14,33 @@ jobs:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-18.04, r: 'devel', http-user-agent: 'release', cran: "https://demo.rstudiopm.com/all/__linux__/bionic/latest"}
- {os: ubuntu-18.04, r: 'release', cran: "https://demo.rstudiopm.com/all/__linux__/bionic/latest"}
- {os: ubuntu-18.04, r: 'oldrel', cran: "https://demo.rstudiopm.com/all/__linux__/bionic/latest"}
- {os: ubuntu-22.04, r: 'devel'}
- {os: ubuntu-22.04, r: 'release'}
- {os: ubuntu-22.04, r: 'oldrel'}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
CRAN: ${{ matrix.config.cran }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@master
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}

- uses: r-lib/actions/setup-pandoc@master
- uses: r-lib/actions/setup-pandoc@v2

- name: Query dependencies
run: Rscript -e "install.packages('remotes')" -e "saveRDS(remotes::dev_package_deps(dependencies = TRUE), 'depends.Rds', version = 2)"

- name: Cache R packages
if: runner.os != 'Windows'
uses: actions/cache@v1
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-r-${{ matrix.config.r }}-${{ hashFiles('depends.Rds') }}
restore-keys: ${{ runner.os }}-r-${{ matrix.config.r }}-

- name: Install system dependencies
if: runner.os == 'Linux'
uses: r-lib/actions/setup-r-dependencies@v1
- name: Install R package dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck

- name: Install vctrs
if: runner.os == 'Windows'
run: Rscript -e "remotes::install_cran('vctrs')"
extra-packages: local::. # Necessary to avoid object usage linter errors.

- name: Install vctrs
if: runner.os == 'macos'
run: Rscript -e "remotes::install_cran('Rcpp')"

- name: Install dependencies
run: Rscript -e "library(remotes)" -e "update(readRDS('depends.Rds'))" -e "remotes::install_cran('rcmdcheck')"

- name: Check
run: Rscript -e "rcmdcheck::rcmdcheck(args = c('--no-manual', '--as-cran'), error_on = 'error', check_dir = 'check')"

- name: Upload check results
if: failure()
uses: actions/upload-artifact@master
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check
- name: R CMD check
if: always()
uses: r-lib/actions/check-r-package@v2

- name: Test coverage
if: matrix.config.os == 'ubuntu-18.04' && matrix.config.r == 'release'
if: matrix.config.os == 'ubuntu-22.04' && matrix.config.r == 'release'
run: |
Rscript -e 'covr::codecov(token = "${{secrets.CODECOV_TOKEN}}")'
34 changes: 34 additions & 0 deletions .github/workflows/pkgdown.yml
@@ -0,0 +1,34 @@
# 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:
- develop
workflow_dispatch:

name: pkgdown

jobs:
pkgdown:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Deploy to gh-pages branch
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -6,3 +6,4 @@
build
doc
Meta
/docs/
74 changes: 40 additions & 34 deletions DESCRIPTION
@@ -1,55 +1,61 @@
Package: shiny.semantic
Type: Package
Package: shiny.semantic
Title: Semantic UI Support for Shiny
Version: 0.4.3
Version: 0.5.0
Authors@R: c(person("Filip", "Stachura", email = "filip@appsilon.com", role = "aut"),
person("Dominik", "Krzeminski", email = "dominik@appsilon.com", role = "aut"),
person("Krystian", "Igras", email = "krystian@appsilon.com", role = "aut"),
person("Adam", "Forys", email = "adam@appsilon.com", role = "aut"),
person("Dominik", "Krzeminski", role = "aut"),
person("Krystian", "Igras", role = "aut"),
person("Adam", "Forys", role = "aut"),
person("Paweł", "Przytuła", email = "pawel@appsilon.com", role = "aut"),
person("Jakub", "Chojna", email = "jakub.chojna@appsilon.com", role = "aut"),
person("Olga", "Mierzwa-Sulima", email = "olga@appsilon.com", role = "aut"),
person("Jakub", "Nowicki", email = "opensource+kuba@appsilon.com", role = c("aut", "cre")),
person("Ashley", "Baldry", role = "ctb"),
person("Jakub", "Chojna", email = "jakub.chojna@appsilon.com", role = "ctb"),
person("Olga", "Mierzwa-Sulima", email = "olga@appsilon.com", role = "ctb"),
person("Pedro", "Manuel Coutinho da Silva", email = "pedro@appsilon.com", role = "ctb"),
person("Paweł", "Przytuła", email = "pawel@appsilon.com", role = "ctb"),
person("Kamil", "Żyła", email = "kamil@appsilon.com", role = "ctb"),
person("Rabii", "Bouhestine", email = "rabii@appsilon.com", role = "ctb"),
person("Developers", "Appsilon", email = "support+opensource@appsilon.com", role = "cre"),
person("Rabii", "Bouhestine", role = "ctb"),
person("Federico", "Rivandeira", email = "federico@appsilon.com", role = "ctb"),
person(family = "Appsilon Sp. z o.o.", role = c("cph")))
Description: Creating a great user interface for your Shiny apps
can be a hassle, especially if you want to work purely in R
and don't want to use, for instance HTML templates. This
package adds support for a powerful UI library Fomantic UI -
<https://fomantic-ui.com/> (before Semantic). It also supports
universal UI input binding that works with various DOM elements.
BugReports: https://github.com/Appsilon/shiny.semantic/issues
Encoding: UTF-8
LazyData: TRUE
Description: Creating a great user interface for your Shiny apps can be a
hassle, especially if you want to work purely in R and don't want to
use, for instance HTML templates. This package adds support for a
powerful UI library Fomantic UI - <https://fomantic-ui.com/> (before
Semantic). It also supports universal UI input binding that works with
various DOM elements.
License: MIT + file LICENSE
VignetteBuilder: knitr
URL: https://appsilon.github.io/shiny.semantic/, https://github.com/Appsilon/shiny.semantic
BugReports: https://github.com/Appsilon/shiny.semantic/issues
Imports:
shiny (>= 0.12.1),
glue,
grDevices,
htmltools (>= 0.2.6),
htmlwidgets (>= 0.8),
purrr (>= 0.2.2),
stats,
magrittr,
jsonlite,
grDevices,
glue,
R6
magrittr,
purrr (>= 0.2.2),
R6,
semantic.assets (>= 1.1.0),
shiny (>= 0.12.1),
stats
Suggests:
covr,
dplyr,
tibble,
knitr,
testthat,
lintr,
DT,
covr,
gapminder,
knitr,
leaflet,
lintr,
markdown,
mockery,
plotly,
rcmdcheck,
rmarkdown,
markdown
RoxygenNote: 7.1.2
testthat,
tibble,
withr
VignetteBuilder:
knitr
Encoding: UTF-8
Language: en-US
LazyData: TRUE
RoxygenNote: 7.2.3
2 changes: 0 additions & 2 deletions NAMESPACE
Expand Up @@ -3,7 +3,6 @@
export(COLOR_PALETTE)
export(Progress)
export(SIZE_LEVELS)
export(SUPPORTED_THEMES)
export(accordion)
export(actionButton)
export(action_button)
Expand All @@ -12,7 +11,6 @@ export(calendar)
export(card)
export(cards)
export(check_proper_color)
export(check_semantic_theme)
export(checkboxInput)
export(checkbox_input)
export(close_toast)
Expand Down

0 comments on commit b8c4dfe

Please sign in to comment.