inst/doc/deploy.R

## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
  )
set.seed(46709394)

## -----------------------------------------------------------------------------
library(oolong)
wsi_test <- wsi(abstracts_keyatm)
wsi_test

## -----------------------------------------------------------------------------
export_oolong(wsi_test, dir = "./wsi_test", use_full_path = FALSE)

## -----------------------------------------------------------------------------
fs::dir_tree("./wsi_test")

## ---- eval = FALSE------------------------------------------------------------
#  library(shiny)
#  runApp("./wsi_test")

## ---- include = FALSE---------------------------------------------------------
wsi_test <- readRDS(system.file("extdata", "wsi_test.RDS", package = "oolong"))

## ---- echo = FALSE------------------------------------------------------------
revert_oolong(wsi_test, system.file("extdata", "hadley.RDS", package = "oolong"))

## ---- include = FALSE---------------------------------------------------------
unlink("./wsi_test", recursive = TRUE)

Try the oolong package in your browser

Any scripts or data that you put into this service are public.

oolong documentation built on Aug. 25, 2023, 5:16 p.m.