datacamp (version 3.3.0)

deparse_chapter: Based on the structured list representing a chapter file, create the chapter file again.

Description

Based on the structured list representing a chapter file, create the chapter file again.

Usage

deparse_chapter(chapter_list, chapter_file)

Arguments

chapter_list

structured list resulting from parse_chapter

chapter_file

Path of the file to which you want to write the list representing the chapter.

Examples

Run this code
# NOT RUN {
chapter_list <- parse_chapter("path_to_file", htmlify = FALSE, check = FALSE)
deparse_chapter(chapter_list, "chapterX.Rmd")
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace