From 2f12bef57094a93657d4327b5aad9626ff61cfd6 Mon Sep 17 00:00:00 2001 From: Stephane Bachelier Date: Wed, 14 Nov 2018 18:25:53 +0100 Subject: [PATCH] fix: update path to run ex.js --- example/ex.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/ex.js b/example/ex.js index cffb2f3..7d82c6e 100755 --- a/example/ex.js +++ b/example/ex.js @@ -1,5 +1,5 @@ #!/usr/bin/env node -var R = require("r-script"); +var R = require(".."); // sync var out = R("example/ex-sync.R") @@ -16,4 +16,4 @@ R("example/ex-async.R") .call(function(err, d) { if (err) throw err; console.log(d); - }); \ No newline at end of file + });