Files

43 lines
1.2 KiB
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "echo",
"type": "shell",
"command": "echo Hello",
"problemMatcher": [],
"group": {
"kind": "test",
"isDefault": false
}
},
{
"label": "Run Shiny RMD",
"type": "shell",
"command": "Rscript",
"args": [
"-e",
"\"rmarkdown::run('app/dashboard.Rmd', shiny_args = list(host = '127.0.0.1', port = 1234))\""
],
"group": {
"kind": "test",
"isDefault": true
}
},
{
"label": "Run Shiny App",
"type": "shell",
"command": "Rscript",
"args": [
"-e",
"\"options(shiny.autoreload = TRUE); shiny::runApp('app/app.R', port = 1234, )\""
],
"group": {
"kind": "test",
"isDefault": true
}
}
]
}