README.md

paresseux

Lifecycle:
experimental

The goal of paresseux is to launcn app easily

Installation

You can install the released version of paresseux from CRAN with:

remotes::install_github("thinkr-open/paresseux")

Example

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()


ThinkR-open/paresseux documentation built on Oct. 31, 2019, 12:14 a.m.