dleutnant / swmmr

R Interface for US EPA's SWMM
https://cran.r-project.org/package=swmmr
39 stars 15 forks source link

SWMM executable not found #116

Open LFceolin opened 1 year ago

LFceolin commented 1 year ago

Hi! I'm trying to install 'swmmr' package, but it can't find the SWMM executable, although I have installed SWMM before installing 'swmmr'. There is a way so I can inform the package the path of SWMM executable?

hsonne commented 10 months ago

Hi @LFceolin,

you can set the path to the SWMM executable in the exec argument of the run_swmm() function. If this argument ist not used, the function uses the path that is stored in option swmmr.exec. You may set this option with: options(swmmr.exec = "/path/to/your/swmm/executable") and request the value of this option with: getOption("swmmr.exec")