Skip to content

Conversation

@FBartos
Copy link
Collaborator

@FBartos FBartos commented Oct 3, 2025

No description provided.

@FBartos FBartos requested a review from vandenman October 3, 2025 17:01
@FBartos
Copy link
Collaborator Author

FBartos commented Oct 5, 2025

@vandenman There is an issue with installing JAGS on MacOS and some other conflict on linux. Could you please take a look?

@vandenman
Copy link
Contributor

The macos issue I'll have to look at more closely. I'll probably do that on jaspJags first because it's easier to debug there (fewer dependencies).

However, a bigger issue is pema, see https://cran.r-project.org/web/packages/pema/index.html

It's removed from cran, thus pak fails to install it (error in a vignette). This will likely also become a problem on windows and macos next time we run the tests there.

@FBartos Do you know the authors of pema? Here is their github repo (I think). It looks relatively active, so it would be nice if they could just put their package back on cran rather than that we try to look for workarounds.

@FBartos
Copy link
Collaborator Author

FBartos commented Oct 6, 2025

oh, I see, I will check in with Caspar...

@FBartos
Copy link
Collaborator Author

FBartos commented Oct 19, 2025

okay, the issue is only macOS's JAGS instalation now

@vandenman
Copy link
Contributor

I fixed this for rjags (jaspJags now works, see e.g., https://github.com/jasp-stats/jaspJags/actions/runs/18585550844/job/52988593950?pr=178) but this error:

This analysis terminated unexpectedly.   
Error: .onLoad failed in loadNamespace() for 'RoBMA', details:   
call: dyn.load(file)   error: unable to load shared object '/Users/runner/Library/Caches/org.R-project.R/R/renv/library/jaspMetaAnalysis-e31dc609/macos/R-4.5/aarch64-apple-darwin20/RoBMA/libs/RoBMA.so':   
dlopen(/Users/runner/Library/Caches/org.R-project.R/R/renv/library/jaspMetaAnalysis-e31dc609/macos/R-4.5/aarch64-apple-darwin20/RoBMA/libs/RoBMA.so, 0x0006): 
Library not loaded: 
/usr/local/lib/libjrmath.0.dylib   
Referenced from: <A1F88493-B878-3B37-A70F-872BB7239F91> /Users/runner/work/_temp/renv/cache/v5/macos/R-4.5/aarch64-apple-darwin20/RoBMA/3.6.0/679e822e4e589d9189f3b504f46e52b3/RoBMA/libs/RoBMA.so   
Reason: tried: '/usr/local/lib/libjrmath.0.dylib' (no such file), 
'/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libjrmath.0.dylib' (no such file), 
'/usr/local/lib/libjrmath.0.dylib' (no such file), 
'/Library/Frameworks/R.framework/Resources/lib/libjrmath.0.dylib' (no such file), 
'/Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0/arm64/Contents/Home//lib/server/libjrmath.0.dylib' (no such f

is new to me. It's a very similar to the error rjags had though, likely something to do with github actions using macos arm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants