Application "framework" which provides very basic functions for logging and error handling.
Package is available only on Github, so you need to use devtools
to install the package
library('devtools')
install_github('keboola/r-application', ref = 'master')
# Subclass the class to do something useful
MyApplication <- setRefClass(
'MyApplication',
contains = c("Application"),
fields = list(
...
),
methods = list(
...
)
)
app <- MyApplication$new()
app->logDebug("Some message")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.