mhtess / rwebppl

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

Install dependencies automatically when wppl package requires them #3

Closed mhtess closed 8 years ago

mhtess commented 8 years ago

If you have a webppl package that relies on npm packages, those npm packages probably will not be installed in the webppl version that comes with rwebppl (even though users may have a different version of webppl where they are installed). This will currently throw an error and the user will have to run npm install inside the webppl package folder. It would be better if rwebppl detected this failure and automatically installed the npm package.