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

PREPERROR: package Matrix non-zero exit status on Debian Linux, R-devel, GCC ASAN/UBSAN #580

Closed
emmekeaarts opened this issue Mar 30, 2024 · 2 comments

Comments

@emmekeaarts
Copy link

Hi,

Doing a package check using devtools;:check_rhub() on Debian Linux, R-devel, GCC ASAN/UBSAN, it fails because the package Matrix (and all other packages that depend on Matrix, such as MCMCpack) has a non-zero exit status:

#> ERROR: dependency ‘MCMCpack’ is not available for package ‘mHMMbayes’

In addition: Warning messages:
1: In i.p(...) : installation of package ‘Matrix’ had non-zero exit status
2: In i.p(...) :
installation of package ‘MatrixModels’ had non-zero exit status
3: In i.p(...) :
installation of package ‘survival’ had non-zero exit status
4: In i.p(...) :
installation of package ‘quantreg’ had non-zero exit status
5: In i.p(...) :
installation of package ‘MCMCpack’ had non-zero exit status
Execution halted

Digging in further:
Creating a generic function for ‘chol2inv’ from package ‘base’ in package ‘Matrix’
2923#> Creating a generic function for ‘diag’ from package ‘base’ in package ‘Matrix’
2924#> Creating a generic function for ‘zapsmall’ from package ‘base’ in package ‘Matrix’
2925#> Error in rematchDefinition(definition, fdef, mnames, fnames, signature) :
2926#> methods can add arguments to the generic ‘zapsmall’ only if '...' is an argument to the generic
2927#> Error: unable to load R code in package ‘Matrix’

Any ideas?

See https://builder.r-hub.io/status/mHMMbayes_1.1.0.tar.gz-c8cc71f81f2444839a458251a5068caf

Thanks,
Emmeke Aarts

@gaborcsardi
Copy link
Collaborator

I suggest you try the new version of the rhub package from https://github.com/r-hub/rhub:

pak::pkg_install("r-hub/rhub")

@gaborcsardi
Copy link
Collaborator

This issue is about the previous R-hub system, it does not apply to the new system, so I am closing it now. Please see https://r-hub.github.io/rhub/ for the new system, R-hub v2.

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

No branches or pull requests

2 participants