ropensci / nlrx

nlrx NetLogo R
https://docs.ropensci.org/nlrx
GNU General Public License v3.0
77 stars 12 forks source link

"cannot stat '~/.../netlogo-headless.sh'" [tilde ≠ home] #62

Closed ereineke closed 2 years ago

ereineke commented 2 years ago

I installed NetLogo under ~/netlogofolder and set nlpath = "~/netlogofolder"

Trying to run nlrx::run_nl_all(nl) I got the following error message: cp: cannot stat '~/netlogofolder/netlogo-headless.sh': No such file or directory

Fix: Set nlpath = "/home/username/netlogofolder" It's not possible to indicate your home directory using ~. The same applies to modelpath.

[Using Ubuntu 20.04.4]

nldoc commented 2 years ago

Closed, Fix already provided. Additionally, a fix will be implemented with https://github.com/ropensci/nlrx/pull/72 to expand tilde automatically on creation of the nl class object