-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vignettes roclet #314
Comments
RStudio support is in the current daily (>= v0.99.148). Note that the vignette roclet is only used for roxygen2 >= 4.1.0.9001 so the package still needs a version bump for this to work. |
What are you doing here that causes intermediate Markdown of your vignettes to be left behind? I have enabled the Vignettes roclet in Project Build Options in RStudio and it's being run when I document my package, but I'm only getting |
I wouldn't have expected that the intermediate |
But I see https://github.com/klutometis/roxygen/tree/master/vignettes and they appear to have been checked in at same time as the |
Hi @jennybc Very much a guess (I only started to read up on creating vignettes in the last day) but maybe you can retain the intermediate files by using There is an argument From
Maybe that would get what you are looking for? Not quite as painless as running from the RStudio buttons and menus, but it might work. (I tried on a dummy example and got some |
Thanks @Geoff99. I'm pretty well-versed in the usage of |
Thanks again @Geoff99. Your message prompted me to be more bold re: modifying the YAML of my R Markdown vignette, as I would with any other ---
title: "gspreadr Basic Usage"
author: "Joanna Zhao, Jenny Bryan"
date: "`r Sys.Date()`"
output:
rmarkdown::html_vignette:
toc: true
keep_md: true
vignette: >
%\VignetteIndexEntry{gspreadr Basic Usage}
%\VignetteEngine{knitr::rmarkdown}
\usepackage[utf8]{inputenc}
--- |
Glad I was able to help in some small way @jennybc , even though I didn't have the right answer. I've learnt something new from your solution and will add looking into YAML more closely to my "to learn about" list. |
Should rebuild if compiled is older than source.
Ping @jjallaire about RStudio UI support when done
The text was updated successfully, but these errors were encountered: