Azure / Azure-TDSP-Utilities

Utilities and scripts developed as part of Microsoft's Team Data Science Process for productive data science
Creative Commons Attribution 4.0 International
373 stars 275 forks source link

Error package 'knitr' not found #7

Closed rbobadilla closed 7 years ago

rbobadilla commented 7 years ago

After selecting the YAML file, i got the following error:

Error package 'knitr' not found

This is the Console Output:

Warning: Error in utils::packageVersion: package ‘knitr’ not found Stack trace (innermost first): 109: utils::packageVersion 108: knit_meta_reset 107: render 106: discover_rmd_resources 105: find_external_resources 104: copy_render_intermediates 103: output_format$intermediates_generator 102: 101: do.call 100: contextFunc 99: .getReactiveEnvironment()$runWith 98: shiny::maskReactiveContext 97: 86: doc 85: shiny::renderUI 84: func 83: origRenderFunc 82: output$reactivedoc 7: 6: do.call 5: rmarkdown::run 4: eval [~/Team Data Science Process/Azure-TDSP-Utilities-master/DataScienceUtilities/DataReport-Utils/Run-IDEAR.R#14] 3: eval 2: withVisible 1: source

What is wrong with it?

algunion commented 7 years ago

You need to install the "knitr" package.

Try to execute this before running the rmarkdown document: install.packages('knitr')

xibingaomsft commented 7 years ago

Hi @rbobadilla , Thanks for trying IDEAR. Can you try installing knitr with install.packages('knitr') as @symeprog suggested? It looks like knitr package is not installed correctly in your setup. Let us know if it solves the problem. Xibin