-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Sorry @s3alfisc that this has taken a while, but here would be my minor TODO tasks to finalise your standards compliance:
You've documented the following with srrstats tags, but these should all be moved to srrstatsNA:
- G2.6
- G2.7
- G2.10
- G2.11
- G2.12
- G2.14
- RE1.1
- RE1.4
- RE6.1 - because your
plotmethod is a generic, and that standard only applies to packages without generic plot methods. - RE6.2
- RE6.3
You've also still got one srrstatsTODO.
You currently comply wih 126 / 175 standards; that will reduce to 115, which is still 65% compliance.
It's okay to have some general responses within the srr-stats-standards.R file. In your case, these would include:
- G3.0
- G3.1
- G3.1a
- G5.2a
- RE1.4
Please just update the wording of those to general statements of compliance.
The following statements in srr-stats-standards.R suggest places where they might better be moved to:
- RE1.4 - to vignette, but maybe also left repeated in
srr-stats-standards.R - RE4.17 - to
methods.R, which you've already done, so can be removed fromsrr-stats-standards.R.
Additional comments:
#' @srrstats {RE5.0} *Scaling relationships between sizes of input data
#' (numbers of observations, with potential extension to numbers of
#' variables/columns) and speed of algorithm.* I don't really understand
#' this requirement.In your case, it would mean adding some kind of documentation or test to show how, for example, times taken for the boottest() function scale with increasing numbers of rows of input data. Your examples use the voters data which has 300 rows. How does execution time increase for 3,000 rows? For 30,000 rows? Compliance here can be as simple as a statement that scaling is exponential (ideally with an estimate of coefficient). In that case, such a statement should be clearly given in the main function documentation. Or you can have some kind of a test that expects supra-linear scaling, or ... how you comply is up to you, but there should be some form of compliance here.
Hope that helps!