Skip to content

Commit

Permalink
Merge pull request #255 from RinteRface/dev
Browse files Browse the repository at this point in the history
1.0.1
  • Loading branch information
DivadNojnarg authored Mar 1, 2024
2 parents 86d36f4 + f225528 commit 72d75fd
Show file tree
Hide file tree
Showing 127 changed files with 12,728 additions and 19,887 deletions.
32 changes: 12 additions & 20 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -23,35 +19,31 @@ 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 }}
R_KEEP_PKG_SOURCE: yes

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
Expand Down
7 changes: 4 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]", role = c("aut", "cre")),
person("Victor", "Perrier", email = "[email protected]", role = "aut"),
Expand All @@ -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,
Expand All @@ -34,5 +34,6 @@ Suggests:
shinyWidgets,
apexcharter,
ggplot2,
dplyr
dplyr,
bslib
VignetteBuilder: knitr
15 changes: 14 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand Down
6 changes: 4 additions & 2 deletions R/f7-inputs.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
#'
Expand Down Expand Up @@ -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)

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion R/f7Card.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion R/f7Messages.R
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down
2 changes: 1 addition & 1 deletion R/pwa-dependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "<link rel=\"manifest\" href=\"manifest.webmanifest\" />
<link rel=\"icon\" type=\"image/png\" href=\"icons/icon-144.png\" sizes=\"144x144\" />
<link rel=\"apple-touch-icon\" href=\"icons/apple-touch-icon.png\" />
Expand Down
2 changes: 1 addition & 1 deletion R/shinyMobile-dependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
33 changes: 33 additions & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
}
18 changes: 2 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,9 @@ install.packages("shinyMobile")
devtools::install_github("RinteRface/shinyMobile")
```


## Cheatsheet

<a href="https://github.com/RinteRface/cheatsheets/tree/master/shinyMobile"><img src="https://raw.githubusercontent.com/rinterface/cheatsheets/master/shinyMobile/png/shinyMobile1.png" width="630" height="487" style="max-width:100%;"></a>


## 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+rALJF6tanGEQRAYgAEnIgFdGBOBphEAJjqWcRhgDwBaDRQButRiXhl2K1FFLcNdrVZOchgMADNFOHYhMDgAD1hUCwB6AHMoaiU2ZNIoek5kmNwNbwIAayhUwwBeDRipfjkFJRiVTjQkjhENDTpg8MjOaIgenu9fXG7RvgJqHRM4DBMXTg1agDEAQQAZAGUAUUmR0fHyRhHamOwiqZ7aVIgiRkWCKE4ajQAVLABVfamBEcemEdBACKRaCR2GEBBoQFpdPoohElBhxtx2OjijDitQiK9qGsHLCAL4iFTqLS8fgaDoiBqsTboYY9HS0IlhADsAAVKlFbrTMkQAO7cgDqmyJ3z+xSIqAhJFWtT6pHYJhYZSJWz2hw0KKUJi1OwOxVQzzxUAWjClv32gIFXM+eW2UFYulVAp6HXoLA5nKZqB9jBZo1DXPWSji0M5ACEoOV2LlGFVSABJQ2XMC5fJwUitbGcgBy8VVSZT6aJMWz7zzYAE9uOoeBnN2cBYBG4QfYtAzdTA73b3AAjEUNHw6BAPtLdUl43BuERqFbK2BPmwjIYSBpfIYACy+bd5ACErU9GgbTY3nHaVSDfpkcGvfLjwb4qB0ad7MRgrHgT9vLCjrOBgLkucDWpmD7-nA+Znt4k7UEqh6pNstDBCGl5cryCEYZeY5fmA8FwNQ2xwGEtZAnhPQQqQSgrqR5EaNhxE3I2eGcD2HwxEo5GsVR1HcHA8ArnQqTcBRZ6hjEMbUHksl8fxZFhHA4Irs8jhttQMSSeelGYTyUA4Tp1G0LRXFgFg9ziUxhksXgxlaJxalWRJbGXjuwmZuqjBlApVHSbJ9DyfZblNkpKmkCuxAaYw2mhT0KiXheTbQI4d61FyhZQGlLC4aGNF0ZmDJNJEflNpwOj0AV5lhE8Gi7NSrBlaG3BQC4E5Traenla1J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GAtqapqA7Ae+Z4AS3pPI3bQGiYLAKYK4g7G7EuBOqNyTjV3R+77O+pheHOFdpp7A5phl1BRm1bvNqAC4d9TAIo3MQtJzAzIuE+Sg3Ir7RAWrAH8MRAMY4B3MzLgk+6MQ3kvktN5jpsZ875k4nKgHSET+gCMQlWOGeGBGRGpmTWLWRAVGskIEtG4EyQ20TwEyPWlOu4bGBC9HzGA2L+3t2HkCVWeHdWDWRHFGJHbWFHjAVHdRn+nAdHDHLGzHlOrHMlWHYAOH1WtWBHJGTwzW-HpHc47WlH1HYnEnjHzHCZsnoj8pCL9Vz5GgD4-Vjb-TeTsuKaVnOguLI6jnB6-+fUEBlm7gOgQZyr6ZTbHhFAOgqYIQozhNxDdNYoxEhI6scA3xfnvNnAPsWBKN1L3VoU2mGQqK5Aem-1u4RCxChNuwyXuYzDc7JX0htgKoVxYQt6o4y7ZLYmqENDfACwcQYKXj8JE0JTmgLZzXaYbOUYOqV0IkAbtgrX8QzGZUvX0yyY-bfYagKo43g3tgfbc5vNMZeQxEc0w3AmaguCzqBgUBKTJQA1Umzw9Wj43AOqnX8R8oAOPXw3JQG00pRJgekjp1G0lJYAJtYKT3SjIl2zq6NjqL8eQ893jM1893r3sp3UM31E5jGQTFbFM3e3OCwWxSKgYAJIQqQAA).

## Progressive Web App (PWA)

Expand Down Expand Up @@ -74,21 +62,19 @@ you may do something similar. Importantly, Chrome for iOS does not support this

<div class="row">
<div class="card">
<a href="#" target="_blank"><img src="man/figures/f7PWA.png"></a>
<a href="#" target="_blank"><img src="vignettes/figures/f7PWA.png"></a>
</div>
</div>

### Limitations
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.
16 changes: 12 additions & 4 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,21 @@ reference:


template:
params:
bootswatch: readable


bootstrap: 5
bslib:
info: "#E6F2FD"
pkgdown-nav-height: 100px
includes:
in_header: >
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/atropos.min.css">
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"
Expand Down
7 changes: 2 additions & 5 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
## Test environments
* RStudio Workbench, R-4.2.1.
* RStudio Workbench, R-4.2.2.
* `rhub::check_for_cran()`.
* win-builder (devel and release).

## R CMD check results
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.
Loading

0 comments on commit 72d75fd

Please sign in to comment.