Skip to content
Open
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.1.0.9175
Version: 0.1.0.9176
Authors@R: c(
person("Ercan", "Suekuer", email = "ercan.suekuer@roche.com", role = "aut",
comment = c(ORCID = "0009-0001-1626-1526")),
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
* NCA results flagging correctly distinguishes missing vs not-requested parameters (#934)
* Custom units table join uses correct keys instead of hardcoded columns (#1159)
* "Summarise by" selector in Matrix Ratios fixed (input ID mismatch) (#1198)
* `export_cdisc()` now includes `ATPTREF` and `ROUTE` columns in ADPP output (#1276)

### Settings & Upload
* SASS compilation moved from runtime to build-time script, fixing startup crashes on read-only deployments (#1107)
Expand Down
2 changes: 1 addition & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#'
#' A dataset containing pharmacokinetic variable specifications.
#'
#' @format A data frame with 359 rows and 19 variables:
#' @format A data frame with 363 rows and 19 variables:
#' \describe{
#' \item{Dataset}{Character. Indicates the dataset the variable belongs to (PP, ADNCA, ADPP).}
#' \item{Order}{Numeric. Variable order within its domain, based on Role, Core and Variable}
Expand Down
2 changes: 2 additions & 0 deletions data-raw/metadata_nca_variables.csv
Original file line number Diff line number Diff line change
Expand Up @@ -361,3 +361,5 @@ ADNCA,264,PKSUM1F,PK Summary Exclusion Flag 1,text,Record Qualifier,Perm,FALSE,F
ADNCA,265,PKSUM1FN,PK Summary Exclusion Flag 1 (N),integer,Record Qualifier,Perm,FALSE,FALSE,12,,FALSE,,FALSE,,,,NA,FALSE
ADPP,193,PPSUMFL,PP Summary Exclusion Flag,text,Record Qualifier,Perm,FALSE,FALSE,1,,FALSE,,FALSE,,,,NA,FALSE
ADPP,194,PPSUMRSN,PP Summary Exclusion Reason,text,Record Qualifier,Perm,FALSE,FALSE,200,,FALSE,,FALSE,,,,NA,FALSE
ADPP,229,ATPTREF,Analysis Timepoint Reference,text,Timing,Perm,FALSE,FALSE,200,,FALSE,,FALSE,,,,NA,FALSE
ADPP,88,ROUTE,Route of Administration,text,Topic,Perm,FALSE,FALSE,40,C66729,FALSE,,FALSE,,,,NA,FALSE
Binary file modified data/metadata_nca_variables.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion man/metadata_nca_variables.Rd

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

6 changes: 6 additions & 0 deletions tests/testthat/test-export_cdisc.R
Original file line number Diff line number Diff line change
Expand Up @@ -969,4 +969,10 @@ describe("export_cdisc: flag columns do not leak to other outputs", {
crit_cols <- grep("^CRIT|PPSUMFL|PPSUMRSN", names(pp), value = TRUE)
expect_length(crit_cols, 0)
})

it("includes ATPTREF and ROUTE in ADPP when present in source data (#1276)", {
result <- export_cdisc(test_pknca_res)
expect_true("ATPTREF" %in% names(result$adpp))
expect_true("ROUTE" %in% names(result$adpp))
})
})