-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyamldebugging.rmd
36 lines (26 loc) · 783 Bytes
/
yamldebugging.rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
title: "Untitled"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
```{r}
# needed only for package installation or update
#install.packages("yaml")
library(devtools)
#devtools::install_github("lborke/yamldebugger")
# load the package every time you want to use 'yamldebugger'
library(yamldebugger)
#allKeywords
d_init = yaml.debugger.init(getwd(), show_keywords = FALSE)
qnames = yaml.debugger.get.qnames(d_init$RootPath)
d_results = yaml.debugger.run(qnames, d_init)
d_results$possible_pictures
OverView = yaml.debugger.summary(qnames, d_results, summaryType = "mini")
```
```{r}
install.packages("formatR")
library(formatR)
tidy_source(source = paste(getwd(),"/Qload/Qload.r"), file = paste(getwd(),"/Qload/Qload.r"))
```