diff --git a/DESCRIPTION b/DESCRIPTION index a8413fc..032ea1f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: DoseFinding Type: Package Title: Planning and Analyzing Dose Finding Experiments -Version: 1.4-1.9000 -Date: 2025-07-08 +Version: 1.4-2.9000 +Date: 2026-10-14 Authors@R: c( person("Bjoern", "Bornkamp", email = "bjoern.bornkamp@novartis.com", comment = c(ORCID = "0000-0002-6294-8185"), role = c("aut")), diff --git a/NEWS.md b/NEWS.md index 29cee38..a50e92e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,12 @@ # DoseFinding (development version) +# DoseFinding 1.4-2 +* Added vignette illustrating analysis of time-to-event data (#9. thanks to Carina Miller for her work on this) +* added contributors section to readme (#40) +* plot.DRMod now also works correctly when arguments are provided as expressions (#51) +* updated link for github installation (#44) +* Rdpack is now used to handle references (#43) + # DoseFinding 1.4-1 * Added powMCTInterim function to implement conditional/predictive power calculations for interim analyses (#10) diff --git a/README.Rmd b/README.Rmd index fe61a0e..9ec5506 100644 --- a/README.Rmd +++ b/README.Rmd @@ -100,7 +100,7 @@ as listed in the `DESCRIPTION` file. ### Other authors and substantial contributors -- Ludger Sandig — Vignettes +- Ludger Sandig — Vignettes, testthat framework - Marius Thomas — Bayesian MCP-mod, various updates to code, docs, and tests - Daniel Sabanes Bove — powMCTInterim implementation, longitudinal data vignette - Carina Miller - Time-to-event vignette diff --git a/README.md b/README.md index 82198b9..400acd9 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ package authors and maintainers as listed in the `DESCRIPTION` file. ### Other authors and substantial contributors -- Ludger Sandig — Vignettes +- Ludger Sandig — Vignettes, testthat framework - Marius Thomas — Bayesian MCP-mod, various updates to code, docs, and tests - Daniel Sabanes Bove — powMCTInterim implementation, longitudinal data diff --git a/cran-comments.md b/cran-comments.md index 84d238a..6079244 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,8 +1,7 @@ ## Resubmission -This is a resubmission. In this version I have made the following updates to reduce check time - -* added skips for long running tests -* skipped evaluation for long-running vignette code +This is a resubmission. In this version I have made the following updates + * fixed broken links + * made changes to one vignette to speed up checks ## R CMD check results diff --git a/inst/REFERENCES.bib b/inst/REFERENCES.bib index 65ee814..14bb1cd 100644 --- a/inst/REFERENCES.bib +++ b/inst/REFERENCES.bib @@ -31,7 +31,7 @@ @article{biesheuvel2002 number={1}, pages={101--116}, year={2002}, - doi = {10.1002/1521-4036(200201)44:13.0.CO;2-H}, + doi = {10.1002/1521-4036(200201)44:1<101::AID-BIMJ101>3.0.CO;2-H}, publisher={Wiley Online Library} } diff --git a/tests/testsMCT.R b/tests/testsMCT.R index a2305a2..0e1cadc 100644 --- a/tests/testsMCT.R +++ b/tests/testsMCT.R @@ -260,7 +260,7 @@ exm2<-c(0.05,5) expo<-0.2 quad<--0.6 beta<-c(0.05,4) -data.sim <- structure(list(X = structure(1:4, .Label = c("0", "10", "20", "40"), class = "factor"), +data.sim <- structure(list(X = structure(1:4, levels = c("0", "10", "20", "40"), class = "factor"), dose = c(0L, 10L, 20L, 40L), Estimate = c(0.266942236, 3.792703657, 14.69084734, 17.71179102), Cov1 = c(3.685607913, 0.595285049, 0.651289991, 0.742901538), diff --git a/vignettes/analysis_normal.Rmd b/vignettes/analysis_normal.Rmd index 67847de..15cf2b2 100644 --- a/vignettes/analysis_normal.Rmd +++ b/vignettes/analysis_normal.Rmd @@ -21,7 +21,7 @@ There is a separate vignette with details on [sample size and power calculation] We will use data from @verkindre2010, who actually use a cross-over design and utilize MCP-Mod in a supportive analysis. More information can be found at the corresponding -[clinicaltrials.gov page](https://www.clinicaltrials.gov/study/NCT00501852) +[clinicaltrials.gov page](https://clinicaltrials.gov/study/NCT00501852) and on the R help page `?glycobrom`. The main purpose @verkindre2010 was to provide safety and efficacy data on Glycopyrronium Bromide (NVA237) diff --git a/vignettes/time_to_event_data.Rmd b/vignettes/time_to_event_data.Rmd index 91f666f..26e09ca 100644 --- a/vignettes/time_to_event_data.Rmd +++ b/vignettes/time_to_event_data.Rmd @@ -672,7 +672,7 @@ sampSizeMCT_TTE <- function(mods, Now we can calculate how many patients we would need to recruit to achieve an average power of 80%, assuming we would recruit for 2 years and we would end the study after 4 years. ```{r} -sampSizeMCT_TTE(mods, alpha = 0.025, alRatio = alRatio, end_rec = 2, end_stu = 4, targPow = 0.8, lowerN = 100, upperN = 500) +sampSizeMCT_TTE(mods, alpha = 0.025, alRatio = alRatio, end_rec = 2, end_stu = 4, targPow = 0.8, lowerN = 100, upperN = 300) ```