Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to Bayes function doc JAGS dependency #54

Open
egouldo opened this issue Jan 31, 2024 · 1 comment
Open

Add to Bayes function doc JAGS dependency #54

egouldo opened this issue Jan 31, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@egouldo
Copy link
Member

egouldo commented Jan 31, 2024

Ensure that JAGS dependency for Bayesian functions is documented in the function man for the Bayes agg methods.

@egouldo egouldo added the documentation Improvements or additions to documentation label Jan 31, 2024
@egouldo egouldo added this to the manuscript draft milestone Jan 31, 2024
@egouldo egouldo self-assigned this Jan 31, 2024
@egouldo
Copy link
Member Author

egouldo commented Jan 31, 2024

Note that some users might have a problem when loading the rjags library if they installed jags using homebrew, macports or other installer and the install location is somewhere other than the default. Messages such as as the following may appear:

library(rjags)
Error : .onLoad failed in loadNamespace() for 'rjags', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object '/Users/casallas/Library/R/3.0/library/rjags/libs/rjags.so':
  dlopen(/Users/casallas/Library/R/3.0/library/rjags/libs/rjags.so, 10): Library not loaded: /usr/local/lib/libjags.3.dylib
  Referenced from: /Users/casallas/Library/R/3.0/library/rjags/libs/rjags.so
  Reason: image not found
Error: package or namespace load failed forrjags

One workaround is to install rjags from source:

install.packages("rjags",type = "source")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant