https://github.com/dreamRs/resizer
Simulate screen resolution for Shiny apps
https://github.com/dreamRs/resizer
Last synced: 5 months ago
JSON representation
Simulate screen resolution for Shiny apps
- Host: GitHub
- URL: https://github.com/dreamRs/resizer
- Owner: dreamRs
- Created: 2019-12-13T17:13:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-16T08:41:03.000Z (about 4 years ago)
- Last Synced: 2024-08-13T07:15:20.834Z (8 months ago)
- Language: R
- Size: 2.11 MB
- Stars: 15
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - dreamRs/resizer - Simulate screen resolution for Shiny apps (R)
README
# resizer
> Simulate screen resolution for Shiny apps. When developing applications, the display may be different depending on the screen on which the application is displayed. This application allows you to simulate different resolutions to verify that the display is correct.
[](https://www.tidyverse.org/lifecycle/#experimental)
[](https://travis-ci.org/dreamRs/resizer)
[](https://github.com/dreamRs/resizer/actions):warning::warning::warning:
This is a POC to discuss with [@DivadNojnarg](https://github.com/DivadNojnarg), the goal is to see how we can merge this with [`shinyMobile::preview_mobile()`](https://rinterface.github.io/shinyMobile/reference/preview_mobile.html).
Online demo : https://dreamrs.github.io/resizer/
## Installation
You can install the development version from GitHub with:
```r
# install.packages("devtools")
devtools::install_github("dreamRs/resizer")
```## Example
Launch your app (or the Hello demo from shiny) in a resizable iframe :
```r
library(resizer)
emulate_resolution(
system.file("examples", "01_hello", package = "shiny")
)
```