Closed lecy closed 7 years ago
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
Thanks for reporting! Fixed here: https://github.com/rstudio/flexdashboard/commit/cae0c06d9d46198f87c6a0ca0a722b6ebde500cc
Thanks!
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.