list_manuscripts {revise}R Documentation

List Manuscripts in Environment

Description

Returns a character vector with the names of manuscripts loaded in a given environment.

Usage

list_manuscripts(envir = parent.frame(1))

Arguments

envir

The environment in which to check for manuscripts.

Value

A character vector, or NULL if no manuscripts exist in the environment.

Examples

temp_file <- tempfile(fileext = ".Rmd")
write("`r 1 + 1", file = temp_file)

read_manuscript(temp_file)
list_manuscripts()

[Package revise version 0.1.0 Index]