seankross / postcards

💌 Create simple, beautiful personal websites and landing pages using only R Markdown.
Other
551 stars 87 forks source link

Update documentation about seeing templates #1

Closed elinw closed 4 years ago

elinw commented 4 years ago

Hi,

This is really neat.

Edited I didn't see the templates in my list but then I realized I needed to start a new session, so maybe add that to the instructions. I also wanted to suggest something that I've been doing with templates lately which is making a function like assignment1() that opens up the file. Though they have worked with the FIle, RMarkdown, New, From Template it's always clunky and people on macs and Windows get them sorted differently so my demo doesn't look right to everyone.

seankross commented 4 years ago

Hi Elin,

Thank you so much for demoing this package. I uninstalled postcards, restarted R, and the templates did not appear in the template list. Then reinstalled postcards and the templates showed up in the template list, so I don't know why the templates are not showing up for you.

Adding a postcards_write() function is a good idea to wrap file.edit(rmarkdown::draft("index.Rmd", "Jolla", package = "postcards", edit = FALSE)).

elinw commented 4 years ago

I updated the message, I started a new session and they were there. I believe I may have run into that issue before.

On Nov 25, 2020, at 7:58 PM, Sean Kross notifications@github.com wrote:

Hi Elin,

Thank you so much for demoing this package. I uninstalled postcards, restarted R, and the templates did not appear in the template list. Then reinstalled postcards and the templates showed up in the template list, so I don't know why the templates are not showing up for you.

Adding a postcards_write() function is a good idea to wrap file.edit(rmarkdown::draft("index.Rmd", "Jolla", package = "postcards", edit = FALSE)).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/seankross/postcards/issues/1#issuecomment-734013715, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFYI7JHU4GQM5NLD6T2GE3SRWR4DANCNFSM4UDBOK5Q.

seankross commented 4 years ago

According to the R Markdown website the right way to use the template without navigating around R Studio is: rmarkdown::draft("index.Rmd", "Jolla", package = "postcards") so I will add that to the documentation.