Skip to content

Commit 44adca4

Browse files
author
Craig Gower-Page
authored
Prepare for release 1.4.0 (#479)
Closes #478
1 parent 9a75cd2 commit 44adca4

File tree

10 files changed

+162
-142
lines changed

10 files changed

+162
-142
lines changed

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
Package: rbmi
22
Title: Reference Based Multiple Imputation
3-
Version: 1.3.1
3+
Version: 1.4.0
44
Authors@R: c(
55
person("Craig", "Gower-Page", email = "craig.gower-page@roche.com", role = c("aut", "cre")),
66
person("Alessandro", "Noci", email = "alessandro.noci@roche.com", role = c("aut")),
77
person("Marcel", "Wolbers", email = "marcel.wolbers@roche.com", role = "ctb"),
88
person("Isaac", "Gravestock", email = "isaac.gravestock@roche.com", role = "aut"),
9+
person("Daniel", "Sabanes Bove", email = "daniel.sabanes_bove@rconis.com", role = c("aut")),
910
person("F. Hoffmann-La Roche AG", role = c("cph", "fnd"))
1011
)
1112
Description: Implements standard and reference based multiple imputation methods for continuous

NEWS.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11

22

3-
# rbmi Development Version
4-
5-
* Fixed bug where `lsmeans(.weights = "proportional_em")` would error if there was only a single categorical variable in the dataset. (#412)
6-
* Removed native pipes `|>` and lambda functions `\(x)` from code base to ensure package is backwards compatible with older versions of R. (#474)
3+
# rbmi 1.4.0
74

85
## Breaking Changes
96

10-
* Deprecated the `burn_in` and `burn_between` arguments in `method_bayes()` in favour of using the `warmup` and `thin` arguments, respectively, in the new `control` list produced by `control_bayes`. This is to align with the `rstan` package.
7+
* Deprecated the `burn_in` and `burn_between` arguments in `method_bayes()` in favour of using the `warmup` and `thin` arguments, respectively, in the new `control` list produced by `control_bayes`. This is to align with the `rstan` package. (#477)
118

129
## New Features
1310

14-
* Added `control_bayes()` function to allow expert users to specify additional control arguments for the MCMC computations using `rstan`.
11+
* Added `control_bayes()` function to allow expert users to specify additional control arguments for the MCMC computations using `rstan`. (#477)
12+
13+
## Bug Fixes
14+
15+
* Fixed bug where `lsmeans(.weights = "proportional_em")` would error if there was only a single categorical variable in the dataset. (#412)
16+
* Removed native pipes `|>` and lambda functions `\(x)` from code base to ensure package is backwards compatible with older versions of R. (#474)
17+
1518

1619
# rbmi 1.3.1
1720

cran-comments.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Summary of Submission
22

3-
This version of the package fixes an issue that was causing the unit tests to crash on CRAN. The issue was due to the package not correctly clearing out the cache of previously compiled `rstan` models.
3+
This version of the package removes references to native pipes `|>` and lambda functions `\(x)` to ensure the package is backwards compatible with older versions of R. This update also exposes the control options for `rstan` allowing the user greater control over the MCMC computations.
44

55

66
## R CMD check results
@@ -20,4 +20,6 @@ The package was tested in the following environments:
2020

2121
## Downstream dependencies
2222

23-
There are currently no downstream dependencies for this package
23+
The following revdeps were checked:
24+
25+
- term.rbmi - no issues detected

man/rbmi-package.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/CondMean_Inference.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@
3636
}
3737
</style>
3838
<style type="text/css" data-origin="pandoc">
39+
html { -webkit-text-size-adjust: 100%; }
3940
pre > code.sourceCode { white-space: pre; position: relative; }
40-
pre > code.sourceCode > span { line-height: 1.25; }
41+
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
4142
pre > code.sourceCode > span:empty { height: 1.2em; }
4243
.sourceCode { overflow: visible; }
4344
code.sourceCode > span { color: inherit; text-decoration: inherit; }
@@ -48,7 +49,7 @@
4849
}
4950
@media print {
5051
pre > code.sourceCode { white-space: pre-wrap; }
51-
pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
52+
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
5253
}
5354
pre.numberSource code
5455
{ counter-reset: source-line 0; }

vignettes/FAQ.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@
3636
}
3737
</style>
3838
<style type="text/css" data-origin="pandoc">
39+
html { -webkit-text-size-adjust: 100%; }
3940
pre > code.sourceCode { white-space: pre; position: relative; }
40-
pre > code.sourceCode > span { line-height: 1.25; }
41+
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
4142
pre > code.sourceCode > span:empty { height: 1.2em; }
4243
.sourceCode { overflow: visible; }
4344
code.sourceCode > span { color: inherit; text-decoration: inherit; }
@@ -48,7 +49,7 @@
4849
}
4950
@media print {
5051
pre > code.sourceCode { white-space: pre-wrap; }
51-
pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
52+
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
5253
}
5354
pre.numberSource code
5455
{ counter-reset: source-line 0; }

vignettes/advanced.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@
3636
}
3737
</style>
3838
<style type="text/css" data-origin="pandoc">
39+
html { -webkit-text-size-adjust: 100%; }
3940
pre > code.sourceCode { white-space: pre; position: relative; }
40-
pre > code.sourceCode > span { line-height: 1.25; }
41+
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
4142
pre > code.sourceCode > span:empty { height: 1.2em; }
4243
.sourceCode { overflow: visible; }
4344
code.sourceCode > span { color: inherit; text-decoration: inherit; }
@@ -48,7 +49,7 @@
4849
}
4950
@media print {
5051
pre > code.sourceCode { white-space: pre-wrap; }
51-
pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
52+
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
5253
}
5354
pre.numberSource code
5455
{ counter-reset: source-line 0; }
@@ -714,7 +715,7 @@ <h1><span class="header-section-number">6</span> Custom imputation strategies</h
714715
<span id="cb6-17"><a href="#cb6-17" tabindex="-1"></a><span class="co">#&gt; pars &lt;- list(mu = mu, sigma = sigma)</span></span>
715716
<span id="cb6-18"><a href="#cb6-18" tabindex="-1"></a><span class="co">#&gt; return(pars)</span></span>
716717
<span id="cb6-19"><a href="#cb6-19" tabindex="-1"></a><span class="co">#&gt; }</span></span>
717-
<span id="cb6-20"><a href="#cb6-20" tabindex="-1"></a><span class="co">#&gt; &lt;bytecode: 0x7fd7e885e158&gt;</span></span>
718+
<span id="cb6-20"><a href="#cb6-20" tabindex="-1"></a><span class="co">#&gt; &lt;bytecode: 0x7faeda3ba7c0&gt;</span></span>
718719
<span id="cb6-21"><a href="#cb6-21" tabindex="-1"></a><span class="co">#&gt; &lt;environment: namespace:rbmi&gt;</span></span></code></pre></div>
719720
<p>To further illustrate this for a simple example, assume that a new strategy is to be implemented as follows:
720721
- The marginal mean of the imputation distribution is equal to the marginal mean trajectory for the subject according to their assigned group and covariates up to the ICE.

0 commit comments

Comments
 (0)