Now you can use the RInno package for this type of thing. To configure:
install.packages("RInno") require(RInno) RInno::install_inno()
Then you just need to call two functions to set the installation framework:
create_app(app_name = "myapp", app_dir = "path/to/myapp") compile_iss()
If you want to include R, add include_R = TRUE in create_app :
create_app(app_name = "myapp", app_dir = "path/to/myapp", include_R = TRUE)
By default, it includes shiny, magrittr and jsonlite, so if you use other packages like ggplot2 or plotly, just add them to the pkgs argument. You can also include GitHub packages in the remotes argument:
create_app( app_name = "myapp", app_dir = "path/to/myapp" pkgs = c("shiny", "jsonlite", "magrittr", "plotly", "ggplot2"), remotes = c("talgalili/installr", "daattali/shinyjs"))
For other features, check out FI Labs - RInno
Jonathan hill
source share