Skip to contents

Every .csl in the project's references/ folder, by the name the other functions take: the file name without .csl. add_journal() fetches any other journal's style.

Usage

list_journals(path = NULL)

Arguments

path

The project, or any folder inside it. Left out, the one set_paper() named, or else the project the working directory is in: this only reads.

Value

A character vector of journal names, sorted.

See also

add_journal(), and the journal argument of render_docx() and make_submission().

Examples

dir <- file.path(tempdir(), "my_paper")
create_paper(dir, git = FALSE)
#> Project created: /tmp/Rtmp92gqjt/my_paper
#>   1. open my_paper.Rproj
#>   2. library(easypaper)
#>   3. set_paper(".")      # the project to work on, once a session
#>   4. render_html()      # see ?render for every command
list_journals(dir)
#> [1] "journal-of-ecology"
unlink(dir, recursive = TRUE)