---
title: "Introduction to shiny.exe"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{shiny_exe}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

# Documentation

This package aims to launch an application by a simple click without opening R or RStudio. The package has 2 functions of which only one is essential in its use, `shiny.exe()`. It generates a script in the open shiny project then creates a task that executes this script. After creating the task, the function is responsible for creating a shortcut in the same folder that allows you to launch the task by clicking.If you set `host = 'public'`, the application will be launched on the public server to which you are connected. Thus, all other devices connected to the same server will be able to access the application through the link of your IPv4 extended by the port. You can stop the application by leaving the terminal opened by the shortcut.

```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
```


```{r setup}
library(shiny.exe)
shiny.exe(appName = "MyApp",host = "Public",port = 4576)
```
