Install function not working

Everything related to the development of modules in jamovi
Post Reply
Endomorphin
Posts: 3
Joined: Tue Sep 28, 2021 9:23 am

Install function not working

Post by Endomorphin »

Hi everyone, I'm new to building modules for Jamovi and I currently am in a dead-end... Following the tutorial, I can create the 'SuperAwesome' module (although there's a "build" module with some javascript inside that's not yet mentioned in the tutorial). But when I try to install the module in Jamovi, with the jmvtools::install() function there's an error.

Here is the console error:

Code: Select all

> jmvtools::install()

jamovi compiler

jamovi 1.6.23 found at /Applications/jamovi.app
wrote: ttest.h.R
wrote: ttest.u.yaml
wrote: ttest.src.js
wrote: ttest.js
writing module meta
wrote: 0000.yaml
wrote: jamovi.yaml
wrote: jamovi-full.yaml
dyld: Library not loaded: @executable_path/../Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
  Referenced from: /Applications/jamovi.app/Contents/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib
  Reason: image not found
/Applications/jamovi.app/Contents/Frameworks/R.framework/Versions/Current/Resources/bin/INSTALL: line 34: 20624 Done                    echo 'tools:::.install_packages()'
     20625 Abort trap: 6           | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --no-echo --args ${args}

Could not build module

I am using R=4.1.1, Jamovi=1.6.23, jmvcore=1.8 and jmvtools=2.0
Endomorphin
Posts: 3
Joined: Tue Sep 28, 2021 9:23 am

Re: Install function not working

Post by Endomorphin »

Oh, and I am on MacOs Big Sur (=11.5.2)
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Install function not working

Post by jonathon »

hi,

take a look at this note here:

https://dev.jamovi.org/#28-02-2020

cheers

jonathon
Endomorphin
Posts: 3
Joined: Tue Sep 28, 2021 9:23 am

Re: Install function not working

Post by Endomorphin »

Hi,

It works, thanks a lot !!

Sincerely,

Endomorphin
Post Reply