Skip to contents

Check that all standards are present in code, and listed either as '@srrstats' or '@srrstatsNA'

Usage

srr_stats_pre_submit(path = ".", quiet = FALSE)

Arguments

path

Path to local repository to check

quiet

If 'FALSE', display information on status of package on screen.

Value

(Invisibly) List of any standards missing from code

Examples

d <- srr_stats_pkg_skeleton ()
# The skeleton has 'TODO' standards, and also has only a few from the full
# list expected for the categories specified there.
srr_stats_pre_submit (d)
#> ! This package still has TODO standards and can not be submitted
#> ! Package can not be submitted because the following standards [v0.2.0] are missing from your code:
#> 1. G1.0
#> 2. G1.4
#> 3. G1.4a
#> 4. G1.5
#> 5. G1.6
#> 6. G2.0a
#> 7. G2.1a
#> 8. G2.2
#> 9. G2.3a
#> 10. G2.3b
#> 11. G2.4
#> 12. G2.4a
#> 13. G2.4b
#> 14. G2.4c
#> 15. G2.4d
#> 16. G2.4e
#> 17. G2.5
#> 18. G2.6
#> 19. G2.7
#> 20. G2.8
#> 21. G2.9
#> 22. G2.10
#> 23. G2.11
#> 24. G2.12
#> 25. G2.13
#> 26. G2.14
#> 27. G2.14a
#> 28. G2.14b
#> 29. G2.14c
#> 30. G2.15
#> 31. G2.16
#> 32. G3.0
#> 33. G3.1
#> 34. G3.1a
#> 35. G4.0
#> 36. G5.0
#> 37. G5.1
#> 38. G5.2
#> 39. G5.2a
#> 40. G5.2b
#> 41. G5.3
#> 42. G5.4
#> 43. G5.4a
#> 44. G5.4b
#> 45. G5.4c
#> 46. G5.5
#> 47. G5.6
#> 48. G5.6a
#> 49. G5.6b
#> 50. G5.7
#> 51. G5.8
#> 52. G5.8a
#> 53. G5.8b
#> 54. G5.8c
#> 55. G5.8d
#> 56. G5.9
#> 57. G5.9a
#> 58. G5.9b
#> 59. G5.10
#> 60. G5.11
#> 61. G5.11a
#> 62. G5.12
#> 63. RE1.0
#> 64. RE1.2
#> 65. RE1.3
#> 66. RE1.3a
#> 67. RE1.4
#> 68. RE2.0
#> 69. RE2.1
#> 70. RE2.3
#> 71. RE2.4
#> 72. RE2.4a
#> 73. RE2.4b
#> 74. RE3.0
#> 75. RE3.1
#> 76. RE3.2
#> 77. RE4.0
#> 78. RE4.1
#> 79. RE4.2
#> 80. RE4.3
#> 81. RE4.5
#> 82. RE4.6
#> 83. RE4.7
#> 84. RE4.8
#> 85. RE4.9
#> 86. RE4.10
#> 87. RE4.11
#> 88. RE4.12
#> 89. RE4.13
#> 90. RE4.14
#> 91. RE4.15
#> 92. RE4.16
#> 93. RE4.17
#> 94. RE4.18
#> 95. RE5.0
#> 96. RE6.0
#> 97. RE6.1
#> 98. RE6.2
#> 99. RE6.3
#> 100. RE7.0
#> 101. RE7.0a
#> 102. RE7.1
#> 103. RE7.1a
#> 104. RE7.2
#> 105. RE7.3
#> 106. RE7.4
#> ! Standards should be documented in most package files, yet are mostly only documented in one file.