Closed luca-scr closed 6 years ago
Please provide a reproducible example, i.e. your Rmd file, and also the commands you ran.
Thanks for your quick reply. The Rmd file (zipped) is attached below. Usually I run knitr from the button on RStudio, but the following command give the same output:
rmarkdown::render("~/Desktop/shower_slides.Rmd")
Looks like your Rmd is for the previous version of shower, we changed the markup a bit to make it similar to other templates. E.g. Slide headings are created by ##
and not #
now. Please use the most recent skeleton as a template, from here:
https://github.com/MangoTheCat/rmdshower/blob/master/inst/examples/skeleton.Rmd https://raw.githubusercontent.com/MangoTheCat/rmdshower/master/inst/examples/skeleton.Rmd
Yes it works now. It looks like the files
./examples/skeleton.Rmd ./rmarkdown/templates/shower/skeleton/skeleton.Rmd
are different, and the second is the one giving me the problems. In fact, I started using the template from File -> New File -> R Markdown menu in RStudio. Maybe you may want to update this template file too.
Thanks for you support.
Luca
Oh, I see. I think that template file is not actually needed, but I'll take a look. Please leave this issue open, so I don't forget it.
@gaborcsardi Looks like this issue still impacts the template provided by the File -> New File -> R Markdown menu in RStudio.
I think it's because inst/examples/skeleton.Rmd
was updated but this is not the one that RStudio looks for when you create a new file. It's inst/rmarkdown/templates/shower/skeleton/skeleton.Rmd
and this had not been updated. Submitting PR to fix it.
Just realised you already new that. The second file inst/rmarkdown/templates/shower/skeleton/skeleton.Rmd
is the one that RStudio loads when you select File -> New File -> R as @cboettig says
Hi, I was giving a try to rmdshower which looks very promising, but I was not able to reproduce the default skeleton example. A screenshot of the output html that I obtain is attached below. Many thanks for any help.
Luca