Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

Creating reproducible examples #16

Open
maurolepore opened this issue Dec 9, 2019 · 2 comments
Open

Creating reproducible examples #16

maurolepore opened this issue Dec 9, 2019 · 2 comments

Comments

@maurolepore
Copy link
Member

maurolepore commented Dec 9, 2019

Relates to #11 (comment)

@jennybc
Copy link

jennybc commented Dec 10, 2019

I have a couple comments on 2019-12-10_reprex.pdf 😀

You can reprex in current working directory:

reprex::reprex(getwd(), outfile = NA)

yields

getwd()
#> [1] "/Users/jenny/rrr/googledrive"

(I happen to be working on googledrive right now). I hate the interface for this, so I do apologize for that (tidyverse/reprex#295). That makes this feature fairly hard to discover / remember.

Also, the dev version of reprex has a new reprex_document() Rmd output format that is designed to be used with reprex_render():

I still think the main reason to do this instead of using reprex() is because it will allow the use knitr's non-R engines, i.e. to reprex Python or bash chunks.

maurolepore added a commit that referenced this issue Dec 11, 2019
Relates to #16

Specifically, this is a follow up on this comment:
https://github.com/2DegreesInvesting/ds-incubator/
issues/16#issuecomment-564190006

Thanks @jennybc
@maurolepore
Copy link
Member Author

I love the ds-incubator because by teaching I learn so much. Thanks @jennybc!

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants