dleutnant / swmmr

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

How was previous issue fixed on "Cannot use duplicate file names" ? #78

Closed envaidya closed 1 year ago

envaidya commented 1 year ago

Hey, I am looking for your little suggestion. How was the previous issue on #58 and #59 resolved? My problem is simulation from EPA 5.1.015 from GUI runs successfully but from runswmm command it shows the error "Cannot use duplicate file name_", "In normalizePath(path.expand(path), winslash, musk work):...; The system cannot find the file specified"

Previous suggestions seems like installing swmmr library from github and not from CRAN. I did exactly the same. I am giving directory to .inp, .out, .rpt all inside "ext data" folder under R4.2.1. Although I only have C: in my laptop, I have full access to the my user account. It do not seem to resolve. Have anyone found work around to this issue? The issue was closed earlier so I wonder what was the right solution. Thanks for your helpful feedback.

hsonne commented 1 year ago

Hi, @envaidya, @dleutnant asked me to help him maintain this package. Since the last weeks I worked a lot on the code. I already tried to improve the error reporting. I do all changes on the dev branch of this repository. Would you like to install the package from there:

remotes::install_github("dleutnant/swmmr@dev")

and check the error messages that you receive when you try to reproduce what you were reporting about here?

envaidya commented 1 year ago

Thank you very much for your suggestion. It indeed helps.