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

Everything related to the development of modules in jamovi
Post Reply
ngandhid
Posts: 5
Joined: Fri Apr 07, 2017 4:02 am

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

Post 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
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

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

Post by jonathon »

hi,

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

jonathon
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

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

Post 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!
User avatar
Ravi
Posts: 194
Joined: Sat Jan 28, 2017 11:18 am

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

Post by Ravi »

Moved to "Module development" forum
Post Reply