Skip to content
Snippets Groups Projects
Unverified Commit 7bb9ece5 authored by Todor Kondic's avatar Todor Kondic
Browse files

R/shiny-ui-base.R: Update wrappers

* R/shiny-ui-base.R(react_v,react_f,react_e, obsrv, vols): New
  functions.
  Wrap functions that are used a lot.

* R/shiny-ui-base.R(path2vol): New function.
parent 101570a4
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,19 @@
## See the License for the specific language governing permissions and
## limitations under the License.
react_v <- shiny::reactiveValues
react_f <- shiny::reactive
react_e <- shiny::eventReactive
obsrv <- shiny::observe
vols <- shinyFiles::getVolumes
path2vol <- function(path) {
## This function returns shinyFiles compatible volumes.
splits <- split_path(path)
file.path(tail(splits,1),'')
}
prim_box<-function(...) {shinydashboard::box(...,
status="primary",
solidHeader=T)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment