Closed jameslamb closed 5 years ago
I'm glad that you find R6 useful, and thanks for contributing! Regarding this pull request, I think that for those particular functions, there's no need for tests since they are so simple. Adding tests for them results in more code but not much benefit. If you'd like to tackle open issues with R6, #173 should be a pretty straightforward one.
Thank you for this awesome project! I use
R6
every day and it's made me a much more productive R programmer.To thank you, I thought I'd come in and look for easy tests to write that could cover some currently-uncovered lines in the codebase. I hope you'll consider this PR to add minimal unit tests on
as.list()
,is.R6()
, andis.R6Class()
.I found these uncovered lines with this nifty thing my friends and I user in our projects: