Closed Karim-Mane closed 11 months ago
I figure out the issue with this.
I modified the constructors prototypes to comply with the expectation from {lintr} (argument order: unnamed arguments first before the named arguement).
I have restored the previous prototype and add in # nolint: function_integer_linter
on the corresponding lines.
Thanks for looking into this and solving it @Karim-Mane
Bugs may include behaviour that does not impact package functionality, but which seems as though it might not be intended by the package developers.
Please place an "x" in all the boxes that apply
Please include a brief description of the problem with a code example: In test-interventions.R, the object returned by the
intervention()
constructor is composed of 5 elements instead of 4. The extra element is an empty string (""
). This makes the test that checks if the contact intervention is correctly initialised fail.Please include a brief description of the problem with a code example: I assume that this related to the
...
argument in thenew_intervention()
constructor.