R package illustrating some issues between covr package and S4 classes
I encouter an problem when defining a validity method which includes an if condition comparing two functions with identical. More precisely, I have class A and B. Class A has a validity function as described above and B has one slot of type A. I then call the validity function of A, in the vailidity function of B, and this seems to create a conflict of environments. As a result, the covr package output says that the line has not been tested, although this validity function is tested. This even creates conflict as the constructor level, as illustred in the test file.
-
Notifications
You must be signed in to change notification settings - Fork 0
chmad/TestCoverage
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
R package illustrating some issues between covr package and S4 classes
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published