egenn commited on
Commit
77055fa
·
1 Parent(s): 87cc739
Files changed (1) hide show
  1. app.R +6 -3
app.R CHANGED
@@ -6,6 +6,7 @@
6
  # shiny::runApp("app.R")
7
 
8
  # Setup
 
9
  library(shiny)
10
  library(bslib)
11
  library(htmltools)
@@ -16,6 +17,7 @@ source("globals.R")
16
 
17
  # Source built-in datasets from data.R
18
  source("data.R")
 
19
  # Get names of all objects defined in data.R
20
  builtin_names <- readLines("data.R") |>
21
  (\(z) grep("<-", x = z, value = TRUE))() |>
@@ -52,9 +54,10 @@ xtlive <- function(
52
  # Version
53
  platform <- sessionInfo()[["platform"]]
54
  xtl <- paste0(
55
- "xtlive v.0.0.2",
56
- " | ", "rtemis v.", utils::packageVersion("rtemis"), # doesn't work in shinylive
57
- " | R v.", version$major, ".", version$minor,
 
58
  " | running on ", platform
59
  )
60
 
 
6
  # shiny::runApp("app.R")
7
 
8
  # Setup
9
+ rtemisxt_version <- "0.0.3"
10
  library(shiny)
11
  library(bslib)
12
  library(htmltools)
 
17
 
18
  # Source built-in datasets from data.R
19
  source("data.R")
20
+
21
  # Get names of all objects defined in data.R
22
  builtin_names <- readLines("data.R") |>
23
  (\(z) grep("<-", x = z, value = TRUE))() |>
 
54
  # Version
55
  platform <- sessionInfo()[["platform"]]
56
  xtl <- paste0(
57
+ "rtemisxt v", rtemisxt_version,
58
+ " | ", "rtemisbio v", utils::packageVersion("rtemisbio"),
59
+ " | ", "rtemis v", utils::packageVersion("rtemis"), # doesn't work in shinylive
60
+ " | R v", version$major, ".", version$minor,
61
  " | running on ", platform
62
  )
63