Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: simplify global imports #187

Merged
merged 3 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: aNCA
Title: (Pre-)Clinical NCA in a Dynamic Shiny App
Version: 0.0.0.9001
Version: 0.0.0.9002
Authors@R: c(
person("Ercan", "Suekuer", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0009-0001-1626-1526")),
Expand Down
18 changes: 3 additions & 15 deletions inst/shiny/global.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
source("modules/tab_data.R")
#Load labels
LABELS <- read.csv(system.file("shiny/data/adnca_labels.csv", package = "aNCA"))

source("modules/slope_selector.R")

source("modules/units_table.R")

source("functions/partial_auc_input.R")
lapply(list.files("modules", pattern = "\\.R$", full.names = TRUE), source)
lapply(list.files("functions", pattern = "\\.R$", full.names = TRUE), source)

source("modules/tlg_plot.R")

source("modules/tab_visuals.R")

source("functions/mapping_selectize_inputs.R")
source("functions/generate_col_defs.R")
LABELS <- read.csv(system.file("shiny/data/adnca_labels.csv", package = "aNCA"))