From deef17500764e01dca46082de1c66ee98c81e56c Mon Sep 17 00:00:00 2001 From: dylanbenzi Date: Mon, 21 Jul 2025 16:08:00 -0400 Subject: [PATCH] add run shiny task --- .vscode/tasks.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..4b5a231 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,30 @@ +{ + // 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('dashboard.Rmd', shiny_args = list(host = '127.0.0.1', port = 1234))\"" + ], + "group": { + "kind": "test", + "isDefault": true + } + } + ] +} \ No newline at end of file