Skip to contents

downloads SWMM executable from USEPA`s GitHub repo of https://github.com/USEPA/Stormwater-Management-Model/releases

Usage

download_swmm_executable(tdir = tempdir(), swmm_version = "5.2.0")

Arguments

tdir

target directory for unzipping zip files

swmm_version

desired SWMM version, one of: "5.2.0", "5.1.15", "5.1.14", "5.1.13" (default: "5.2.0")

Value

path to download "runswmm.exe"

Examples

download_swmm_executable()
#> Downloading and extracting SWMM folder to 'C:\Users\RUNNER~1\AppData\Local\Temp\RtmpAdl5hH' ... ok. (0.67 secs) 
#> [1] "C:/Users/RUNNER~1/AppData/Local/Temp/RtmpAdl5hH/swmm-solver-5.2.0-win64/bin/runswmm.exe"