Skip to content
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

README.rmd should start with setup chunk #19

Closed
tidy-bot opened this issue Mar 2, 2017 · 3 comments
Closed

README.rmd should start with setup chunk #19

tidy-bot opened this issue Mar 2, 2017 · 3 comments
Labels
feature a feature request or enhancement

Comments

@tidy-bot
Copy link

tidy-bot commented Mar 2, 2017

Issue by hadley
Thursday Oct 20, 2016 at 13:22 GMT
Originally opened as r-lib/devtools#1379


i.e. {r setup, include = FALSE}

@tidy-bot
Copy link
Author

tidy-bot commented Mar 2, 2017

Comment by hadley
Thursday Oct 27, 2016 at 15:06 GMT


It should also include library(xyz) in that chunk

@tidy-bot
Copy link
Author

tidy-bot commented Mar 2, 2017

Comment by jennybc
Wednesday Nov 23, 2016 at 01:04 GMT


This chunk might also be nice in a new vignette, but that is currently initialized via rmarkdown::draft(), so easier said than done. Maybe it could be added to the html_vignette template over there?

@tidy-bot tidy-bot added feature a feature request or enhancement usethis labels Mar 2, 2017
@hadley
Copy link
Member

hadley commented May 18, 2017

And need to set fig.path to fig.path = "man/figures/"

@hadley hadley removed the usethis label Aug 9, 2017
hadley added a commit that referenced this issue Aug 9, 2017
set default README fig.path to man/figures/

Part of #19
hadley added a commit that referenced this issue Aug 9, 2017
@hadley hadley closed this as completed in c57446d Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants