bluegreen-labs / snotelr

a snow data network (SNOTEL) R package
https://bluegreen-labs.github.io/snotelr/
GNU Affero General Public License v3.0
15 stars 10 forks source link

GUI launch failure from spaces in library path name #3

Closed MNewcomer closed 5 years ago

MNewcomer commented 7 years ago

Hi there. Thank you for your work developing this package. It will be very helpful for my research. I have a similar issue to the previous user: failure of the GUI, except this time I think it has to do with the install path for the library.

[1] "no metadata cached, downloading metadata" 'C:/Users/Mic' is not recognized as an internal or external command, operable program or batch file. Warning: running command 'C:\Windows\system32\cmd.exe /c C:/Users/Mic Newc/Documents/R/win-library/3.1/snotelr/phantomjs/phantomjs.exe scrape.js > scrape.html' had status 1 Warning in shell(sprintf("%sphantomjs.exe scrape.js > scrape.html", phantomjs_path)) : 'C:/Users/Mic Newc/Documents/R/win-library/3.1/snotelr/phantomjs/phantomjs.exe scrape.js > scrape.html' execution failed with error code 1 Warning: Error in strsplit: non-character argument Stack trace (innermost first): 42: strsplit 41: lapply 40: tolower 39: snotel.info 2: shiny::runApp 1: snotel.explorer Error in strsplit(df$site_name, "\(") : non-character argument

Do you have any suggestions?

khufkens commented 5 years ago

Sorry for the very slow reply, but this should have been cleaned up in the mean time. This seems windows specific, and I can't test this myself. So let me know if it persists.