Skip to content

Commit

Permalink
Fixed UI for select_base_from not updating when switching between mod…
Browse files Browse the repository at this point in the history
…els.
  • Loading branch information
john-harrold committed Aug 24, 2024
1 parent 4f762c0 commit 6c5a660
Show file tree
Hide file tree
Showing 58 changed files with 259 additions and 254 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ Imports:
shiny,
shinyAce,
shinyWidgets,
rxode2 (>= 2.1.2),
stats,
stringr,
tidyr,
Expand All @@ -44,6 +43,7 @@ Suggests:
prompter,
rmarkdown,
readxl,
rxode2 (>= 2.1.2),
rxode2et,
shinydashboard,
testthat (>= 3.0.0),
Expand Down
1 change: 1 addition & 0 deletions R/CTS_Server.R
Original file line number Diff line number Diff line change
Expand Up @@ -4306,6 +4306,7 @@ CTS_set_current_element = function(state, element){
paste0(' time_scales = ', ts_object, ','),
paste0(' rules = ', rules_object_name, ','),
paste0(' rx_options = ', rxopts_object_name, ')'),
"",
"# Collecting the simulation and event history values",
paste0(sim_tc_object_name, ' = ', simres_object_name, '[["simall"]]'),
paste0(sim_ev_object_name, ' = ', simres_object_name, '[["ev_history"]]'),
Expand Down
5 changes: 4 additions & 1 deletion R/MB_Server.R
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ MB_Server <- function(id,

uiele})
#------------------------------------
# Generating the
# Generating the timescale selection UI
output$ui_select_time_scale = renderUI({
input[["element_name"]]
input[["ui_mb_model"]]
Expand Down Expand Up @@ -168,7 +168,10 @@ MB_Server <- function(id,
}
uiele})
#------------------------------------
# Generating the UI to select model from catalog or user-defined model
output$ui_select_base_from = renderUI({
input[["element_name"]]
input[["ui_mb_model"]]
state = MB_fetch_state(id = id,
id_ASM = id_ASM,
input = input,
Expand Down
2 changes: 2 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ install.packages("ubiquity")
install.packages("nlmixr2lib")
install.packages("nonmem2rx")
install.packages("rxode2")
install.packages("rxode2et")
install.packages("nlmixr2")

# Actual package
install.packages("ruminate")
Expand Down
5 changes: 2 additions & 3 deletions build_custom.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#repo_root = here::here()
#setwd(repo_root)
repo_root = file.path("~", "projects", "ruminate", "github", "ruminate")
repo_root = here::here()
setwd(repo_root)

devtools::document(roclets = c('rd', 'collate', 'namespace'))

Expand Down
2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ articles:
model_builder: model_builder.html
noncompartmental_analysis: noncompartmental_analysis.html
simulate_rules: rmdhunks/simulate_rules.html
last_built: 2024-08-22T01:43Z
last_built: 2024-08-22T03:40Z

20 changes: 10 additions & 10 deletions docs/reference/CTS_add_covariate.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions docs/reference/CTS_add_rule.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions docs/reference/CTS_change_source_model.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6c5a660

Please sign in to comment.