diff --git a/vignettes/workedExample.Rmd b/vignettes/workedExample.Rmd index 376ab3e..c14c29f 100644 --- a/vignettes/workedExample.Rmd +++ b/vignettes/workedExample.Rmd @@ -124,9 +124,9 @@ indexPPR::plot_mtl_index(MTL,epu) ``` ```{r includeplots1, eval = T, echo = F, out.width='50%'} -path <- system.file("extdata",package = "indexPPR") -knitr::include_graphics(paste0(path,"/PPR-GOM-0.80.png")) -knitr::include_graphics(paste0(path,"/MTL-GOM-0.80.png")) +path <- here::here("vignettes","figures") +knitr::include_graphics(paste0(path,"/PPR-GOM-0_80.png")) +knitr::include_graphics(paste0(path,"/MTL-GOM-0_80.png")) knitr::include_graphics(paste0(path,"/PP-GOM.png")) ``` @@ -162,7 +162,7 @@ plot(speciesComp$plotObj) ```{r plotspeciescomp, echo = F, eval = T, out.width='80%'} -knitr::include_graphics(paste0(path,"/composition-GOM-0.80.png")) +knitr::include_graphics(paste0(path,"/composition-GOM-0_80.png")) ```