Page 1 of 1

[SOLVED] NAMESPACE FILE CHANGES NOT RELOADING ON jvmtools::i

Posted: Mon Apr 24, 2017 3:39 pm
by ngandhid
Added some packages to my NAMESPACE file. but when I reinstall my package upon using jmvtools::install() getting an error saying that could not build the module.

It says that there is no package of that name exists but I have them installed and loaded in my R studio.

Tried the following to fix the issue. But nothing worked

Deleted build folder and rerun
Deleted .u yaml file and rerun


Still I am getting the error

Re: NAMESPACE FILE CHANGES NOT RELOADING ON jvmtools::instal

Posted: Tue Apr 25, 2017 12:17 am
by jonathon
hi,

have the packages been added as imports in your DESCRIPTION file?

jonathon

Re: NAMESPACE FILE CHANGES NOT RELOADING ON jvmtools::instal

Posted: Tue Apr 25, 2017 2:36 am
by jonathon
a bit more context:

the R packages in jamovi are maintained independently of the R packages on your system (i.e. what's used in RStudio).

this prevents issues to do with the user manually uninstalling packages, or installing incompatible versions, etc. with jamovi we don't want users to have deal with those issues. this approach leads to slightly more work for the developer, but less work (and confusion) for the user. which is almost "textbook economics of software": one person does a bunch of work, so that others might do less!

Re: NAMESPACE FILE CHANGES NOT RELOADING ON jvmtools::instal

Posted: Tue Apr 25, 2017 11:21 am
by Ravi
Moved to "Module development" forum