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
r-pkgs-bot opened this Issue Mar 2, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@r-pkgs-bot
Copy link

r-pkgs-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}

@r-pkgs-bot

This comment has been minimized.

Copy link
Author

r-pkgs-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

@r-pkgs-bot

This comment has been minimized.

Copy link
Author

r-pkgs-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?

@hadley

This comment has been minimized.

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

Merge pull request #21 from lindbrook/patch-1
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 in c57446d Aug 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.