helpers: Specify Rmarkdown document metadata

helpersR Documentation

Specify Rmarkdown document metadata

Description

Helper functions for including metadata in the document header.

Usage

pkg_ver(pkg)

doc_date()

Arguments

pkg

character(1), package name

Details

Use doc_date to include document compilation date in the document metadata field 'date', and pkg_ver for package version specification in the 'package' field.

Value

Markdown-formatted character string.

Author(s)

Andrzej OleÅ› <andrzej.oles@embl.de>, 2014-2015

Examples



## current date
doc_date()

## package name with version
pkg_ver("BiocStyle")


Bioconductor/BiocStyle documentation built on June 12, 2024, 5:12 a.m.