Learn R Programming

parsermd (version 0.1.3)

as_ast: Convert an object into an rmd_ast.

Description

Currently only supports conversion of rmd_tibble objects back to rmd_ast.

Usage

as_ast(x, ...)

Value

Returns an rmd_ast object.

Arguments

x

Object to convert

...

Unused, for extensibility.

Examples

Run this code
parse_rmd(system.file("hw01.Rmd", package="parsermd")) %>%
  as_tibble() %>%
  as_ast()

Run the code above in your browser using DataLab