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

non-character-allNA done directly rather than tricking BODY #3923

Merged
merged 3 commits into from
Sep 30, 2019

Conversation

mattdowle
Copy link
Member

Follow up to #3909
On balance I figured it was clearer to do the two cases directly (hopping via 'where' or not) to assign the NA_STRING rather than tricking the BODY macro.
Plus some formatting.

@mattdowle mattdowle added this to the 1.12.4 milestone Sep 30, 2019
src/assign.c Show resolved Hide resolved
src/assign.c Show resolved Hide resolved
…BODY approach in this PR, and dogroups zero-copy-coerce enabled to reach this test
@codecov
Copy link

codecov bot commented Sep 30, 2019

Codecov Report

Merging #3923 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #3923      +/-   ##
=========================================
- Coverage    99.4%   99.4%   -0.01%     
=========================================
  Files          72      72              
  Lines       13552   13547       -5     
=========================================
- Hits        13471   13466       -5     
  Misses         81      81
Impacted Files Coverage Δ
src/rbindlist.c 100% <100%> (ø) ⬆️
src/assign.c 100% <100%> (ø) ⬆️
src/dogroups.c 96.84% <100%> (-0.13%) ⬇️

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 2bbaf17...40b50e5. Read the comment docs.

@mattdowle mattdowle merged commit f4e2b27 into master Sep 30, 2019
@mattdowle mattdowle deleted the coerce_tidy branch September 30, 2019 08:06
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.

None yet

2 participants