Skip to content

Fixes for deprecated Matrix calls and for forthcoming Matrix 1.4-2#2182

Merged
kbenoit merged 10 commits into
masterfrom
Matrix_1.4-2
Aug 28, 2022
Merged

Fixes for deprecated Matrix calls and for forthcoming Matrix 1.4-2#2182
kbenoit merged 10 commits into
masterfrom
Matrix_1.4-2

Conversation

@kbenoit
Copy link
Copy Markdown
Collaborator

@kbenoit kbenoit commented Aug 26, 2022

  • fixes deprecated as() calls (mostly as(., "dgCMatrix") which we'd used a lot)
  • turns on errors for using deprecated versions using options(Matrix.warnDeprecatedCoerce = 2) in testthat.R
  • works for forthcoming Matrix 1.4.2 release (tested from r-forge installation)

@kbenoit kbenoit requested a review from koheiw August 26, 2022 08:59
@kbenoit
Copy link
Copy Markdown
Collaborator Author

kbenoit commented Aug 26, 2022

Tests above are failing but it does pass cleanly with Matrix 1.4-2. I need to test more with current CRAN release of Matrix too.

Comment thread R/fcm.R Outdated
Comment thread R/object-builder.R
Comment thread R/dfm-methods.R
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 27, 2022

Codecov Report

Merging #2182 (4cc347b) into master (9a06c2b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2182   +/-   ##
=======================================
  Coverage   96.43%   96.43%           
=======================================
  Files          87       87           
  Lines        5099     5100    +1     
=======================================
+ Hits         4917     4918    +1     
  Misses        182      182           
Impacted Files Coverage Δ
R/dfm-classes.R 94.73% <ø> (ø)
R/convert.R 93.33% <100.00%> (ø)
R/dfm-methods.R 97.05% <100.00%> (ø)
R/dfm.R 99.04% <100.00%> (ø)
R/dfm_group.R 98.46% <100.00%> (ø)
R/dfm_weight.R 95.68% <100.00%> (ø)
R/fcm-methods.R 91.89% <100.00%> (-0.42%) ⬇️
R/fcm.R 100.00% <100.00%> (ø)
R/object-builder.R 91.91% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Comment thread R/dfm.R Outdated
Kenneth Benoit added 4 commits August 28, 2022 10:35
Did this since it seems to fail in the PR checks build, and since I have a local check for this anyway (on my local machine).
Comment thread R/dfm-methods.R Outdated
Comment thread R/fcm-methods.R Outdated
Comment thread R/fcm.R Outdated
Comment thread R/fcm.R Outdated
Comment thread R/object-builder.R Outdated
Comment thread tests/testthat.R Outdated
Copy link
Copy Markdown
Collaborator

@koheiw koheiw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thank you for your work.

@kbenoit kbenoit merged commit d74c253 into master Aug 28, 2022
@kbenoit kbenoit deleted the Matrix_1.4-2 branch August 28, 2022 21:49
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