BenioffOceanInitiative / bbnj

R package for assessing marine biodiversity beyond national jurisdiction (BBNJ)
https://BenioffOceanInitiative.github.io/bbnj
4 stars 0 forks source link

error when trying to run scenario #8

Closed mvisalli closed 5 years ago

mvisalli commented 5 years ago

I think something is up with my working directory, when I run: https://github.com/ecoquants/bbnj/blob/bc0fdde55517317a194634adb8f9c213d41b70aa/inst/app/www/scenarios/s00a.bio.30pct.gl.gcs0.5d.Rmd#L29-L31

I receive the error:

Error in dirname(path[!is_missing]) : a character vector argument expected

Tried a few things but no luck yet. Any ideas @bbest ?

mvisalli commented 5 years ago

Nevermind, I realized that

https://github.com/ecoquants/bbnj/blob/bc0fdde55517317a194634adb8f9c213d41b70aa/inst/app/www/scenarios/s00a.bio.30pct.gl.gcs0.5d.Rmd#L29-L31

will only work when I knit the document. However now having issue where scenario map doesn't render in html output. Sorry if I'm jumping the gun here!

bbest commented 5 years ago

Hi @mvisalli,

The rendering should work again (and now in 300 dpi) after reinstalling. I moved things around a bit in the latest scenario s00a.bio.30pct.gl.mol50km.Rmd