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

Internal class aware coerceAs. Already used in nafill and froll #4491

Merged
merged 37 commits into from
Mar 8, 2021

Conversation

jangorecki
Copy link
Member

@jangorecki jangorecki commented May 25, 2020

closes:

@codecov
Copy link

codecov bot commented May 25, 2020

Codecov Report

Merging #4491 (909add0) into master (3fa8b20) will decrease coverage by 0.06%.
The diff coverage is 93.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4491      +/-   ##
==========================================
- Coverage   99.46%   99.40%   -0.07%     
==========================================
  Files          73       73              
  Lines       14414    14417       +3     
==========================================
- Hits        14337    14331       -6     
- Misses         77       86       +9     
Impacted Files Coverage Δ
R/shift.R 100.00% <ø> (ø)
src/utils.c 94.77% <80.43%> (-3.59%) ⬇️
R/data.table.R 99.94% <100.00%> (+<0.01%) ⬆️
R/wrappers.R 100.00% <100.00%> (ø)
src/assign.c 99.70% <100.00%> (-0.01%) ⬇️
src/frollR.c 99.48% <100.00%> (-0.05%) ⬇️
src/init.c 100.00% <100.00%> (ø)
src/nafill.c 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3fa8b20...909add0. Read the comment docs.

src/fifelse.c Outdated Show resolved Hide resolved
src/utils.c Outdated Show resolved Hide resolved
@jangorecki jangorecki mentioned this pull request May 26, 2020
@jangorecki jangorecki linked an issue May 27, 2020 that may be closed by this pull request
@jangorecki
Copy link
Member Author

Yes, coerceAs is used to coerce fill argument to nafill and froll. Additionally it is used in froll to coerce x input to double.

@mattdowle
Copy link
Member

Have seen the missed coverage in new coerceAs. Sounds like future PRs will address that.

@mattdowle mattdowle merged commit 85adf09 into master Mar 8, 2021
@mattdowle mattdowle deleted the coerceAs branch March 8, 2021 00:11
@tdhock tdhock restored the coerceAs branch July 27, 2022 18:55
@mattdowle mattdowle deleted the coerceAs branch October 14, 2022 19:23
@tdhock tdhock restored the coerceAs branch September 12, 2023 17:55
@jangorecki jangorecki modified the milestones: 1.14.9, 1.15.0 Oct 29, 2023
Anirban166 added a commit to Anirban166/data.table that referenced this pull request Mar 19, 2024
Anirban166 added a commit to Anirban166/data.table that referenced this pull request Apr 6, 2024
GitHub Action + atime test to observe the performance regression introduced by PR Rdatatable#4491 and fixed by PR Rdatatable#5463
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants