mhtess / rwebppl

RWebPPL, an R interface to Webppl http://webppl.org
22 stars 7 forks source link

error: '"test"' not found #63

Closed utkuturk closed 5 years ago

utkuturk commented 5 years ago

When I tried to install it I had an error and could not figure out what to do. my R version is 3.6, my node version is 10.16.0, and my npm version is 6.9.0. I use windows 10 pro education version 1903. Here is my error and the prior lines:

devtools::install_github("mhtess/rwebppl")
Downloading GitHub repo mhtess/rwebppl@master
√  checking for file 'C:\Users\utkut\AppData\Local\Temp\RtmpwBFD0v\remotes2994138616bf\mhtess-rwebppl-dddcf4a/DESCRIPTION' (371ms)
-  preparing 'rwebppl':
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  building 'rwebppl_0.1.997.tar.gz'

Installing package into ‘C:/Users/utkut/OneDrive/Belgeler/R/win-library/3.6’
(as ‘lib’ is unspecified)
* installing *source* package 'rwebppl' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'rwebppl'
    finding HTML links ... done
    get_samples                             html  
    get_webppl_version                      html  
    install_webppl                          html  
    install_webppl_package                  html  
    kill_webppl                             html  
    run_webppl                              html  
    uninstall_webppl_package                html  
    webppl                                  html  
** building package indices
** testing if installed package can be loaded from temporary location
*** arch - i386
Error: package or namespace load failed for 'rwebppl':
 .onLoad failed in loadNamespace() for 'rwebppl', details:
  call: system2("test", args = args, stdout = T)
  error: '"test"' not found
Error: loading failed
Execution halted
*** arch - x64
Error: package or namespace load failed for 'rwebppl':
 .onLoad failed in loadNamespace() for 'rwebppl', details:
  call: system2("test", args = args, stdout = T)
  error: '"test"' not found
Error: loading failed
Execution halted
ERROR: loading failed for 'i386', 'x64'
* removing 'C:/Users/utkut/OneDrive/Belgeler/R/win-library/3.6/rwebppl'
Error: Failed to install 'rwebppl' from GitHub:
  (converted from warning) installation of package ‘C:/Users/utkut/AppData/Local/Temp/RtmpwBFD0v/file29942b965d0d/rwebppl_0.1.997.tar.gz’ had non-zero exit status
mhtess commented 5 years ago

Hi there, Thanks for your interest in RWebPPL. As the README.md says, Windows is currently not supported. There is no major technical issue why Windows shouldn't be supported; I just haven't gotten around to learning windows file system-ing. If you would like to take a stab at it, I would more than welcome a pull request on this. Also happy to provide consultation on the basic architecture employed here. Thanks, MH