removeSpsTab {systemPipeShiny} | R Documentation |
Remove a tab R file and remove from the tabs.csv config file
removeSpsTab( tab_id = "none", force = FALSE, app_path = getwd(), multiple = FALSE, verbose = spsOption("verbose"), colorful = spsOption("use_crayon") )
tab_id |
tab ID, string, length 1, supports regular expressions, so be careful. If more than one tabs are matched, stop by default |
force |
bool, whether to ask for confirmation |
app_path |
app directory |
multiple |
bool, if matched more than one tab, turn this to TRUE can remove more than one tab at a time. Be careful. |
verbose |
bool, follows project setting, but can be overwrite. TRUE will give you more information |
colorful |
bool, whether the message will be colorful? |
remove the tab file and register info in tabs.csv
spsInit(change_wd = FALSE, overwrite = TRUE) spsNewTab("vs_new", app_path = glue::glue("SPS_{format(Sys.time(), '%Y%m%d')}")) removeSpsTab("vs_new", force = TRUE, app_path = glue::glue("SPS_{format(Sys.time(), '%Y%m%d')}"))