diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index fef8e7b2..153a2dcb 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -1,9 +1,5 @@ # Workflow derived from https://github.com/r-lib/actions/tree/master/examples # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help -# -# NOTE: This workflow is overkill for most R packages and -# check-standard.yaml is likely a better choice. -# usethis::use_github_action("check-standard") will install it. on: push: branches: [main, master] @@ -23,18 +19,10 @@ jobs: matrix: config: - {os: macOS-latest, r: 'release'} - - {os: windows-latest, r: 'release'} - # Use 3.6 to trigger usage of RTools35 - - {os: windows-latest, r: '3.6'} - - # Use older ubuntu to maximise backward compatibility - - {os: ubuntu-18.04, r: 'devel', http-user-agent: 'release'} - - {os: ubuntu-18.04, r: 'release'} - - {os: ubuntu-18.04, r: 'oldrel-1'} - - {os: ubuntu-18.04, r: 'oldrel-2'} - - {os: ubuntu-18.04, r: 'oldrel-3'} - - {os: ubuntu-18.04, r: 'oldrel-4'} + - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} + - {os: ubuntu-latest, r: 'release'} + - {os: ubuntu-latest, r: 'oldrel-1'} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} @@ -42,16 +30,20 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: r-lib/actions/setup-pandoc@v2 - with: - pandoc-version: '2.17.1' # The pandoc version to download (if necessary) and use. + - uses: r-lib/actions/setup-r@v2 + with: + r-version: ${{ matrix.config.r }} + http-user-agent: ${{ matrix.config.http-user-agent }} + use-public-rspm: true + - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: - any::rcmdcheck + extra-packages: | + rcmdcheck - needs: check - uses: r-lib/actions/check-r-package@v2 - name: Show testthat output diff --git a/DESCRIPTION b/DESCRIPTION index 41640738..8202ea07 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: shinyMobile Type: Package Title: Mobile Ready 'shiny' Apps with Standalone Capabilities -Version: 1.0.0 +Version: 1.0.1 Authors@R: c( person("David", "Granjon", email = "dgranjon@ymail.com", role = c("aut", "cre")), person("Victor", "Perrier", email = "info@dreamrs.fr", role = "aut"), @@ -23,7 +23,7 @@ License: GPL-2 Encoding: UTF-8 URL: https://github.com/RinteRface/shinyMobile, https://rinterface.github.io/shinyMobile/ BugReports: https://github.com/RinteRface/shinyMobile/issues -RoxygenNote: 7.2.1 +RoxygenNote: 7.2.3 Suggests: knitr, rmarkdown, @@ -34,5 +34,6 @@ Suggests: shinyWidgets, apexcharter, ggplot2, - dplyr + dplyr, + bslib VignetteBuilder: knitr diff --git a/NEWS.md b/NEWS.md index 9254e5f2..ccce8905 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,16 @@ +# shinyMobile 1.0.1.9000 + +## New +- Added webR to pkgdown infrastructure which allows to run shinylive +apps in the documentation. + +## Minor change +- Add `limit` to `f7AutoComplete()`. Thanks @bthieurmel. + +## Bug fixes +- Fix ignored __height__ in `f7Card()` (Typo). +- Fix CRAN note. + # shinyMobile 1.0.0 ## New @@ -52,7 +65,7 @@ This release only fixes an issue with Shiny 1.7.0 with a failing unit [test](htt # shinyMobile 0.9.0 -This release also fixes an issue with R CMD check and [htmltools](https://github.com/RinteRface/shinyMobile/runs/3133178817?check_suite_focus=true#step:10:119) +This release also fixes an issue with R CMD check and htmltools. ## Breaking change - `f7Link()` __icon__ now expects `f7Icon()`. __label__ is not mandatory anymore. diff --git a/R/f7-inputs.R b/R/f7-inputs.R index 99927bc5..434cef71 100644 --- a/R/f7-inputs.R +++ b/R/f7-inputs.R @@ -21,6 +21,7 @@ #' Only if openIn is "dropdown". #' @param multiple Whether to allow multiple value selection. Only works #' when openIn is 'popup' or 'page'. +#' @param limit Limit number of maximum displayed items in autocomplete per query #' #' @rdname autocomplete #' @@ -75,7 +76,7 @@ f7AutoComplete <- function(inputId, label, placeholder = NULL, value = choices[1], choices, openIn = c("popup", "page", "dropdown"), typeahead = TRUE, expandInput = TRUE, closeOnSelect = FALSE, - dropdownPlaceholderText = NULL, multiple = FALSE) { + dropdownPlaceholderText = NULL, multiple = FALSE, limit = NULL) { type <- match.arg(openIn) @@ -90,7 +91,8 @@ f7AutoComplete <- function(inputId, label, placeholder = NULL, class = "autocomplete-input", `data-choices` = choices, `data-value` = value, - `data-open-in` = type + `data-open-in` = type, + `data-limit` = limit ) # specific props diff --git a/R/f7Card.R b/R/f7Card.R index 9ad2da9a..6e66943c 100644 --- a/R/f7Card.R +++ b/R/f7Card.R @@ -64,7 +64,7 @@ f7Card <- function(..., image = NULL, title = NULL, footer = NULL, outline = FAL cardStyle <- NULL if (!is.null(height)) { - style <- paste0("height: ", shiny::validateCssUnit(height), " overflow-y: auto;") + cardStyle <- paste0("height: ", shiny::validateCssUnit(height), "; overflow-y: auto;") } # content diff --git a/R/f7Messages.R b/R/f7Messages.R index 678fa469..9a1f621f 100644 --- a/R/f7Messages.R +++ b/R/f7Messages.R @@ -279,7 +279,7 @@ f7Message <- function(text, name, type = c("sent", "received"), #' #' \code{updateF7Messages} add messages to an \link{f7Messages} container. #' -#' @param id Reference to link{f7Messages} container. +#' @param id Reference to \link{f7Messages} container. #' @param showTyping Show typing when a new message comes. Default to FALSE. #' Does not work yet... #' @param messages List of \link{f7Messages}. diff --git a/R/pwa-dependencies.R b/R/pwa-dependencies.R index 93337373..08892853 100644 --- a/R/pwa-dependencies.R +++ b/R/pwa-dependencies.R @@ -11,7 +11,7 @@ add_pwa_deps <- function(tag) { pwa_deps <- htmlDependency( name = "pwa-utils", version = packageVersion("shinyMobile"), - src = c(file = "shinyMobile-1.0.0"), + src = c(file = "shinyMobile-1.0.1"), head = " diff --git a/R/shinyMobile-dependencies.R b/R/shinyMobile-dependencies.R index d8ace46c..c232b31f 100644 --- a/R/shinyMobile-dependencies.R +++ b/R/shinyMobile-dependencies.R @@ -11,7 +11,7 @@ add_shinyMobile_deps <- function(tag) { shinyMobile_deps <- htmlDependency( name = "shinyMobile", version = packageVersion("shinyMobile"), - src = c(file = "shinyMobile-1.0.0"), + src = c(file = "shinyMobile-1.0.1"), script = "js/shinyMobile.min.js", stylesheet = "css/shinyMobile.css", package = "shinyMobile", diff --git a/R/utils.R b/R/utils.R index 66ec3605..c6c9e94e 100644 --- a/R/utils.R +++ b/R/utils.R @@ -201,3 +201,36 @@ get_args <- function(level) { cl <- match.call(definition=f, call=cl) as.list(cl)[-1] } + +#' Create shinylive iframe +#' +#' @param app_code base64 app code. You can create it from https://shinylive.io/r +#' by writing code and click on share and copy the link. The code is located at +#' the end of the url. +#' @param mode How to display the shinylive app. Default to app mode. +#' @param header Whether to display the shinylive header. Default to TRUE. +#' +#' @keywords internal +create_app_link <- function(app_code, mode = c("app", "editor"), header = TRUE) { + mode <- match.arg(mode) + + app_url <- sprintf( + "https://shinylive.io/r/%s/#code=%s", mode, app_code + ) + + if (!header) { + app_url <- paste0(app_url, "&h=0") + } + + shiny::tags$iframe( + # To allow the content to fill the full screen card + class = "html-fill-item", + src = app_url, + height = "700", + width = "100%", + style = "border: 1px solid rgba(0,0,0,0.175); border-radius: .375rem;", + allowfullscreen = "", + allow = "autoplay", + `data-external` = "1" + ) +} diff --git a/README.md b/README.md index 7f53b6a9..5ccd96d7 100644 --- a/README.md +++ b/README.md @@ -18,21 +18,9 @@ install.packages("shinyMobile") devtools::install_github("RinteRface/shinyMobile") ``` - -## Cheatsheet - - - - ## Demo -A running demo is available here : https://dgranjon.shinyapps.io/miniUI2Demo/. -Left side: android demo, right side: iOS demo. - - -![](man/figures/demo.png) - - +A running demo is available [here](https://shinylive.io/r/app/#h=0&code=NobwRAdghgtgpmAXGKAHVA6ASmANGAYwHsIAXOMpMAGwEsAjAJykYE8AKAZwAtaJWAlAB0IdJiw48+rALJF6tanGEQRAYgAEnIgFdGBOBphEAJjqWcRhgDwBaDRQButRiXhl2K1FFLcNdrVZOchgMADNFOHYhMDgAD1hUCwB6AHMoaiU2ZNIoek5k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VHdRn+nAdHDHLGzHlOrHMlWHYAOH1WtWBHJGTwzW-HpHc47WlH1HYnEnjHzHCZsnoj8pCL9Vz5GgD4-Vjb-TeTsuKaVnOguLI6jnB6-+fUEBlm7gOgQZyr6ZTbHhFAOgqYIQozhNxDdNYoxEhI6scA3xfnvNnAPsWBKN1L3VoU2mGQqK5Aem-1u4RCxChNuwyXuYzDc7JX0htgKoVxYQt6o4y7ZLYmqENDfACwcQYKXj8JE0JTmgLZzXaYbOUYOqV0IkAbtgrX8QzGZUvX0yyY-bfYagKo43g3tgfbc5vNMZeQxEc0w3AmaguCzqBgUBKTJQA1Umzw9Wj43AOqnX8R8oAOPXw3JQG00pRJgekjp1G0lJYAJtYKT3SjIl2zq6NjqL8eQ893jM1893r3sp3UM31E5jGQTFbFM3e3OCwWxSKgYAJIQqQAA). ## Progressive Web App (PWA) @@ -74,7 +62,7 @@ you may do something similar. Importantly, Chrome for iOS does not support this
@@ -82,13 +70,11 @@ you may do something similar. Importantly, Chrome for iOS does not support this It is actually quite complex to guarantee that all mobile platforms are supported. The PWA compatibility script will work in most of the case. If not, please open an issue [here](https://github.com/GoogleChromeLabs/pwacompat/issues), to help improving it! - ## Acknowledgement A special thanks to [Vladimir Kharlampidi](https://github.com/nolimits4web) for creating this amazing framework7 HTML template. - ## Code of Conduct Please note that the shinyMobile project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms. diff --git a/_pkgdown.yml b/_pkgdown.yml index 33dcc480..5d3d2a59 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -284,13 +284,21 @@ reference: template: - params: - bootswatch: readable - - + bootstrap: 5 + bslib: + info: "#E6F2FD" + pkgdown-nav-height: 100px + includes: + in_header: > + + +navbar: + bg: info + type: light news: releases: + - text: "shinyMobile 1.0.1" - text: "shinyMobile 1.0.0" - text: "shinyMobile 0.9.1" - text: "shinyMobile 0.9.0" diff --git a/cran-comments.md b/cran-comments.md index 3c3f3e0b..eca8b349 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,5 +1,5 @@ ## Test environments -* RStudio Workbench, R-4.2.1. +* RStudio Workbench, R-4.2.2. * `rhub::check_for_cran()`. * win-builder (devel and release). @@ -7,7 +7,4 @@ There were no ERRORs or WARNINGs or NOTEs. ## Note -This is a re-submission: -Reverse dependency LFApp appears to be broken, which was not initially -captured by revdepcheck package during the first submission. A pull request was proposed: https://github.com/fpaskali/LFApp/pull/4 to fix the issue. However the package does -not seem active anymore since about 2 years and the authors did not answer my mail. +This release also fixes a note in https://cran.r-project.org/web/checks/check_results_shinyMobile.html. diff --git a/docs/404.html b/docs/404.html index be0d7377..784f65ee 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1,201 +1,120 @@ - - - - + + + + - - +