Open geneorama opened 6 years ago
this might be a little hard to debug, based on the information you provided.
It's not obvious to me that this is a radix problem (or have you verified that?).
I would recommend:
knitr::knit()
)pandoc foo.md -o foo.html
) (need to rename *.rmd
s to *.md
s first).If either of those things fail, then the source of the problem may be somewhere else.
Not knowing where the problem stems from, community.rstudio.com might be a better venue to debug this, or StackOverflow (though both would need a complete reproducible example).
Lastly, I don't think there needs to be an extra reminder to install pandoc; radix is an rmarkdown template, and rmarkdown is always powered by pandoc.
I'm happy to close the issue. It's not important to me, I was just trying to follow the example instructions. (I was trying to help radix development, not my own work.)
Good troubleshooting ideas. Step 1: knitr produces a markdown file that looks right. Step 2: pandoc produces an html file that has no content.
Looks like Pandoc is installed normally, I don't remember if I unzipped pandoc and added it to the path manually or if I used the installer. I probably just installed it for this demo. This is a new computer image and I doubt I had installed pandoc for anything else yet.
If other people are not getting the same error on fresh installs, I'll assume it is me.
Actually, I would recommend adding these troubleshooting steps to a readme. I think these are great suggestions for basic first steps to confirm that the user has everything installed and on the path.
I would add to the instructions where to look for posts, and here to put the output.
For me this was
knitr::knit(input="_posts/welcome/welcome.Rmd",
output = "_posts/welcome/welcome.md")
Then at the command line cd to project directory, then pandoc _posts/welcome/welcome.md -o _posts/welcome/welcome.html
Or tell the user where the output belongs, I'm not sure if the html belongs in the same folder as the Rmd and md files.
Thank you
I'm getting an error when I try to initialize a blog.
My session info:
(also, by the way, you might want to mention in the tutorials that you need pandoc to run radix!)