jonmcalder / refactor

:bookmark: Better factor handling for R
https://jonmcalder.github.io/refactor/
MIT License
3 stars 0 forks source link

Ifelse append #22

Closed lorenzwalthert closed 7 years ago

lorenzwalthert commented 7 years ago

add two functions append and ifelse to the package. Internally, they call base::ifelse and base::append without further processing if input is not a factor, otherwise, they adapt to the class factor.

codecov-io commented 7 years ago

Current coverage is 98.95% (diff: 100%)

Merging #22 into devel will increase coverage by 0.10%

@@              devel        #22   diff @@
==========================================
  Files             6          8     +2   
  Lines           348        383    +35   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            344        379    +35   
  Misses            4          4          
  Partials          0          0          

Powered by Codecov. Last update cb6c116...2bc0ead