"Could not build module" error following "jamovi::install()"

Everything related to the development of modules in jamovi

by tegedik » Tue Mar 31, 2020 6:58 pm


I was trying the module development tutorial on Developer's Hub. Everything seemed normal until I got the error message following `jmvtools::install()`:

Code: Select all
> jmvtools::install()

jamovi compiler

jamovi 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
dyld: Library not loaded: @executable_path/../Frameworks/R.framework/Versions/3.6/Resources/lib/libRblas.dylib
  Referenced from: /Applications/jamovi.app/Contents/Frameworks/R.framework/Versions/3.6/Resources/lib/libR.dylib
  Reason: image not found
/Applications/jamovi.app/Contents/Frameworks/R.framework/Versions/3.6/Resources/bin/INSTALL: line 34:  1687 Done                    echo 'tools:::.install_packages()'
      1688 Abort trap: 6           | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --slave --args ${args}

Could not build module

I have no idea why this happened. Both `libR.dylib` and `libRblas.dylib` are present. I would be glad if you could help.

I am running jamovi version 1.2.13 and R version 3.6.3 on macOS Catalina (10.15.3).
Posts: 3
Joined: Thu Feb 15, 2018 6:20 pm

by jonathon » Tue Mar 31, 2020 9:32 pm


great to hear you're taking a punt at module development!

this issue is described here:


that item links to the 1.2.2, but you can use the following link if you want a newer version:


if you need any help during assistance, drop us a line, and i'll send you a slack invite. you may find slack is an easier way to receive help for development.


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

by tegedik » Wed Apr 01, 2020 11:24 am

Thanks a lot, Jonathon. It works. I finished the tutorial which is quite readable. I have a rough grasp about the file structure. I might need help for multivariable analysis and complex dynamic tables. I really appreciate a slack invite.


Posts: 3
Joined: Thu Feb 15, 2018 6:20 pm

Return to Module development