knitr::opts_chunk$set( eval = FALSE, collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of paresseux is to launcn app easily
You can install the released version of paresseux from CRAN with:
remotes::install_github("thinkr-open/paresseux")
This is a basic example which shows you how to use this package with app initialized with golem
library(paresseux) path_golem_app <- system.file("app_with_golem/showsloth", package = "paresseux") my_app <- AppLaunch$new(is_golem = TRUE, app_dir = path_golem_app) my_app$open_app() my_app$auto_restart() ### made modification inside your app folder test <- file.path(path_golem_app,"test") if(file.exists(test)){ file.remove(test) }else{ file.create(test) } ### stop autorestart my_app$stop_restart()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.