Comments (3)
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:
- rendering the individual posts to HTML (via
knitr::knit()
) - converting the individual posts to HTML using pandoc on the CLI (
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.
from distill.
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.
from distill.
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
from distill.
Related Issues (20)
- Upkeep for distill
- Check and add alt-text to pictures, plots, ... in website
- invalid byte sequence when deploying to github HOT 3
- RSS category-based feeds HOT 1
- Creative Commons Markdown Table Not Rendering Properly
- Warning due to deprecation of 'format' argument to 'as.character.POSIXlt()' HOT 2
- Description in _site.yaml causing Error "STRING_ELT() can only be applied to a 'character vector', not a 'list'" HOT 1
- How to add email and multiple affiliations to a single author? HOT 2
- Article description does not show up when adding posts HOT 1
- Improve alt-text for ORCiD icon HOT 3
- Add <hr> for screen reader accessibility HOT 1
- Space between lines in bulleted lists HOT 1
- Various minor accessibility issues
- Release distill 1.6
- Gallery outdated, remove Quarto pages HOT 1
- Javascript & D3 page error HOT 1
- Journal (site) title is incorrectly prepended to the article title in cititations.
- Has anyone used any alternative to Google analytics? HOT 2
- italicized species names in a Rmarkdown distill package
- Using a `distill` vignette on CRAN HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distill.