Comments (6)
@mlgill I downloaded your slide folder and ran slidify and it runs fine. The error you are getting occurs when Slidify is unable to find some templates. Can you try doing the following?
- Use
author('newdeck')
to create a new presentation. - Change
framework
to revealjs - slidify("index.Rmd")
Tell me if this works for you. If it does, then it is likely that the sample presentation I put up uses some custom layouts which I have not updated in SlidifyLibraries.
from slidifyexamples.
Thanks for the reply. I get a similar error, which is actually the reason I started fiddling with the examples--I assumed they would run and I hoped to be able to back out a working version.
Here is the output. Looks like it's missing the mustache.js files?
> library(slidify)
> author('newdeck')
Creating slide directory at newdeck...
Copying files to newdeck...
Finished creating slide directory...
Switching to slide directory...
Initializing Git Repo
Initialized empty Git repository in /Volumes/Files/research/newdeck/.git/
[master (root-commit) 308edfa] Initial Commit
Checking out gh-pages branch...
Switched to a new branch 'gh-pages'
Adding .nojekyll to repo
Opening slide deck...
> slidify('index.Rmd')
processing file: index.Rmd
|.................................................................| 100%
ordinary text without R code
output file: index.md
Copying files to libraries/frameworks/revealjs...
Copying files to libraries/highlighters/highlight.js...
Error in render(value, context) : could not find function "tmpl"
In addition: Warning messages:
1: In partial(key$key[i], partials, indent) :
No partial 'head' or file 'head.mustache' found
2: In partial(key$key[i], partials, indent) :
No partial 'initialize' or file 'initialize.mustache' found
from slidifyexamples.
Ugh, I just remembered that I was fiddling with revealjs in slidifyLibraries yesterday to try to get this to work. I nuked it and downloaded the dev version again. Your very simple example now works fine--my apologies.
The example revealjs presentation will now render also, but there are still some complaints. Directory here.
> setwd('../revealjs_ex/')
> file.edit('index.Rmd')
> slidify('index.Rmd')
processing file: index.Rmd
|......... | 14%
ordinary text without R code
|................... | 29%
label: unnamed-chunk-1 (with options)
List of 3
$ echo : symbol F
$ results: chr "asis"
$ comment: logi NA
|............................ | 43%
ordinary text without R code
|..................................... | 57%
label: unnamed-chunk-2 (with options)
List of 3
$ echo : symbol F
$ results: chr "asis"
$ comment: logi NA
|.............................................. | 71%
ordinary text without R code
|........................................................ | 86%
label: unnamed-chunk-3 (with options)
List of 1
$ eval: symbol T
|.................................................................| 100%
ordinary text without R code
output file: index.md
from slidifyexamples.
Good that you got it working! What further complaints are you getting?
from slidifyexamples.
I posted in the output above. I take it from your response that this is expected output? I wasn't certain.
Edit: reading through the output and comparing to the presentation, it seems it corresponds to sections of code evaluation. Thanks again. Feel free to close this issue--I don't see an option to do so or I'd do it myself.
from slidifyexamples.
Yes. The output you see is from knitr
as it runs through the document. There is an option to switch these messages off, but I like to keep it on by default, since it helps figure out any errors in the code.
from slidifyexamples.
Related Issues (9)
- Another use case for allowing users to configure widgets.
- How to compile these? HOT 12
- PopcornJS embedded Youtube Video play controls not working HOT 1
- Problem with twocol layout HOT 2
- Is there some typo? HOT 2
- navigation bar of reveal.js example HOT 2
- print html (framework showoff) to pdf not working
- Is it possible to add `titleslide` in `flowtime` as in `io2012`? HOT 3
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 slidifyexamples.