Skip to content

Commit dc21d01

Browse files
committed
CRAN submission preparations
1 parent 795b155 commit dc21d01

File tree

4 files changed

+45
-39
lines changed

4 files changed

+45
-39
lines changed

NEWS.md

Lines changed: 29 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,41 @@
1-
## BayesianMCPMod 1.2.0 (TODO: DATE)
2-
3-
-
1+
## BayesianMCPMod 1.2.0 (28-Aug-2025)
2+
3+
* Fixed a bug in performBayesianMCPMod() where the model significance status from the MCP step was sometimes not correctly assigned to the fitted model in the Mod step
4+
* Fixed a bug in print.modelFit() where sometimes the coefficients for the fitted model shapes were not printed correctly
5+
* Fixed a bug in getMED() where quantile and evidence level could sometimes not be matched due to floating-point precision issues when using bootstrapped quantiles
6+
* Changed functions getPosterior(), getCritProb(), and getContr() to accept a covariance matrix instead of a standard deviation vector as argument
7+
* Added support for none-zero off-diagonal covariance matrices in the MCP step
8+
* Added bootstrapped differences to getBootstrapSamples()
9+
* Added average MED identification rate as attribute to assessDesign() output
10+
* Made the future.apply package optional
11+
* Re-worked vignettes and improved the output of print functions
412

513
## BayesianMCPMod 1.1.0 (07-Mar-2025)
614

7-
- Fixed a bug in plot.modelFits() that would plot credible bands based on incorrectly selected bootstrapped quantiles
8-
- Added getMED(), a function to assess the minimally efficacious dose (MED) and integrated getMED() into assessDesign() and performBayesianMCPMod
9-
- Added parallel processing using the future framework
10-
- Modified the handling of the fit of an average model: Now, getModelFits() has an argument to fit an average model and this will be carried forward for all subsequent functions
11-
- Re-introduced getBootstrapSamples(), a separate function for bootstrapping samples from the posterior distributions of the dose levels
12-
- Adapted the vignettes to new features
15+
* Fixed a bug in plot.modelFits() that would plot credible bands based on incorrectly selected bootstrapped quantiles
16+
* Added getMED(), a function to assess the minimally efficacious dose (MED) and integrated getMED() into assessDesign() and performBayesianMCPMod()
17+
* Added parallel processing using the future framework
18+
* Modified the handling of the fit of an average model: Now, getModelFits() has an argument to fit an average model and this will be carried forward for all subsequent functions
19+
* Re-introduced getBootstrapSamples(), a separate function for bootstrapping samples from the posterior distributions of the dose levels
20+
* Adapted the vignettes to new features
1321

1422
## BayesianMCPMod 1.0.2 (06-Feb-2025)
1523

16-
- Addition of new vignette comparing frequentist and Bayesian MCPMod using vague priors
17-
- Extension of getPosterior to allow the input of a fully populated variance-covariance matrix
18-
- Added the non-monotonic model shapes beta and quadratic
19-
- New argument in assessDesign() to optionally skip the Mod part of Bayesian MCPMod
20-
- Additional tests
24+
* Addition of new vignette comparing frequentist and Bayesian MCPMod using vague priors
25+
* Extension of getPosterior() to allow the input of a fully populated variance-covariance matrix
26+
* Added the non-monotonic model shapes beta and quadratic
27+
* New argument in assessDesign() to optionally skip the Mod part of Bayesian MCPMod
28+
* Additional tests
2129

2230
## BayesianMCPMod 1.0.1 (03-Apr-2024)
2331

24-
- Re-submission of the 'BayesianMCPMod' package
25-
- Removed a test that occasionally failed on the fedora CRAN test system
26-
- Fixed a bug that would return wrong bootstrapped quantiles in getBootstrapQuantiles()
27-
- Added getBootstrapSamples(), a separate function for bootstrapping samples
32+
* Re-submission of the 'BayesianMCPMod' package
33+
* Removed a test that occasionally failed on the fedora CRAN test system
34+
* Fixed a bug that would return wrong bootstrapped quantiles in getBootstrapQuantiles()
35+
* Added getBootstrapSamples(), a separate function for bootstrapping samples
2836

2937
## BayesianMCPMod 1.0.0 (31-Dec-2023)
3038

31-
- Initial release of the 'BayesianMCPMod' package
32-
- Special thanks to Jana Gierse, Bjoern Bornkamp, Chen Yao, Marius Thomas & Mitchell Thomann for their review and valuable comments
33-
- Thanks to Kevin Kunzmann for R infrastructure support and to Frank Fleischer for methodological support
39+
* Initial release of the 'BayesianMCPMod' package
40+
* Special thanks to Jana Gierse, Bjoern Bornkamp, Chen Yao, Marius Thomas & Mitchell Thomann for their review and valuable comments
41+
* Thanks to Kevin Kunzmann for R infrastructure support and to Frank Fleischer for methodological support

cran-comments.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
## R CMD check results
1818

19-
### Local aarch64-apple-darwin20, Windows Server, R 4.4.2
19+
### Local aarch64-apple-darwin20, R 4.4.2
2020
0 errors √ | 0 warnings √ | 0 notes √
2121

2222
### Winbuilder x86_64-w64-mingw32, macOS Ventura 13.3.1, R under development (unstable) (2025-02-05 r87692 ucrt)
@@ -41,21 +41,19 @@ Status: OK
4141

4242
### Rhub Windows / windows
4343

44-
* checking for detritus in the temp directory ... NOTE
45-
Found the following files/directories:
46-
'Rscript420e8038' 'Rscripta4ce8028'
4744
* DONE
48-
Status: 1 NOTE
49-
50-
-> This note seems is related with the parallelization on the github server and does not occur on the Winbuilder server.
45+
Status: OK
5146

5247
## From NEWS.md
5348

54-
## BayesianMCPMod 1.1.0 (07-Mar-2025)
55-
56-
- Fixed a bug in plot.modelFits() that would plot credible bands based on incorrectly selected bootstrapped quantiles
57-
- Added getMED(), a function to assess the minimally efficacious dose (MED) and integrated getMED() into assessDesign() and performBayesianMCPMod
58-
- Added parallel processing using the future framework
59-
- Modified the handling of the fit of an average model: Now, getModelFits() has an argument to fit an average model and this will be carried forward for all subsequent functions
60-
- Re-introduced getBootstrapSamples(), a separate function for bootstrapping samples from the posterior distributions of the dose levels
61-
- Adapted the vignettes to new features
49+
### BayesianMCPMod 1.2.0 (28-Aug-2025)
50+
51+
* Fixed a bug in performBayesianMCPMod() where the model significance status from the MCP step was sometimes not correctly assigned to the fitted model in the Mod step
52+
* Fixed a bug in print.modelFit() where sometimes the coefficients for the fitted model shapes were not printed correctly
53+
* Fixed a bug in getMED() where quantile and evidence level could sometimes not be matched due to floating-point precision issues when using bootstrapped quantiles
54+
* Changed functions getPosterior(), getCritProb(), and getContr() to accept a covariance matrix instead of a standard deviation vector as argument
55+
* Added support for none-zero off-diagonal covariance matrices in the MCP step
56+
* Added bootstrapped differences to getBootstrapSamples()
57+
* Added average MED identification rate as attribute to assessDesign() output
58+
* Made the future.apply package optional
59+
* Re-worked vignettes and improved the output of print functions

cran_submission_script.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ urlchecker::url_update()
3333

3434
# check on other distributions
3535
# _rhub
36-
rhub::rhub_check(platforms = c("ubuntu-next", "macos-arm64", "windows"))
36+
# rhub::rhub_check(platforms = c("ubuntu-next", "macos-arm64", "windows"))
3737
# _win devel CRAN
3838
devtools::check_win_devel()
3939
# _macos CRAN

vignettes/analysis_normal.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ The actual fit (on this approximated posterior distribution) is then performed u
395395

396396
The output of the fit includes information about the predicted effects for the included dose levels, the generalized AIC, and the corresponding weights.
397397

398-
For the considered case, the simplified and the full fit are very similar, so wepresent the full fit.
398+
For the considered case, the simplified and the full fit are very similar, so we present the full fit.
399399

400400
```{r}
401401
# If simple = TRUE, uses approx posterior
@@ -444,7 +444,7 @@ bootstrap_quantiles <- getBootstrapQuantiles(
444444
doses = c(0, 2.5, 4, 5, 7, 10),
445445
n_samples = 10)
446446
```
447-
The boostrap quantiles include information about the absolute quantiles (sample_type=abs) and also about the placebo-adjusted (resp. control-adjusted) quantiles (sample_type=diff).
447+
The bootstrap quantiles include information about the absolute quantiles (sample_type=abs) and also about the placebo-adjusted (resp. control-adjusted) quantiles (sample_type=diff).
448448

449449
```{r, collapse = TRUE}
450450
#| code-fold: true

0 commit comments

Comments
 (0)