Skip to content

Commit 1f3caf2

Browse files
Made vignette build time quicker
1 parent 37ab6f2 commit 1f3caf2

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

CRAN-SUBMISSION

Lines changed: 0 additions & 3 deletions
This file was deleted.

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
- Wrapped a bunch of examples from being run on CRAN submission to avoid Debian system NOTE.
2222

23+
- Reduced computational time for vignettes to to avoid Debian system NOTE on CRAN submission.
24+
2325
# joineRML 0.4.6
2426

2527
## Housekeeping

cran-comments.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
## Other notes
22

33
* Addresses all NOTES from CRAN Package Check Results.
4-
* I have stopped several examples from running in order to avoid the NOTE on the Debian system. I cannot reproduce these, but am happy to wrap in `\dontrun{}` blocks.
54

65
## Test environments
76

@@ -18,8 +17,6 @@
1817

1918
Win-Builder NOTE: "checking CRAN incoming feasibility ... NOTE"
2019

21-
Debian NOTE: "Re-building vignettes had CPU time 5.5 times elapsed time" -- I cannot reproduce this. It passes every other platform. I suspect the qpdf compression tool is the cause, but that was requested by CMD tests.
22-
2320
## Reverse dependencies
2421

2522
We checked 3 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

vignettes/joineRML-tidy.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Further to that, we only select the first 50 individuals to speed up these examp
5555
hvd <- hvd[hvd$num <= 50, ]
5656
```
5757

58-
```{r hvd_model_fit}
58+
```{r hvd_model_fit, cache = TRUE}
5959
set.seed(12345)
6060
fit <- mjoint(
6161
formLongFixed = list(

vignettes/joineRML.Rmd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ hvd <- heart.valve[!is.na(heart.valve$grad) & !is.na(heart.valve$lvmi), ]
6464

6565
Strictly speaking, this is not necessary because `joineRML` can handle the situation of different measurement schedules *within* subjects That is, a subject does not need to have all multiple longitudinal outcomes recorded at each visit. It is conceivable that some biomarkers will be measured more or less frequently than others. For example, invasive measurements may only be recorded annually, whereas a simple biomarker measurement might be recorded more frequently. `joineRML` can handle this situation by specifying each longitudinal outcome its own data frame.
6666

67+
Further to that, we only select the first 50 individuals to speed up these examples:
68+
69+
```{r hvd_data_small}
70+
hvd <- hvd[hvd$num <= 50, ]
71+
```
72+
6773
## Model fitting
6874

6975
The main function in the `joineRML` package is the `mjoint()` function. Its main (required) arguments are:

0 commit comments

Comments
 (0)