-
Notifications
You must be signed in to change notification settings - Fork 20
Link to Vignettes #66
Comments
@BernhardKonrad Here are your HW submission instructions re: the vignette:
What did you have in mind for "links to the vignette"? The It's possible we should omit the instruction to link to the vignette and just direct the peer reviewer to read the vignette via However, I would really like a Markdown version to simply exist somewhere logical because when we blast through all the repos for marking, we may not necessarily install every last one. Or we might want to refer back to a vignette of a previous student. |
Yeah I am not sure how to edit the YAML of the |
General answer about YAML for getting Markdown. Two alternatives:
But, yeah, @dchiu911 good question: how will this interact with the vignette-building machinery? Does it break it? For that matter, where would the Markdown file go? |
So the default is and I get this error message:
The second option is: and I get this error message:
BUT! in |
@jennybc I changed my YAML from having
to
Is that what you meant? Running build_vignettes() ignores the markdown output and nothing changed, but you can run it manually using Related question: is it bad practice to remove the |
I think @daattali is onto something with his YAML. However, given that the I was also wondering about I don't see any reason why you should necessarily keep the rendered vignettes out of the repo. Have you suffered any negative consequences downstream, i.e. when building and installing? Or with |
My package includes inst/doc and suffers no problems: On Tue, Nov 18, 2014 at 4:46 PM, Jennifer (Jenny) Bryan <
|
Thank you for bringing this to our attention. I didn't mean the linking to be a hurdle.
|
We will certainly accept a solution where the vignette is built and available after (and only after) package installation. It is a nice bonus if you make the vignette available, even just in Markdown form, somewhere -- presumably in the source package repo. Why is this nice? Because it becomes accessible under a much wider set of circumstances that way. The steps @daattali describes above, about removing |
Since the URL changes token every time we visit the vignette, when we are asked to "link to the vignette" is it sufficient to tell the user to call
browseVignettes("gameday")
from the R console in order to view it?The text was updated successfully, but these errors were encountered: