Skip to content

yamldebugger R package - YAML parser debugger according to the QuantNet style guide

License

Notifications You must be signed in to change notification settings

120BPM/yamldebugger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yamldebugger R package

Quickie for the installation and first tests

# needed only for package installation or update
library(devtools)
devtools::install_github("lborke/yamldebugger")

# load the package every time you want to use 'yamldebugger'
library(yamldebugger)

allKeywords
"plot" %in% allKeywords

first real function :

help(yaml.debugger.init)
d_init = yaml.debugger.init("c:/test", show_keywords = TRUE)

second real function :

help(yaml.debugger.get.qnames)
qnames = yaml.debugger.get.qnames(d_init$RootPath)

Application example. Make sure you have some Q folders on your lokal disk for validating. Let 'workdir' be the folder where the Q folders are stored, e.g. the local version of the git repository containing Qs.

workdir = "c:/test"
	
d_init = yaml.debugger.init(workdir, show_keywords = TRUE)
	
qnames = yaml.debugger.get.qnames(d_init$RootPath)
	
d_results = yaml.debugger.run(qnames, d_init)
	
OverView = yaml.debugger.summary(qnames, d_results, summaryType = "mini")

to be continued...

About

yamldebugger R package - YAML parser debugger according to the QuantNet style guide

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%