Title: R Markdown Templates for Journal of Data Science
Version: 0.3.3
Description: Customized R Markdown templates for authoring articles for Journal of Data Science.
Depends: R (≥ 3.2.3)
Imports: bookdown, rmarkdown
License: GPL (≥ 3)
URL: https://github.com/wenjie2wang/jds.rmd
BugReports: https://github.com/wenjie2wang/jds.rmd/issues
Encoding: UTF-8
RoxygenNote: 7.2.3
NeedsCompilation: no
Packaged: 2023-06-21 00:56:09 UTC; wenjie
Author: Wenjie Wang ORCID iD [aut, cre], Jun Yan ORCID iD [aut]
Maintainer: Wenjie Wang <wang@wwenjie.org>
Repository: CRAN
Date/Publication: 2023-06-21 03:50:02 UTC

R Markdown Temlates for Journal of Data Science

Description

The jds.rmd package provides customized R Markdown templates and formats for authoring and submitting articles to Journal of Data Science (JDS).


Creat A Draft of JDS Article

Description

Create a JDS article draft using the specified LaTeX class file. This function is a simplified version of 'rmarkdown::draft()' for creating a JDS article draft only.

Usage

draft(file, cls = c("jdsart", "jds"))

Arguments

file

A character string for the file name of the draft. Different with rmarkdown::draft(), the suffix ".Rmd" will not be added if it is not specified.

cls

The LaTeX class name. The available choices are jdsart for the latest class developed by vtex, or jds for the deprecated class.

Value

The file name of the new document (invisibly).

Examples

if (interactive() && requireNamespace("rmarkdown", quietly = TRUE)) {
    ## draft from a sample R markdown file
    jds.rmd::draft("jds-sample.Rmd")
    ## produce pdf with the tex source kept for submission
    rmarkdown::render("jds-sample.Rmd")
}

PDF Article for Journal of Data Science

Description

Provides output format to render PDF article for submission to Journal of Data Science.

Usage

pdf_article(..., cls = c("jdsart", "jds"))

Arguments

...

Optional named arguments passed to bookdown::pdf_book() and rmarkdown::pdf_document() other than base_format.

cls

The LaTeX class name. The available choices are jdsart for the latest class developed by vtex, or jds for the deprecated class.

Value

The output format that can only be used with bookdown::render_book().

Examples

if (interactive() && requireNamespace("rmarkdown", quietly = TRUE)) {
    ## draft from a sample R markdown file
    jds.rmd::draft("jds-sample.Rmd")
    ## produce pdf with the tex source kept for submission
    rmarkdown::render("jds-sample.Rmd")
}