Skip to content

Commit e75ca37

Browse files
committed
Do not run any of the vignette if nas found in bb
1 parent 82fd735 commit e75ca37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vignettes/stplanr.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ Now the data is set-up, we can change the visual appearance of the desire lines
158158
l_bb <- sf::st_bbox(l)
159159
# l_bb[1] <- NA
160160
no_na_in_bb <- !any(is.na(as.numeric(l_bb)))
161+
knitr::opts_chunk$set(eval = no_na_in_bb)
161162
```
162163

163-
164-
```{r, eval=no_na_in_bb}
164+
```{r}
165165
lwd <- l$All / mean(l$All)
166166
plot(st_geometry(l), lwd = lwd)
167167
```

0 commit comments

Comments
 (0)