Important fixes towards portable R package

* Tests fix

* Demo fix

* Installation issues descriptions

* Added dependency