Closed adrian-lison closed 10 months ago
Thank you!
It seems like the checks are failing because I don't have the master
branch in my fork? What do I have to do?
@adrian-lison I don't actually think it's an issue with your fork, I think it's an issue with our GitHub actions workflow. We have:
but apparently we shouldn't be using master there according to https://github.com/r-lib/actions/issues/639#issuecomment-1284611135
@andrjohns Have you seen this error before? Should I just update the workflow file to use @v2
instead of @master
as recommended in https://github.com/r-lib/actions/issues/639#issuecomment-1284611135?
I already have a similar fix on the branch we have been using for 2.21 releases ( https://github.com/stan-dev/rstan/commit/09c923edd21545728bb43f012f84b65baa42d34b ) that the Matrix package maintainers recommended to me when 1.5 was on the way to being released. I'll have to cherry-pick some of the commits on that branch, but I'll wait to make sure extract_sparse_parts
works before I close this PR. Thanks though @adrian-lison .
We got this fixed in https://github.com/stan-dev/rstan/pull/1086 . Thanks again.
Summary:
When running extract_sparse_parts with a binary matrix (only zeros and once), a deprecation warning is issued.
as(<lgCMatrix>, "dgCMatrix")
is deprecated since Matrix 1.5-0; it is now recommended to useas(., "dMatrix")
insteadIntended Effect:
No deprecation warning thrown anymore.
How to Verify:
Side Effects:
None
Documentation:
No update needed
Reviewer Suggestions:
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Adrian Lison
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: