Skip to content

Commit 4ad905a

Browse files
Fixes for Rv3.4 for CRAN submissions
1 parent 3ec9f6a commit 4ad905a

File tree

7 files changed

+13
-21
lines changed

7 files changed

+13
-21
lines changed

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Package: joineRML
22
Type: Package
33
Title: Joint Modelling of Multivariate Longitudinal Data and Time-to-Event
44
Outcomes
5-
Version: 0.2.0.9000
5+
Version: 0.2.1
66
Authors@R: c(
77
person("Graeme L.", "Hickey", email = "[email protected]",
88
role = c("cre", "aut")),
@@ -19,7 +19,7 @@ Authors@R: c(
1919
comment = "data/renal.rda, R/hessian.R, R/vcov.R")
2020
)
2121
Maintainer: Graeme L. Hickey <[email protected]>
22-
Date: 2017-03-29
22+
Date: 2017-04-24
2323
Description: Fits the joint model proposed by Henderson and colleagues (2000)
2424
<doi:10.1093/biostatistics/1.4.465>, but extended to the case of multiple
2525
continuous longitudinal measures. The time-to-event data is modelled using a

NAMESPACE

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
# Generated by roxygen2: do not edit by hand
22

3-
4-
if (getRversion() >= '3.3.0') {
5-
importFrom(stats,sigma)
6-
} else {
7-
importFrom(lme4,sigma)
8-
}
93
S3method(confint,mjoint)
104
S3method(fitted,mjoint)
115
S3method(fixef,mjoint)
@@ -37,5 +31,6 @@ importFrom(graphics,plot)
3731
importFrom(lme4,ranef)
3832
importFrom(nlme,fixef)
3933
importFrom(nlme,getVarCov)
34+
importFrom(stats,sigma)
4035
importFrom(utils,stack)
4136
useDynLib(joineRML, .registration = TRUE)

NEWS.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
# joineRML 0.2.0.9000 (devel version)
1+
# joineRML 0.2.1
22

33
## Bug patches
44

55
* Fixed a bug that prevented factors with >2 levels being included in the time-to-event submodel.
66

7+
* Fixed package registration, which strangely broke on R 3.4.0 for OSX platform.
8+
79
## Housekeeping
810

911
* `joineRML` version 0.2.1 will depend on R version >=3.3.0 to remedy issue with `sigma.mjoint()` S3 issue.

R/sigma.mjoint.R

+2-7
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,9 @@
1414
#' Pinheiro JC, Bates DM. \emph{Mixed-Effects Models in S and S-PLUS.} New York:
1515
#' Springer Verlag; 2000.
1616
#'
17-
#' @return a number (standard deviation) if \eqn{K=1} (univariate model), or a
17+
#' @return a number (standard deviation) if \eqn{K = 1} (univariate model), or a
1818
#' vector if \eqn{K>1} (multivariate model).
19-
#' @rawNamespace
20-
#' if (getRversion() >= '3.3.0') {
21-
#' importFrom(stats,sigma)
22-
#' } else {
23-
#' importFrom(lme4,sigma)
24-
#' }
19+
#' @importFrom stats sigma
2520
#' @export
2621
sigma.mjoint <- function(object, ...) {
2722

cran-comments.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
## Test environments
2-
* local OS X install, R 3.3.3
3-
* ubuntu 12.04 (on travis-ci), R 3.3.2 (+ devel, oldrel)
4-
* windows (on appveyor)
5-
* win-builder (devel, release)
2+
* local OS X install, R 3.4.0
3+
* ubuntu (via travis-ci)
4+
* windows (via appveyor)
5+
* win-builder (release)
66
* tested on several R-hub platforms
77

88
## R CMD check results

man/sigma.mjoint.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/joineRML_init.c src/init.c

File renamed without changes.

0 commit comments

Comments
 (0)