Learn R Programming

fabR (version 2.1.0)

bookdown_open: Open a a web-based bookdown folder in a browser

Description

Opens a previously generated HTML bookdown site from files in the specified folder. This is a shortcut function to access 'index.html' in the specified folder.

Usage

bookdown_open(bookdown_path)

Value

Nothing to be returned. The function opens a web page.

Arguments

bookdown_path

A character string identifying the folder path containing the files to open the bookdown site.

See Also

bookdown_template(),bookdown_open()

Examples

Run this code
{

bookdown_path = tempdir()
bookdown_template(bookdown_path, overwrite = TRUE)
bookdown_render(bookdown_path, overwrite = TRUE)
bookdown_open(bookdown_path)

}

Run the code above in your browser using DataLab