Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embed source code error with spaces in file name #100

Closed
lecy opened this issue Dec 4, 2016 · 2 comments
Closed

embed source code error with spaces in file name #100

lecy opened this issue Dec 4, 2016 · 2 comments

Comments

@lecy
Copy link

@lecy lecy commented Dec 4, 2016

If you include spaces in your file name you will get an error when you try to embed the source code. For example, if I try to run a filed named "Final Project.Rmd" I get the error below, but when I run "Final_Project.Rmd" it works fine.

---
title: "Group 2 Final Project"
output:
  flexdashboard::flex_dashboard:
     orientation: columns
     vertical_layout: fill
     source_code: embed
runtime: shiny
---



output file: ~/Final_Project.knit.md

Warning: Error in : source code file for embed not found: Final Project.Rmd
Stack trace (innermost first):
    100: overlay
     99: output_format$pre_processor
     98: <Anonymous>
     97: do.call
     96: contextFunc
     95: .getReactiveEnvironment()$runWith
     94: shiny::maskReactiveContext
     93: <reactive>
     82: doc
     81: shiny::renderUI
     80: func
     79: origRenderFunc
     78: output$__reactivedoc__
      3: <Anonymous>
      2: do.call
      1: rmarkdown::run
@jjallaire
Copy link
Member

@jjallaire jjallaire commented Dec 6, 2016

Thanks for reporting! Fixed here: cae0c06

@jjallaire jjallaire closed this Dec 6, 2016
@lecy
Copy link
Author

@lecy lecy commented Dec 6, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.