| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/pandoc.R |
| 3 |
\name{pandoc.date.return} |
| 4 |
\alias{pandoc.date.return} |
| 5 |
\alias{pandoc.date} |
| 6 |
\title{Dates} |
| 7 |
\usage{ |
| 8 |
pandoc.date.return(x, inline = TRUE, simplified = FALSE, ...) |
| 9 |
} |
| 10 |
\arguments{ |
| 11 |
\item{x}{date or vector of dates} |
| 12 |
|
| 13 |
\item{inline}{if to render vector of dates as inline paragraph or not (as list)} |
| 14 |
|
| 15 |
\item{simplified}{if just add date formatting to vector of dates} |
| 16 |
|
| 17 |
\item{...}{extra arguments passed by from parent call, disregarded} |
| 18 |
} |
| 19 |
\value{ |
| 20 |
By default this function outputs (see: \code{cat}) the result. If you would want to catch the result instead, then call the function ending in \code{.return}. |
| 21 |
} |
| 22 |
\description{ |
| 23 |
Pandoc's mardown date. |
| 24 |
} |
| 25 |
\examples{ |
| 26 |
pandoc.date(Sys.Date()) |
| 27 |
pandoc.date(Sys.Date() - 1:10) |
| 28 |
pandoc.date(Sys.Date() - 1:10, inline = FALSE) |
| 29 |
} |