# Define a function that checks stage for neccesary arguments
checkRequired <-function(opt,listofargs)
{
for (key in listofargs )
{
if ( as.character(opt[key]) == "NULL")
{
print (paste("missing required argument:",key))
stop ("Exiting Mango.R pipeline. Check required arguments")
}
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.