The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Title: Creates an Executable Shortcut for Shiny Applications
Version: 0.1.0
Description: Provides function shinyShortcut() that, when given the base directory of a shiny application, will produce an executable file that runs the shiny app directly in the user's default browser. Tested on both windows and unix machines. Inspired by and borrowing from http://www.mango-solutions.com/wp/2017/03/shiny-based-tablet-or-desktop-app/.
Depends: R (≥ 3.2.3)
License: GPL (≥ 3) | file LICENSE
Encoding: UTF-8
LazyData: true
Suggests: testthat, covr
RoxygenNote: 6.0.1
NeedsCompilation: no
Packaged: 2017-03-19 13:53:46 UTC; ewan
Author: Ewan Keith [aut, cre]
Maintainer: Ewan Keith <ewan.keith100@gmail.com>
Repository: CRAN
Date/Publication: 2017-03-19 18:13:08 UTC

Create Shiny App Shortcut

Description

Creates an executable file that, when ran, will open the co-located shiny app using the user's default internet browser.

Usage

shinyShortcut(shinyDirectory = getwd(), OS = .Platform$OS.type,
  gitIgnore = FALSE)

Arguments

shinyDirectory

The top-level directory containing the code and materials for the shiny application. Also where the final shortcut file will be saved.

OS

The operating system that R is being ran on. Must be one of "windows" or "unix".

gitIgnore

If True then all produced files will be added to a .gitignore file in the specified directory (if there is no such file it will be created).

Details

Calling shinyShortcut will write an executable file that will run the shiny app in the user's default browser. This executable is stored in a created folder named .shiny_run' whilst a shortcut that will silently run the executable is saved in the home directory as 'shinyShortcut' (this will be a .vbs script on windows or a .desktop file on unix systems). These files can then be linked to from other locations such as the user's desktop.

Examples

shinyShortcut()

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.