Skip to content

Commit

Permalink
Fixing corethreads
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Goldfeld committed Nov 23, 2023
1 parent f0fc8c5 commit 320fc30
Show file tree
Hide file tree
Showing 13 changed files with 47 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ library(testthat)
library(hedgehog)
library(simstudy)


data.table::setDTthreads(2) # added to solve CRAN issue
test_check("simstudy")
4 changes: 4 additions & 0 deletions vignettes/clustered.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ vignette: >
\usepackage[utf8]{inputenc}
---

```{r chunkname, echo=-1}
data.table::setDTthreads(2)
```

```{r, echo = FALSE, message = FALSE}
library(simstudy)
library(ggplot2)
Expand Down
3 changes: 3 additions & 0 deletions vignettes/corelationmat.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ vignette: >
\usepackage[utf8]{inputenc}
---

```{r chunkname, echo=-1}
data.table::setDTthreads(2)
```

```{r, echo = FALSE, message = FALSE}
library(simstudy)
Expand Down
4 changes: 4 additions & 0 deletions vignettes/correlated.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ vignette: >
\usepackage[utf8]{inputenc}
---

```{r chunkname, echo=-1}
data.table::setDTthreads(2)
```

```{r, echo = FALSE, message = FALSE}
library(simstudy)
library(ggplot2)
Expand Down
4 changes: 4 additions & 0 deletions vignettes/double_dot_extension.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ vignette: >
\usepackage[utf8]{inputenc}
---

```{r chunkname, echo=-1}
data.table::setDTthreads(2)
```

```{r, echo = FALSE, message = FALSE}
options(digits = 3)
Expand Down
4 changes: 4 additions & 0 deletions vignettes/logisticCoefs.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ vignette: >
\usepackage[utf8]{inputenc}
---

```{r chunkname, echo=-1}
data.table::setDTthreads(2)
```

```{r, echo = FALSE, message = FALSE}
library(simstudy)
library(ggplot2)
Expand Down
4 changes: 4 additions & 0 deletions vignettes/longitudinal.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ vignette: >
\usepackage[utf8]{inputenc}
---

```{r chunkname, echo=-1}
data.table::setDTthreads(2)
```

```{r, echo = FALSE, message = FALSE}
library(simstudy)
library(ggplot2)
Expand Down
4 changes: 4 additions & 0 deletions vignettes/missing.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ vignette: >
\usepackage[utf8]{inputenc}
---

```{r chunkname, echo=-1}
data.table::setDTthreads(2)
```

```{r, echo = FALSE, message = FALSE}
library(simstudy)
library(ggplot2)
Expand Down
4 changes: 4 additions & 0 deletions vignettes/ordinal.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ vignette: >
\usepackage[utf8]{inputenc}
---

```{r chunkname, echo=-1}
data.table::setDTthreads(2)
```

```{r, echo = FALSE, message = FALSE}
library(simstudy)
library(ggplot2)
Expand Down
4 changes: 4 additions & 0 deletions vignettes/simstudy.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ vignette: >
\usepackage[utf8]{inputenc}
---

```{r chunkname, echo=-1}
data.table::setDTthreads(2)
```

```{r, echo = FALSE, message = FALSE}
library(simstudy)
Expand Down
4 changes: 4 additions & 0 deletions vignettes/spline.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ vignette: >
\usepackage[utf8]{inputenc}
---

```{r chunkname, echo=-1}
data.table::setDTthreads(2)
```

```{r, echo = FALSE, message = FALSE}
library(simstudy)
library(ggplot2)
Expand Down
3 changes: 3 additions & 0 deletions vignettes/survival.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ vignette: >
\usepackage[utf8]{inputenc}
---

```{r chunkname, echo=-1}
data.table::setDTthreads(2)
```


```{r, echo = FALSE, message = FALSE}
Expand Down
4 changes: 4 additions & 0 deletions vignettes/treat_and_exposure.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ vignette: >
\usepackage[utf8]{inputenc}
---

```{r chunkname, echo=-1}
data.table::setDTthreads(2)
```

```{r, echo = FALSE, message=FALSE}
library(simstudy)
Expand Down

0 comments on commit 320fc30

Please sign in to comment.