Skip to content

Commit 21bd986

Browse files
committed
correct check for tmap in sids_models
1 parent 31c17c7 commit 21bd986

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: vignettes/sids_models.Rmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ nc$both <- factor(paste(nc$L_id, nc$M_id, sep=":"))
6363
```{r, echo=FALSE}
6464
is_tmap <- FALSE
6565
if (require(tmap, quietly=TRUE)) is_tmap <- TRUE
66-
is_tmap
67-
tmap4 <- packageVersion("tmap") >= "3.99"
66+
tmap4 <- FALSE
67+
if(is_tmap) tmap4 <- packageVersion("tmap") >= "3.99"
6868
```
6969

7070
We will now examine the data set reproduced from Cressie and

0 commit comments

Comments
 (0)