Skip to content

Commit 240815a

Browse files
committed
Added example to help file for preview_rd().
1 parent 1c8dad1 commit 240815a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: mathjaxr
2-
Version: 1.0-0
3-
Date: 2020-06-05
2+
Version: 1.0-1
3+
Date: 2020-06-25
44
Title: Using 'Mathjax' in Rd Files
55
Authors@R: person(given = "Wolfgang", family = "Viechtbauer", role = c("aut","cre"), email = "wvb@wvbauer.com", comment = c(ORCID = "0000-0003-3463-4063"))
66
Description: Provides 'MathJax' and macros to enable its use within Rd files for rendering equations in the HTML help files.

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# mathjaxr 1.0-0 (2020-06-05)
1+
# mathjaxr 1.0-1 (2020-06-25)
22

33
* added `\mjteqn` and `\mjtdeqn` macros (triple-argument versions)
44

man/preview_rd.Rd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,10 @@ preview_rd(Rdfile, view = TRUE, type = "html", verbose = FALSE)
2727
\author{
2828
Wolfgang Viechtbauer \email{wvb@wvbauer.com} \url{http://www.wvbauer.com/}
2929
}
30+
\examples{
31+
\dontrun{
32+
setwd("/path/to/root/of/package")
33+
preview_rd("someRdfile")
34+
}
35+
}
3036
\keyword{utilities}

0 commit comments

Comments
 (0)