namer (version 0.1.4)

unname_all_chunks: Unname chunks in a single file

Description

Unname all chunks except the setup chunk, in a single file

Usage

unname_all_chunks(path)

Arguments

path

Path to file

Details

When using namer, please check the edits before pushing them to your code base. Such automatic chunk labelling is best paired with version control.

Examples

Run this code
# NOT RUN {
temp_file_path <- file.path(tempdir(), "test.Rmd")
file.copy(system.file("examples", "example4.Rmd", package = "namer"),
          temp_file_path,
          overwrite = TRUE)
unname_all_chunks(temp_file_path)
if(interactive()){
file.edit(temp_file_path)
}
# }

Run the code above in your browser using DataLab