-
Notifications
You must be signed in to change notification settings - Fork 39
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
markovchain accepts sparse transition matrix #223
Conversation
@reikoch thank you really very much for your contribution. I will check it in deatils in the next days |
@reikoch hello. May you support me in fixing R-CMD-check on ubuntu? |
Certo Giorgio! Ubuntu 22.04.5, with gcc 11.4.0, seems to have a problem with R-develop of 2024-10-01 r87205 - but only this very combination. R CMD check bails out when trying to install markovchain 0.10.0.9006, the error is detailed in
Right now I have no access to amd64 architecture computers. Using docker on my M2 Mac the package just checks fine for R-develop r87206 on Debian trixie with gcc 14.2.0. Should we just wait for an upgrade of the ubuntu github runner? Best regards |
It seem not to be caused by c++. After some rearranging function declarations out of helper.h it is still only ubuntu on r-devel that fails - with a different symbol undefined:
Can it be that the github runner hits some limits, memory for instance? |
@reikoch thank you very much for your efforts. I am going to merge the request tomorrow, but I would also like to ask you to add your name within the contributors. Also, might it be worthly to add a couple of sentence within the vignette to explain the functionalities you have added? |
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
…on matrix of class Matrix
It was just a little thing to open creation of markovchain objects for transistion matrices of class Matrix. I made a short reference in the main vignette and added myself to the contributors. Hope it is all fine! |
@reikoch I merged the pull request and sent the file to be checked on wilbuilder. hope this works. Thanks a lot for your efforts. |
Instead of a matrix from base R also matrices from package Matrix are now accepted for initialisation and coercion. A simple test has been added to the package.
As an aside - I took the liberty to fix the error message about non-square transition matrices. This should fix issue #222