@r-universe/webr 2023.6.11 → 2023.6.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1649) hide show
  1. package/dist/R.bin.data +35733 -74
  2. package/dist/R.bin.js +1756 -0
  3. package/dist/R.bin.wasm +0 -0
  4. package/dist/esbuild.d.ts +1 -0
  5. package/dist/libRblas.so +0 -0
  6. package/dist/libRlapack.so +0 -0
  7. package/dist/repl/fstree.d.ts +57 -0
  8. package/dist/repl/repl.d.ts +1 -0
  9. package/dist/tests/packages/webr.test.d.ts +1 -0
  10. package/dist/tests/webR/console.test.d.ts +1 -0
  11. package/dist/tests/webR/proxy.test.d.ts +1 -0
  12. package/dist/tests/webR/robj.test.d.ts +1 -0
  13. package/dist/tests/webR/utils.test.d.ts +1 -0
  14. package/dist/tests/webR/webr-main.test.d.ts +1 -0
  15. package/dist/tests/webR/webr-r.test.d.ts +1 -0
  16. package/dist/tests/webR/webr-worker.test.d.ts +1 -0
  17. package/dist/vfs/usr/lib/R/doc/AUTHORS +39 -0
  18. package/dist/vfs/usr/lib/R/doc/BioC_mirrors.csv +17 -0
  19. package/dist/vfs/usr/lib/R/doc/COPYING +340 -0
  20. package/dist/vfs/usr/lib/R/doc/COPYRIGHTS +774 -0
  21. package/dist/vfs/usr/lib/R/doc/CRAN_mirrors.csv +105 -0
  22. package/dist/vfs/usr/lib/R/doc/FAQ +2653 -0
  23. package/dist/vfs/usr/lib/R/doc/KEYWORDS +87 -0
  24. package/dist/vfs/usr/lib/R/doc/KEYWORDS.db +71 -0
  25. package/dist/vfs/usr/lib/R/doc/NEWS +3538 -0
  26. package/dist/vfs/usr/lib/R/doc/NEWS.0 +2825 -0
  27. package/dist/vfs/usr/lib/R/doc/NEWS.1 +8108 -0
  28. package/dist/vfs/usr/lib/R/doc/NEWS.2 +16534 -0
  29. package/dist/vfs/usr/lib/R/doc/NEWS.2.rds +0 -0
  30. package/dist/vfs/usr/lib/R/doc/NEWS.3 +7840 -0
  31. package/dist/vfs/usr/lib/R/doc/NEWS.3.rds +0 -0
  32. package/dist/vfs/usr/lib/R/doc/NEWS.pdf +0 -0
  33. package/dist/vfs/usr/lib/R/doc/NEWS.rds +0 -0
  34. package/dist/vfs/usr/lib/R/doc/RESOURCES +44 -0
  35. package/dist/vfs/usr/lib/R/doc/THANKS +78 -0
  36. package/dist/vfs/usr/lib/R/doc/html/NEWS.2.html +9004 -0
  37. package/dist/vfs/usr/lib/R/doc/html/NEWS.3.html +11328 -0
  38. package/dist/vfs/usr/lib/R/doc/html/NEWS.html +5151 -0
  39. package/dist/vfs/usr/lib/R/doc/html/R.css +130 -0
  40. package/dist/vfs/usr/lib/R/doc/html/Rlogo.pdf +0 -0
  41. package/dist/vfs/usr/lib/R/doc/html/Rlogo.svg +33 -0
  42. package/dist/vfs/usr/lib/R/doc/html/Search.html +27 -0
  43. package/dist/vfs/usr/lib/R/doc/html/SearchOn.html +200 -0
  44. package/dist/vfs/usr/lib/R/doc/html/about.html +38 -0
  45. package/dist/vfs/usr/lib/R/doc/html/favicon.ico +0 -0
  46. package/dist/vfs/usr/lib/R/doc/html/index.html +79 -0
  47. package/dist/vfs/usr/lib/R/doc/html/katex/LICENSE +24 -0
  48. package/dist/vfs/usr/lib/R/doc/html/katex/README.md +119 -0
  49. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_AMS-Regular.ttf +0 -0
  50. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_AMS-Regular.woff +0 -0
  51. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  52. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  53. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  54. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  55. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  56. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  57. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  58. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  59. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  60. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  61. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  62. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  63. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  64. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Main-Bold.ttf +0 -0
  65. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Main-Bold.woff +0 -0
  66. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
  67. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  68. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  69. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  70. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Main-Italic.ttf +0 -0
  71. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Main-Italic.woff +0 -0
  72. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
  73. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Main-Regular.ttf +0 -0
  74. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Main-Regular.woff +0 -0
  75. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
  76. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  77. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  78. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  79. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Math-Italic.ttf +0 -0
  80. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Math-Italic.woff +0 -0
  81. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
  82. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  83. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  84. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  85. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  86. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  87. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  88. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  89. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  90. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  91. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Script-Regular.ttf +0 -0
  92. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Script-Regular.woff +0 -0
  93. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
  94. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Size1-Regular.ttf +0 -0
  95. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Size1-Regular.woff +0 -0
  96. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  97. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Size2-Regular.ttf +0 -0
  98. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Size2-Regular.woff +0 -0
  99. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  100. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Size3-Regular.ttf +0 -0
  101. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Size3-Regular.woff +0 -0
  102. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  103. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Size4-Regular.ttf +0 -0
  104. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Size4-Regular.woff +0 -0
  105. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  106. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  107. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  108. package/dist/vfs/usr/lib/R/doc/html/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  109. package/dist/vfs/usr/lib/R/doc/html/katex/katex.css +1079 -0
  110. package/dist/vfs/usr/lib/R/doc/html/katex/katex.js +18456 -0
  111. package/dist/vfs/usr/lib/R/doc/html/katex-check.js +13 -0
  112. package/dist/vfs/usr/lib/R/doc/html/katex-config.js +17 -0
  113. package/dist/vfs/usr/lib/R/doc/html/left.jpg +0 -0
  114. package/dist/vfs/usr/lib/R/doc/html/logo.jpg +0 -0
  115. package/dist/vfs/usr/lib/R/doc/html/mathjax-config.js +23 -0
  116. package/dist/vfs/usr/lib/R/doc/html/packages-head-utf8.html +17 -0
  117. package/dist/vfs/usr/lib/R/doc/html/packages.html +51 -0
  118. package/dist/vfs/usr/lib/R/doc/html/prism.css +235 -0
  119. package/dist/vfs/usr/lib/R/doc/html/prism.js +1495 -0
  120. package/dist/vfs/usr/lib/R/doc/html/resources.html +235 -0
  121. package/dist/vfs/usr/lib/R/doc/html/right.jpg +0 -0
  122. package/dist/vfs/usr/lib/R/doc/html/up.jpg +0 -0
  123. package/dist/vfs/usr/lib/R/doc/manual/images/QQ.png +0 -0
  124. package/dist/vfs/usr/lib/R/doc/manual/images/ecdf.png +0 -0
  125. package/dist/vfs/usr/lib/R/doc/manual/images/fig11.png +0 -0
  126. package/dist/vfs/usr/lib/R/doc/manual/images/fig12.png +0 -0
  127. package/dist/vfs/usr/lib/R/doc/manual/images/hist.png +0 -0
  128. package/dist/vfs/usr/lib/R/doc/manual/images/ice.png +0 -0
  129. package/dist/vfs/usr/lib/R/library/base/demo/error.catching.R +101 -0
  130. package/dist/vfs/usr/lib/R/library/base/demo/is.things.R +143 -0
  131. package/dist/vfs/usr/lib/R/library/base/demo/recursion.R +82 -0
  132. package/dist/vfs/usr/lib/R/library/base/demo/scoping.R +50 -0
  133. package/dist/vfs/usr/lib/R/library/base/help/AnIndex +1709 -0
  134. package/dist/vfs/usr/lib/R/library/base/help/aliases.rds +0 -0
  135. package/dist/vfs/usr/lib/R/library/base/help/base.rdb +0 -0
  136. package/dist/vfs/usr/lib/R/library/base/help/base.rdx +0 -0
  137. package/dist/vfs/usr/lib/R/library/base/help/paths.rds +0 -0
  138. package/dist/vfs/usr/lib/R/library/base/html/00Index.html +2754 -0
  139. package/dist/vfs/usr/lib/R/library/base/html/R.css +130 -0
  140. package/dist/vfs/usr/lib/R/library/compiler/help/AnIndex +9 -0
  141. package/dist/vfs/usr/lib/R/library/compiler/help/aliases.rds +0 -0
  142. package/dist/vfs/usr/lib/R/library/compiler/help/compiler.rdb +0 -0
  143. package/dist/vfs/usr/lib/R/library/compiler/help/compiler.rdx +0 -0
  144. package/dist/vfs/usr/lib/R/library/compiler/help/paths.rds +0 -0
  145. package/dist/vfs/usr/lib/R/library/compiler/html/00Index.html +43 -0
  146. package/dist/vfs/usr/lib/R/library/compiler/html/R.css +130 -0
  147. package/dist/vfs/usr/lib/R/library/compiler/tests/assign.R +152 -0
  148. package/dist/vfs/usr/lib/R/library/compiler/tests/basics.R +104 -0
  149. package/dist/vfs/usr/lib/R/library/compiler/tests/const.R +65 -0
  150. package/dist/vfs/usr/lib/R/library/compiler/tests/curexpr.R +96 -0
  151. package/dist/vfs/usr/lib/R/library/compiler/tests/envir.R +90 -0
  152. package/dist/vfs/usr/lib/R/library/compiler/tests/jit.R +16 -0
  153. package/dist/vfs/usr/lib/R/library/compiler/tests/loop.R +26 -0
  154. package/dist/vfs/usr/lib/R/library/compiler/tests/srcref.R +77 -0
  155. package/dist/vfs/usr/lib/R/library/compiler/tests/switch.R +98 -0
  156. package/dist/vfs/usr/lib/R/library/compiler/tests/vischk.R +121 -0
  157. package/dist/vfs/usr/lib/R/library/datasets/help/AnIndex +109 -0
  158. package/dist/vfs/usr/lib/R/library/datasets/help/aliases.rds +0 -0
  159. package/dist/vfs/usr/lib/R/library/datasets/help/datasets.rdb +0 -0
  160. package/dist/vfs/usr/lib/R/library/datasets/help/datasets.rdx +0 -0
  161. package/dist/vfs/usr/lib/R/library/datasets/help/paths.rds +0 -0
  162. package/dist/vfs/usr/lib/R/library/datasets/html/00Index.html +373 -0
  163. package/dist/vfs/usr/lib/R/library/datasets/html/R.css +130 -0
  164. package/dist/vfs/usr/lib/R/library/grDevices/afm/ArialMT-Bold.afm.gz +0 -0
  165. package/dist/vfs/usr/lib/R/library/grDevices/afm/ArialMT-BoldItalic.afm.gz +0 -0
  166. package/dist/vfs/usr/lib/R/library/grDevices/afm/ArialMT-Italic.afm.gz +0 -0
  167. package/dist/vfs/usr/lib/R/library/grDevices/afm/ArialMT.afm.gz +0 -0
  168. package/dist/vfs/usr/lib/R/library/grDevices/afm/CM_boldx_10.afm.gz +0 -0
  169. package/dist/vfs/usr/lib/R/library/grDevices/afm/CM_boldx_italic_10.afm.gz +0 -0
  170. package/dist/vfs/usr/lib/R/library/grDevices/afm/CM_italic_10.afm.gz +0 -0
  171. package/dist/vfs/usr/lib/R/library/grDevices/afm/CM_regular_10.afm.gz +0 -0
  172. package/dist/vfs/usr/lib/R/library/grDevices/afm/CM_symbol_10.afm.gz +0 -0
  173. package/dist/vfs/usr/lib/R/library/grDevices/afm/Courier-Bold.afm.gz +0 -0
  174. package/dist/vfs/usr/lib/R/library/grDevices/afm/Courier-BoldOblique.afm.gz +0 -0
  175. package/dist/vfs/usr/lib/R/library/grDevices/afm/Courier-Oblique.afm.gz +0 -0
  176. package/dist/vfs/usr/lib/R/library/grDevices/afm/Courier.afm.gz +0 -0
  177. package/dist/vfs/usr/lib/R/library/grDevices/afm/Helvetica-Bold.afm.gz +0 -0
  178. package/dist/vfs/usr/lib/R/library/grDevices/afm/Helvetica-BoldOblique.afm.gz +0 -0
  179. package/dist/vfs/usr/lib/R/library/grDevices/afm/Helvetica-Oblique.afm.gz +0 -0
  180. package/dist/vfs/usr/lib/R/library/grDevices/afm/Helvetica.afm.gz +0 -0
  181. package/dist/vfs/usr/lib/R/library/grDevices/afm/MustRead.html +20 -0
  182. package/dist/vfs/usr/lib/R/library/grDevices/afm/README +21 -0
  183. package/dist/vfs/usr/lib/R/library/grDevices/afm/Symbol.afm.gz +0 -0
  184. package/dist/vfs/usr/lib/R/library/grDevices/afm/Times-Bold.afm.gz +0 -0
  185. package/dist/vfs/usr/lib/R/library/grDevices/afm/Times-BoldItalic.afm.gz +0 -0
  186. package/dist/vfs/usr/lib/R/library/grDevices/afm/Times-Italic.afm.gz +0 -0
  187. package/dist/vfs/usr/lib/R/library/grDevices/afm/Times-Roman.afm.gz +0 -0
  188. package/dist/vfs/usr/lib/R/library/grDevices/afm/ZapfDingbats.afm.gz +0 -0
  189. package/dist/vfs/usr/lib/R/library/grDevices/afm/a010013l.afm.gz +0 -0
  190. package/dist/vfs/usr/lib/R/library/grDevices/afm/a010015l.afm.gz +0 -0
  191. package/dist/vfs/usr/lib/R/library/grDevices/afm/a010033l.afm.gz +0 -0
  192. package/dist/vfs/usr/lib/R/library/grDevices/afm/a010035l.afm.gz +0 -0
  193. package/dist/vfs/usr/lib/R/library/grDevices/afm/agd_____.afm.gz +0 -0
  194. package/dist/vfs/usr/lib/R/library/grDevices/afm/agdo____.afm.gz +0 -0
  195. package/dist/vfs/usr/lib/R/library/grDevices/afm/agw_____.afm.gz +0 -0
  196. package/dist/vfs/usr/lib/R/library/grDevices/afm/agwo____.afm.gz +0 -0
  197. package/dist/vfs/usr/lib/R/library/grDevices/afm/b018012l.afm.gz +0 -0
  198. package/dist/vfs/usr/lib/R/library/grDevices/afm/b018015l.afm.gz +0 -0
  199. package/dist/vfs/usr/lib/R/library/grDevices/afm/b018032l.afm.gz +0 -0
  200. package/dist/vfs/usr/lib/R/library/grDevices/afm/b018035l.afm.gz +0 -0
  201. package/dist/vfs/usr/lib/R/library/grDevices/afm/bkd_____.afm.gz +0 -0
  202. package/dist/vfs/usr/lib/R/library/grDevices/afm/bkdi____.afm.gz +0 -0
  203. package/dist/vfs/usr/lib/R/library/grDevices/afm/bkl_____.afm.gz +0 -0
  204. package/dist/vfs/usr/lib/R/library/grDevices/afm/bkli____.afm.gz +0 -0
  205. package/dist/vfs/usr/lib/R/library/grDevices/afm/c059013l.afm.gz +0 -0
  206. package/dist/vfs/usr/lib/R/library/grDevices/afm/c059016l.afm.gz +0 -0
  207. package/dist/vfs/usr/lib/R/library/grDevices/afm/c059033l.afm.gz +0 -0
  208. package/dist/vfs/usr/lib/R/library/grDevices/afm/c059036l.afm.gz +0 -0
  209. package/dist/vfs/usr/lib/R/library/grDevices/afm/cmbxti10.afm.gz +0 -0
  210. package/dist/vfs/usr/lib/R/library/grDevices/afm/cmti10.afm.gz +0 -0
  211. package/dist/vfs/usr/lib/R/library/grDevices/afm/cob_____.afm.gz +0 -0
  212. package/dist/vfs/usr/lib/R/library/grDevices/afm/cobo____.afm.gz +0 -0
  213. package/dist/vfs/usr/lib/R/library/grDevices/afm/com_____.afm.gz +0 -0
  214. package/dist/vfs/usr/lib/R/library/grDevices/afm/coo_____.afm.gz +0 -0
  215. package/dist/vfs/usr/lib/R/library/grDevices/afm/hv______.afm.gz +0 -0
  216. package/dist/vfs/usr/lib/R/library/grDevices/afm/hvb_____.afm.gz +0 -0
  217. package/dist/vfs/usr/lib/R/library/grDevices/afm/hvbo____.afm.gz +0 -0
  218. package/dist/vfs/usr/lib/R/library/grDevices/afm/hvn_____.afm.gz +0 -0
  219. package/dist/vfs/usr/lib/R/library/grDevices/afm/hvnb____.afm.gz +0 -0
  220. package/dist/vfs/usr/lib/R/library/grDevices/afm/hvnbo___.afm.gz +0 -0
  221. package/dist/vfs/usr/lib/R/library/grDevices/afm/hvno____.afm.gz +0 -0
  222. package/dist/vfs/usr/lib/R/library/grDevices/afm/hvo_____.afm.gz +0 -0
  223. package/dist/vfs/usr/lib/R/library/grDevices/afm/n019003l.afm.gz +0 -0
  224. package/dist/vfs/usr/lib/R/library/grDevices/afm/n019004l.afm.gz +0 -0
  225. package/dist/vfs/usr/lib/R/library/grDevices/afm/n019023l.afm.gz +0 -0
  226. package/dist/vfs/usr/lib/R/library/grDevices/afm/n019024l.afm.gz +0 -0
  227. package/dist/vfs/usr/lib/R/library/grDevices/afm/n019043l.afm.gz +0 -0
  228. package/dist/vfs/usr/lib/R/library/grDevices/afm/n019044l.afm.gz +0 -0
  229. package/dist/vfs/usr/lib/R/library/grDevices/afm/n019063l.afm.gz +0 -0
  230. package/dist/vfs/usr/lib/R/library/grDevices/afm/n019064l.afm.gz +0 -0
  231. package/dist/vfs/usr/lib/R/library/grDevices/afm/n021003l.afm.gz +0 -0
  232. package/dist/vfs/usr/lib/R/library/grDevices/afm/n021004l.afm.gz +0 -0
  233. package/dist/vfs/usr/lib/R/library/grDevices/afm/n021023l.afm.gz +0 -0
  234. package/dist/vfs/usr/lib/R/library/grDevices/afm/n021024l.afm.gz +0 -0
  235. package/dist/vfs/usr/lib/R/library/grDevices/afm/n022003l.afm.gz +0 -0
  236. package/dist/vfs/usr/lib/R/library/grDevices/afm/n022004l.afm.gz +0 -0
  237. package/dist/vfs/usr/lib/R/library/grDevices/afm/n022023l.afm.gz +0 -0
  238. package/dist/vfs/usr/lib/R/library/grDevices/afm/n022024l.afm.gz +0 -0
  239. package/dist/vfs/usr/lib/R/library/grDevices/afm/ncb_____.afm.gz +0 -0
  240. package/dist/vfs/usr/lib/R/library/grDevices/afm/ncbi____.afm.gz +0 -0
  241. package/dist/vfs/usr/lib/R/library/grDevices/afm/nci_____.afm.gz +0 -0
  242. package/dist/vfs/usr/lib/R/library/grDevices/afm/ncr_____.afm.gz +0 -0
  243. package/dist/vfs/usr/lib/R/library/grDevices/afm/p052003l.afm.gz +0 -0
  244. package/dist/vfs/usr/lib/R/library/grDevices/afm/p052004l.afm.gz +0 -0
  245. package/dist/vfs/usr/lib/R/library/grDevices/afm/p052023l.afm.gz +0 -0
  246. package/dist/vfs/usr/lib/R/library/grDevices/afm/p052024l.afm.gz +0 -0
  247. package/dist/vfs/usr/lib/R/library/grDevices/afm/pob_____.afm.gz +0 -0
  248. package/dist/vfs/usr/lib/R/library/grDevices/afm/pobi____.afm.gz +0 -0
  249. package/dist/vfs/usr/lib/R/library/grDevices/afm/poi_____.afm.gz +0 -0
  250. package/dist/vfs/usr/lib/R/library/grDevices/afm/por_____.afm.gz +0 -0
  251. package/dist/vfs/usr/lib/R/library/grDevices/afm/s050000l.afm.gz +0 -0
  252. package/dist/vfs/usr/lib/R/library/grDevices/afm/sy______.afm.gz +0 -0
  253. package/dist/vfs/usr/lib/R/library/grDevices/afm/tib_____.afm.gz +0 -0
  254. package/dist/vfs/usr/lib/R/library/grDevices/afm/tibi____.afm.gz +0 -0
  255. package/dist/vfs/usr/lib/R/library/grDevices/afm/tii_____.afm.gz +0 -0
  256. package/dist/vfs/usr/lib/R/library/grDevices/afm/tir_____.afm.gz +0 -0
  257. package/dist/vfs/usr/lib/R/library/grDevices/demo/colors.R +108 -0
  258. package/dist/vfs/usr/lib/R/library/grDevices/demo/hclColors.R +63 -0
  259. package/dist/vfs/usr/lib/R/library/grDevices/enc/AdobeStd.enc +37 -0
  260. package/dist/vfs/usr/lib/R/library/grDevices/enc/AdobeSym.enc +42 -0
  261. package/dist/vfs/usr/lib/R/library/grDevices/enc/CP1250.enc +36 -0
  262. package/dist/vfs/usr/lib/R/library/grDevices/enc/CP1251.enc +37 -0
  263. package/dist/vfs/usr/lib/R/library/grDevices/enc/CP1253.enc +37 -0
  264. package/dist/vfs/usr/lib/R/library/grDevices/enc/CP1257.enc +36 -0
  265. package/dist/vfs/usr/lib/R/library/grDevices/enc/Cyrillic.enc +40 -0
  266. package/dist/vfs/usr/lib/R/library/grDevices/enc/Greek.enc +38 -0
  267. package/dist/vfs/usr/lib/R/library/grDevices/enc/ISOLatin1.enc +39 -0
  268. package/dist/vfs/usr/lib/R/library/grDevices/enc/ISOLatin2.enc +40 -0
  269. package/dist/vfs/usr/lib/R/library/grDevices/enc/ISOLatin7.enc +40 -0
  270. package/dist/vfs/usr/lib/R/library/grDevices/enc/ISOLatin9.enc +39 -0
  271. package/dist/vfs/usr/lib/R/library/grDevices/enc/KOI8-R.enc +39 -0
  272. package/dist/vfs/usr/lib/R/library/grDevices/enc/KOI8-U.enc +39 -0
  273. package/dist/vfs/usr/lib/R/library/grDevices/enc/MacRoman.enc +39 -0
  274. package/dist/vfs/usr/lib/R/library/grDevices/enc/PDFDoc.enc +39 -0
  275. package/dist/vfs/usr/lib/R/library/grDevices/enc/TeXtext.enc +39 -0
  276. package/dist/vfs/usr/lib/R/library/grDevices/enc/WinAnsi.enc +40 -0
  277. package/dist/vfs/usr/lib/R/library/grDevices/fonts/Montserrat/static/Montserrat-BoldItalic.ttf +0 -0
  278. package/dist/vfs/usr/lib/R/library/grDevices/fonts/Montserrat/static/Montserrat-Medium.ttf +0 -0
  279. package/dist/vfs/usr/lib/R/library/grDevices/fonts/Roboto/LICENSE.txt +202 -0
  280. package/dist/vfs/usr/lib/R/library/grDevices/fonts/Roboto/Roboto-Medium.ttf +0 -0
  281. package/dist/vfs/usr/lib/R/library/grDevices/help/AnIndex +192 -0
  282. package/dist/vfs/usr/lib/R/library/grDevices/help/aliases.rds +0 -0
  283. package/dist/vfs/usr/lib/R/library/grDevices/help/grDevices.rdb +0 -0
  284. package/dist/vfs/usr/lib/R/library/grDevices/help/grDevices.rdx +0 -0
  285. package/dist/vfs/usr/lib/R/library/grDevices/help/paths.rds +0 -0
  286. package/dist/vfs/usr/lib/R/library/grDevices/html/00Index.html +520 -0
  287. package/dist/vfs/usr/lib/R/library/grDevices/html/R.css +130 -0
  288. package/dist/vfs/usr/lib/R/library/grDevices/libs/grDevices.so +0 -0
  289. package/dist/vfs/usr/lib/R/library/grDevices/tests/convertColor-tests.R +47 -0
  290. package/dist/vfs/usr/lib/R/library/grDevices/tests/grDev-tsts.R +7 -0
  291. package/dist/vfs/usr/lib/R/library/grDevices/tests/palettes-tests.R +58 -0
  292. package/dist/vfs/usr/lib/R/library/grDevices/tests/ps-tests.R +39 -0
  293. package/dist/vfs/usr/lib/R/library/grDevices/tests/ps-tests.Rout.save +98 -0
  294. package/dist/vfs/usr/lib/R/library/grDevices/tests/saved-recordPlot.R +36 -0
  295. package/dist/vfs/usr/lib/R/library/grDevices/tests/xfig-tests.R +84 -0
  296. package/dist/vfs/usr/lib/R/library/grDevices/tests/xfig-tests.Rout.save +105 -0
  297. package/dist/vfs/usr/lib/R/library/graphics/demo/Hershey.R +394 -0
  298. package/dist/vfs/usr/lib/R/library/graphics/demo/Japanese.R +716 -0
  299. package/dist/vfs/usr/lib/R/library/graphics/demo/graphics.R +145 -0
  300. package/dist/vfs/usr/lib/R/library/graphics/demo/image.R +37 -0
  301. package/dist/vfs/usr/lib/R/library/graphics/demo/persp.R +86 -0
  302. package/dist/vfs/usr/lib/R/library/graphics/demo/plotmath.R +197 -0
  303. package/dist/vfs/usr/lib/R/library/graphics/help/AnIndex +130 -0
  304. package/dist/vfs/usr/lib/R/library/graphics/help/aliases.rds +0 -0
  305. package/dist/vfs/usr/lib/R/library/graphics/help/figures/mai.pdf +0 -0
  306. package/dist/vfs/usr/lib/R/library/graphics/help/figures/mai.png +0 -0
  307. package/dist/vfs/usr/lib/R/library/graphics/help/figures/oma.pdf +0 -0
  308. package/dist/vfs/usr/lib/R/library/graphics/help/figures/oma.png +0 -0
  309. package/dist/vfs/usr/lib/R/library/graphics/help/figures/pch.pdf +0 -0
  310. package/dist/vfs/usr/lib/R/library/graphics/help/figures/pch.png +0 -0
  311. package/dist/vfs/usr/lib/R/library/graphics/help/figures/pch.svg +185 -0
  312. package/dist/vfs/usr/lib/R/library/graphics/help/graphics.rdb +0 -0
  313. package/dist/vfs/usr/lib/R/library/graphics/help/graphics.rdx +0 -0
  314. package/dist/vfs/usr/lib/R/library/graphics/help/paths.rds +0 -0
  315. package/dist/vfs/usr/lib/R/library/graphics/html/00Index.html +222 -0
  316. package/dist/vfs/usr/lib/R/library/graphics/html/R.css +130 -0
  317. package/dist/vfs/usr/lib/R/library/grid/doc/DivByZero.txt +50 -0
  318. package/dist/vfs/usr/lib/R/library/grid/doc/changes.txt +1714 -0
  319. package/dist/vfs/usr/lib/R/library/grid/doc/displaylist.pdf +0 -0
  320. package/dist/vfs/usr/lib/R/library/grid/doc/frame.pdf +0 -0
  321. package/dist/vfs/usr/lib/R/library/grid/doc/grid.pdf +0 -0
  322. package/dist/vfs/usr/lib/R/library/grid/doc/grobs.pdf +0 -0
  323. package/dist/vfs/usr/lib/R/library/grid/doc/interactive.pdf +0 -0
  324. package/dist/vfs/usr/lib/R/library/grid/doc/locndimn.pdf +0 -0
  325. package/dist/vfs/usr/lib/R/library/grid/doc/moveline.pdf +0 -0
  326. package/dist/vfs/usr/lib/R/library/grid/doc/nonfinite.pdf +0 -0
  327. package/dist/vfs/usr/lib/R/library/grid/doc/plotexample.pdf +0 -0
  328. package/dist/vfs/usr/lib/R/library/grid/doc/rotated.pdf +0 -0
  329. package/dist/vfs/usr/lib/R/library/grid/doc/saveload.pdf +0 -0
  330. package/dist/vfs/usr/lib/R/library/grid/doc/sharing.pdf +0 -0
  331. package/dist/vfs/usr/lib/R/library/grid/doc/viewports.pdf +0 -0
  332. package/dist/vfs/usr/lib/R/library/grid/help/AnIndex +269 -0
  333. package/dist/vfs/usr/lib/R/library/grid/help/aliases.rds +0 -0
  334. package/dist/vfs/usr/lib/R/library/grid/help/grid.rdb +0 -0
  335. package/dist/vfs/usr/lib/R/library/grid/help/grid.rdx +0 -0
  336. package/dist/vfs/usr/lib/R/library/grid/help/paths.rds +0 -0
  337. package/dist/vfs/usr/lib/R/library/grid/html/00Index.html +648 -0
  338. package/dist/vfs/usr/lib/R/library/grid/html/R.css +130 -0
  339. package/dist/vfs/usr/lib/R/library/grid/tests/bugs.R +30 -0
  340. package/dist/vfs/usr/lib/R/library/grid/tests/clippaths.R +418 -0
  341. package/dist/vfs/usr/lib/R/library/grid/tests/compositing.R +107 -0
  342. package/dist/vfs/usr/lib/R/library/grid/tests/coords.R +598 -0
  343. package/dist/vfs/usr/lib/R/library/grid/tests/glyphs.R +325 -0
  344. package/dist/vfs/usr/lib/R/library/grid/tests/grep.R +49 -0
  345. package/dist/vfs/usr/lib/R/library/grid/tests/grep.Rout.save +100 -0
  346. package/dist/vfs/usr/lib/R/library/grid/tests/groups.R +549 -0
  347. package/dist/vfs/usr/lib/R/library/grid/tests/masks.R +417 -0
  348. package/dist/vfs/usr/lib/R/library/grid/tests/nesting.R +113 -0
  349. package/dist/vfs/usr/lib/R/library/grid/tests/paths.R +241 -0
  350. package/dist/vfs/usr/lib/R/library/grid/tests/patterns.R +1435 -0
  351. package/dist/vfs/usr/lib/R/library/grid/tests/reg.R +433 -0
  352. package/dist/vfs/usr/lib/R/library/grid/tests/testls.R +158 -0
  353. package/dist/vfs/usr/lib/R/library/grid/tests/testls.Rout.save +343 -0
  354. package/dist/vfs/usr/lib/R/library/grid/tests/units.R +180 -0
  355. package/dist/vfs/usr/lib/R/library/methods/help/AnIndex +483 -0
  356. package/dist/vfs/usr/lib/R/library/methods/help/aliases.rds +0 -0
  357. package/dist/vfs/usr/lib/R/library/methods/help/methods.rdb +0 -0
  358. package/dist/vfs/usr/lib/R/library/methods/help/methods.rdx +0 -0
  359. package/dist/vfs/usr/lib/R/library/methods/help/paths.rds +0 -0
  360. package/dist/vfs/usr/lib/R/library/methods/html/00Index.html +727 -0
  361. package/dist/vfs/usr/lib/R/library/methods/html/R.css +130 -0
  362. package/dist/vfs/usr/lib/R/library/methods/tests/S3.R +29 -0
  363. package/dist/vfs/usr/lib/R/library/methods/tests/basicRefClass.R +530 -0
  364. package/dist/vfs/usr/lib/R/library/methods/tests/duplicateClass.R +35 -0
  365. package/dist/vfs/usr/lib/R/library/methods/tests/envRefClass.R +18 -0
  366. package/dist/vfs/usr/lib/R/library/methods/tests/fieldAssignments.R +30 -0
  367. package/dist/vfs/usr/lib/R/library/methods/tests/mixinInitialize.R +86 -0
  368. package/dist/vfs/usr/lib/R/library/methods/tests/namesAndSlots.R +18 -0
  369. package/dist/vfs/usr/lib/R/library/methods/tests/nextWithDots.R +21 -0
  370. package/dist/vfs/usr/lib/R/library/methods/tests/refClassExample.R +51 -0
  371. package/dist/vfs/usr/lib/R/library/methods/tests/testConditionalIs.R +38 -0
  372. package/dist/vfs/usr/lib/R/library/methods/tests/testGroupGeneric.R +83 -0
  373. package/dist/vfs/usr/lib/R/library/methods/tests/testIs.R +61 -0
  374. package/dist/vfs/usr/lib/R/library/parallel/DESCRIPTION +16 -0
  375. package/dist/vfs/usr/lib/R/library/parallel/INDEX +16 -0
  376. package/dist/vfs/usr/lib/R/library/parallel/Meta/Rd.rds +0 -0
  377. package/dist/vfs/usr/lib/R/library/parallel/Meta/features.rds +0 -0
  378. package/dist/vfs/usr/lib/R/library/parallel/Meta/hsearch.rds +0 -0
  379. package/dist/vfs/usr/lib/R/library/parallel/Meta/links.rds +0 -0
  380. package/dist/vfs/usr/lib/R/library/parallel/Meta/nsInfo.rds +0 -0
  381. package/dist/vfs/usr/lib/R/library/parallel/Meta/package.rds +0 -0
  382. package/dist/vfs/usr/lib/R/library/parallel/NAMESPACE +42 -0
  383. package/dist/vfs/usr/lib/R/library/parallel/R/parallel +27 -0
  384. package/dist/vfs/usr/lib/R/library/parallel/R/parallel.rdb +0 -0
  385. package/dist/vfs/usr/lib/R/library/parallel/R/parallel.rdx +0 -0
  386. package/dist/vfs/usr/lib/R/library/parallel/doc/parallel.pdf +0 -0
  387. package/dist/vfs/usr/lib/R/library/parallel/help/AnIndex +45 -0
  388. package/dist/vfs/usr/lib/R/library/parallel/help/aliases.rds +0 -0
  389. package/dist/vfs/usr/lib/R/library/parallel/help/parallel.rdb +0 -0
  390. package/dist/vfs/usr/lib/R/library/parallel/help/parallel.rdx +0 -0
  391. package/dist/vfs/usr/lib/R/library/parallel/help/paths.rds +0 -0
  392. package/dist/vfs/usr/lib/R/library/parallel/html/00Index.html +116 -0
  393. package/dist/vfs/usr/lib/R/library/parallel/html/R.css +130 -0
  394. package/dist/vfs/usr/lib/R/library/parallel/libs/parallel.so +0 -0
  395. package/dist/vfs/usr/lib/R/library/parallel/tests/Master.R +36 -0
  396. package/dist/vfs/usr/lib/R/library/parallel/tests/RSeed.R +25 -0
  397. package/dist/vfs/usr/lib/R/library/parallel/tests/multicore1.RR +10 -0
  398. package/dist/vfs/usr/lib/R/library/parallel/tests/multicore2.RR +15 -0
  399. package/dist/vfs/usr/lib/R/library/parallel/tests/multicore2.Rout.save +47 -0
  400. package/dist/vfs/usr/lib/R/library/parallel/tests/multicore3.RR +9 -0
  401. package/dist/vfs/usr/lib/R/library/parallel/tests/snow1.RR +41 -0
  402. package/dist/vfs/usr/lib/R/library/parallel/tests/snow2.RR +20 -0
  403. package/dist/vfs/usr/lib/R/library/parallel/tests/snow2.Rout.save +53 -0
  404. package/dist/vfs/usr/lib/R/library/splines/help/AnIndex +22 -0
  405. package/dist/vfs/usr/lib/R/library/splines/help/aliases.rds +0 -0
  406. package/dist/vfs/usr/lib/R/library/splines/help/paths.rds +0 -0
  407. package/dist/vfs/usr/lib/R/library/splines/help/splines.rdb +0 -0
  408. package/dist/vfs/usr/lib/R/library/splines/help/splines.rdx +0 -0
  409. package/dist/vfs/usr/lib/R/library/splines/html/00Index.html +69 -0
  410. package/dist/vfs/usr/lib/R/library/splines/html/R.css +130 -0
  411. package/dist/vfs/usr/lib/R/library/splines/tests/sparse-tst.R +35 -0
  412. package/dist/vfs/usr/lib/R/library/splines/tests/spline-tst.R +296 -0
  413. package/dist/vfs/usr/lib/R/library/stats/demo/glm.vr.R +24 -0
  414. package/dist/vfs/usr/lib/R/library/stats/demo/lm.glm.R +144 -0
  415. package/dist/vfs/usr/lib/R/library/stats/demo/nlm.R +110 -0
  416. package/dist/vfs/usr/lib/R/library/stats/demo/smooth.R +39 -0
  417. package/dist/vfs/usr/lib/R/library/stats/help/AnIndex +780 -0
  418. package/dist/vfs/usr/lib/R/library/stats/help/aliases.rds +0 -0
  419. package/dist/vfs/usr/lib/R/library/stats/help/paths.rds +0 -0
  420. package/dist/vfs/usr/lib/R/library/stats/help/stats.rdb +0 -0
  421. package/dist/vfs/usr/lib/R/library/stats/help/stats.rdx +0 -0
  422. package/dist/vfs/usr/lib/R/library/stats/html/00Index.html +1354 -0
  423. package/dist/vfs/usr/lib/R/library/stats/html/R.css +130 -0
  424. package/dist/vfs/usr/lib/R/library/stats/tests/NLSstClosest.R +12 -0
  425. package/dist/vfs/usr/lib/R/library/stats/tests/anorexia.rda +0 -0
  426. package/dist/vfs/usr/lib/R/library/stats/tests/arimaML.R +265 -0
  427. package/dist/vfs/usr/lib/R/library/stats/tests/bandwidth.R +19 -0
  428. package/dist/vfs/usr/lib/R/library/stats/tests/bandwidth.Rout.save +49 -0
  429. package/dist/vfs/usr/lib/R/library/stats/tests/birthwt.rda +0 -0
  430. package/dist/vfs/usr/lib/R/library/stats/tests/cmdscale.R +10 -0
  431. package/dist/vfs/usr/lib/R/library/stats/tests/drop1-polr.R +30 -0
  432. package/dist/vfs/usr/lib/R/library/stats/tests/glm-etc.R +162 -0
  433. package/dist/vfs/usr/lib/R/library/stats/tests/glm.R +82 -0
  434. package/dist/vfs/usr/lib/R/library/stats/tests/glm.Rout.save +194 -0
  435. package/dist/vfs/usr/lib/R/library/stats/tests/hills.rds +0 -0
  436. package/dist/vfs/usr/lib/R/library/stats/tests/ig_glm.R +68 -0
  437. package/dist/vfs/usr/lib/R/library/stats/tests/ks-test.R +116 -0
  438. package/dist/vfs/usr/lib/R/library/stats/tests/ks-test.Rout.save +365 -0
  439. package/dist/vfs/usr/lib/R/library/stats/tests/nafns.R +136 -0
  440. package/dist/vfs/usr/lib/R/library/stats/tests/nlm.R +107 -0
  441. package/dist/vfs/usr/lib/R/library/stats/tests/nls.R +389 -0
  442. package/dist/vfs/usr/lib/R/library/stats/tests/nls.Rout.save +828 -0
  443. package/dist/vfs/usr/lib/R/library/stats/tests/offsets.R +39 -0
  444. package/dist/vfs/usr/lib/R/library/stats/tests/ppr.R +6 -0
  445. package/dist/vfs/usr/lib/R/library/stats/tests/ppr_test.csv +443 -0
  446. package/dist/vfs/usr/lib/R/library/stats/tests/simulate.R +87 -0
  447. package/dist/vfs/usr/lib/R/library/stats/tests/simulate.Rout.save +417 -0
  448. package/dist/vfs/usr/lib/R/library/stats/tests/smooth.spline.R +188 -0
  449. package/dist/vfs/usr/lib/R/library/stats/tests/table-margins.R +20 -0
  450. package/dist/vfs/usr/lib/R/library/stats/tests/ts-tests.R +180 -0
  451. package/dist/vfs/usr/lib/R/library/stats4/help/AnIndex +36 -0
  452. package/dist/vfs/usr/lib/R/library/stats4/help/aliases.rds +0 -0
  453. package/dist/vfs/usr/lib/R/library/stats4/help/paths.rds +0 -0
  454. package/dist/vfs/usr/lib/R/library/stats4/help/stats4.rdb +0 -0
  455. package/dist/vfs/usr/lib/R/library/stats4/help/stats4.rdx +0 -0
  456. package/dist/vfs/usr/lib/R/library/stats4/html/00Index.html +75 -0
  457. package/dist/vfs/usr/lib/R/library/stats4/html/R.css +130 -0
  458. package/dist/vfs/usr/lib/R/library/stats4/tests/confint.R +23 -0
  459. package/dist/vfs/usr/lib/R/library/tcltk/DESCRIPTION +12 -0
  460. package/dist/vfs/usr/lib/R/library/tcltk/INDEX +13 -0
  461. package/dist/vfs/usr/lib/R/library/tcltk/Meta/Rd.rds +0 -0
  462. package/dist/vfs/usr/lib/R/library/tcltk/Meta/demo.rds +0 -0
  463. package/dist/vfs/usr/lib/R/library/tcltk/Meta/features.rds +0 -0
  464. package/dist/vfs/usr/lib/R/library/tcltk/Meta/hsearch.rds +0 -0
  465. package/dist/vfs/usr/lib/R/library/tcltk/Meta/links.rds +0 -0
  466. package/dist/vfs/usr/lib/R/library/tcltk/Meta/nsInfo.rds +0 -0
  467. package/dist/vfs/usr/lib/R/library/tcltk/Meta/package.rds +0 -0
  468. package/dist/vfs/usr/lib/R/library/tcltk/NAMESPACE +36 -0
  469. package/dist/vfs/usr/lib/R/library/tcltk/R/tcltk +20 -0
  470. package/dist/vfs/usr/lib/R/library/tcltk/demo/tkcanvas.R +151 -0
  471. package/dist/vfs/usr/lib/R/library/tcltk/demo/tkdensity.R +104 -0
  472. package/dist/vfs/usr/lib/R/library/tcltk/demo/tkfaq.R +32 -0
  473. package/dist/vfs/usr/lib/R/library/tcltk/demo/tkttest.R +89 -0
  474. package/dist/vfs/usr/lib/R/library/tcltk/exec/Tk-frontend.R +25 -0
  475. package/dist/vfs/usr/lib/R/library/tcltk/exec/console.tcl +79 -0
  476. package/dist/vfs/usr/lib/R/library/tcltk/exec/hierarchy.tcl +1271 -0
  477. package/dist/vfs/usr/lib/R/library/tcltk/exec/pkgIndex.tcl +50 -0
  478. package/dist/vfs/usr/lib/R/library/tcltk/exec/progressbar.tcl +2435 -0
  479. package/dist/vfs/usr/lib/R/library/tcltk/exec/util-dump.tcl +660 -0
  480. package/dist/vfs/usr/lib/R/library/tcltk/exec/util-expand.tcl +207 -0
  481. package/dist/vfs/usr/lib/R/library/tcltk/exec/util-number.tcl +101 -0
  482. package/dist/vfs/usr/lib/R/library/tcltk/exec/util-string.tcl +149 -0
  483. package/dist/vfs/usr/lib/R/library/tcltk/exec/util-tk.tcl +244 -0
  484. package/dist/vfs/usr/lib/R/library/tcltk/exec/util.tcl +895 -0
  485. package/dist/vfs/usr/lib/R/library/tcltk/exec/widget.tcl +975 -0
  486. package/dist/vfs/usr/lib/R/library/tcltk/help/AnIndex +305 -0
  487. package/dist/vfs/usr/lib/R/library/tcltk/help/aliases.rds +0 -0
  488. package/dist/vfs/usr/lib/R/library/tcltk/help/paths.rds +0 -0
  489. package/dist/vfs/usr/lib/R/library/tcltk/help/tcltk.rdb +0 -0
  490. package/dist/vfs/usr/lib/R/library/tcltk/help/tcltk.rdx +0 -0
  491. package/dist/vfs/usr/lib/R/library/tcltk/html/00Index.html +680 -0
  492. package/dist/vfs/usr/lib/R/library/tcltk/html/R.css +130 -0
  493. package/dist/vfs/usr/lib/R/library/tools/help/AnIndex +160 -0
  494. package/dist/vfs/usr/lib/R/library/tools/help/aliases.rds +0 -0
  495. package/dist/vfs/usr/lib/R/library/tools/help/paths.rds +0 -0
  496. package/dist/vfs/usr/lib/R/library/tools/help/tools.rdb +0 -0
  497. package/dist/vfs/usr/lib/R/library/tools/help/tools.rdx +0 -0
  498. package/dist/vfs/usr/lib/R/library/tools/html/00Index.html +455 -0
  499. package/dist/vfs/usr/lib/R/library/tools/html/R.css +130 -0
  500. package/dist/vfs/usr/lib/R/library/tools/tests/QC.R +34 -0
  501. package/dist/vfs/usr/lib/R/library/tools/tests/Rd-Sexpr-error.Rd +8 -0
  502. package/dist/vfs/usr/lib/R/library/tools/tests/Rd-Sexpr-hide-empty.Rd +18 -0
  503. package/dist/vfs/usr/lib/R/library/tools/tests/Rd-Sexpr-warning.Rd +6 -0
  504. package/dist/vfs/usr/lib/R/library/tools/tests/Rd.R +53 -0
  505. package/dist/vfs/usr/lib/R/library/tools/tests/Rd2HTML.R +52 -0
  506. package/dist/vfs/usr/lib/R/library/tools/tests/S3.R +8 -0
  507. package/dist/vfs/usr/lib/R/library/tools/tests/doi.Rd +8 -0
  508. package/dist/vfs/usr/lib/R/library/tools/tests/undoc.R +4 -0
  509. package/dist/vfs/usr/lib/R/library/translations/DESCRIPTION +7 -0
  510. package/dist/vfs/usr/lib/R/library/translations/Meta/features.rds +0 -0
  511. package/dist/vfs/usr/lib/R/library/translations/Meta/package.rds +0 -0
  512. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R-base.mo +0 -0
  513. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R-compiler.mo +0 -0
  514. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R-grDevices.mo +0 -0
  515. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R-graphics.mo +0 -0
  516. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R-grid.mo +0 -0
  517. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R-methods.mo +0 -0
  518. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R-parallel.mo +0 -0
  519. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R-splines.mo +0 -0
  520. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R-stats.mo +0 -0
  521. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R-stats4.mo +0 -0
  522. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R-tcltk.mo +0 -0
  523. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R-tools.mo +0 -0
  524. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R-utils.mo +0 -0
  525. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/R.mo +0 -0
  526. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/RGui.mo +0 -0
  527. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/grDevices.mo +0 -0
  528. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/graphics.mo +0 -0
  529. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/grid.mo +0 -0
  530. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/methods.mo +0 -0
  531. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/parallel.mo +0 -0
  532. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/splines.mo +0 -0
  533. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/stats.mo +0 -0
  534. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/tcltk.mo +0 -0
  535. package/dist/vfs/usr/lib/R/library/translations/da/LC_MESSAGES/tools.mo +0 -0
  536. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R-base.mo +0 -0
  537. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R-compiler.mo +0 -0
  538. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R-grDevices.mo +0 -0
  539. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R-graphics.mo +0 -0
  540. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R-grid.mo +0 -0
  541. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R-methods.mo +0 -0
  542. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R-parallel.mo +0 -0
  543. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R-splines.mo +0 -0
  544. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R-stats.mo +0 -0
  545. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R-stats4.mo +0 -0
  546. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R-tcltk.mo +0 -0
  547. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R-tools.mo +0 -0
  548. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R-utils.mo +0 -0
  549. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/R.mo +0 -0
  550. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/RGui.mo +0 -0
  551. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/grDevices.mo +0 -0
  552. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/graphics.mo +0 -0
  553. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/grid.mo +0 -0
  554. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/methods.mo +0 -0
  555. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/parallel.mo +0 -0
  556. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/splines.mo +0 -0
  557. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/stats.mo +0 -0
  558. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/tcltk.mo +0 -0
  559. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/tools.mo +0 -0
  560. package/dist/vfs/usr/lib/R/library/translations/de/LC_MESSAGES/utils.mo +0 -0
  561. package/dist/vfs/usr/lib/R/library/translations/en/LC_MESSAGES/R.mo +0 -0
  562. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R-base.mo +0 -0
  563. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R-compiler.mo +0 -0
  564. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R-grDevices.mo +0 -0
  565. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R-graphics.mo +0 -0
  566. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R-grid.mo +0 -0
  567. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R-methods.mo +0 -0
  568. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R-parallel.mo +0 -0
  569. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R-splines.mo +0 -0
  570. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R-stats.mo +0 -0
  571. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R-stats4.mo +0 -0
  572. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R-tcltk.mo +0 -0
  573. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R-tools.mo +0 -0
  574. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R-utils.mo +0 -0
  575. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/R.mo +0 -0
  576. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/grDevices.mo +0 -0
  577. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/graphics.mo +0 -0
  578. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/grid.mo +0 -0
  579. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/methods.mo +0 -0
  580. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/parallel.mo +0 -0
  581. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/splines.mo +0 -0
  582. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/stats.mo +0 -0
  583. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/tcltk.mo +0 -0
  584. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/tools.mo +0 -0
  585. package/dist/vfs/usr/lib/R/library/translations/en@quot/LC_MESSAGES/utils.mo +0 -0
  586. package/dist/vfs/usr/lib/R/library/translations/en_GB/LC_MESSAGES/R-grDevices.mo +0 -0
  587. package/dist/vfs/usr/lib/R/library/translations/en_GB/LC_MESSAGES/R.mo +0 -0
  588. package/dist/vfs/usr/lib/R/library/translations/en_GB/LC_MESSAGES/grDevices.mo +0 -0
  589. package/dist/vfs/usr/lib/R/library/translations/es/LC_MESSAGES/R.mo +0 -0
  590. package/dist/vfs/usr/lib/R/library/translations/es/LC_MESSAGES/RGui.mo +0 -0
  591. package/dist/vfs/usr/lib/R/library/translations/es/LC_MESSAGES/graphics.mo +0 -0
  592. package/dist/vfs/usr/lib/R/library/translations/fa/LC_MESSAGES/R-base.mo +0 -0
  593. package/dist/vfs/usr/lib/R/library/translations/fa/LC_MESSAGES/R-utils.mo +0 -0
  594. package/dist/vfs/usr/lib/R/library/translations/fa/LC_MESSAGES/R.mo +0 -0
  595. package/dist/vfs/usr/lib/R/library/translations/fa/LC_MESSAGES/RGui.mo +0 -0
  596. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R-base.mo +0 -0
  597. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R-compiler.mo +0 -0
  598. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R-grDevices.mo +0 -0
  599. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R-graphics.mo +0 -0
  600. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R-grid.mo +0 -0
  601. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R-methods.mo +0 -0
  602. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R-parallel.mo +0 -0
  603. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R-splines.mo +0 -0
  604. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R-stats.mo +0 -0
  605. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R-stats4.mo +0 -0
  606. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R-tcltk.mo +0 -0
  607. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R-tools.mo +0 -0
  608. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R-utils.mo +0 -0
  609. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/R.mo +0 -0
  610. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/RGui.mo +0 -0
  611. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/grDevices.mo +0 -0
  612. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/graphics.mo +0 -0
  613. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/grid.mo +0 -0
  614. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/methods.mo +0 -0
  615. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/parallel.mo +0 -0
  616. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/splines.mo +0 -0
  617. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/stats.mo +0 -0
  618. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/tcltk.mo +0 -0
  619. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/tools.mo +0 -0
  620. package/dist/vfs/usr/lib/R/library/translations/fr/LC_MESSAGES/utils.mo +0 -0
  621. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R-base.mo +0 -0
  622. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R-compiler.mo +0 -0
  623. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R-grDevices.mo +0 -0
  624. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R-graphics.mo +0 -0
  625. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R-grid.mo +0 -0
  626. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R-methods.mo +0 -0
  627. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R-parallel.mo +0 -0
  628. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R-splines.mo +0 -0
  629. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R-stats.mo +0 -0
  630. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R-stats4.mo +0 -0
  631. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R-tcltk.mo +0 -0
  632. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R-tools.mo +0 -0
  633. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R-utils.mo +0 -0
  634. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/R.mo +0 -0
  635. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/RGui.mo +0 -0
  636. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/grDevices.mo +0 -0
  637. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/graphics.mo +0 -0
  638. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/grid.mo +0 -0
  639. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/methods.mo +0 -0
  640. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/parallel.mo +0 -0
  641. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/splines.mo +0 -0
  642. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/stats.mo +0 -0
  643. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/tcltk.mo +0 -0
  644. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/tools.mo +0 -0
  645. package/dist/vfs/usr/lib/R/library/translations/it/LC_MESSAGES/utils.mo +0 -0
  646. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/R-base.mo +0 -0
  647. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/R-compiler.mo +0 -0
  648. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/R-grDevices.mo +0 -0
  649. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/R-graphics.mo +0 -0
  650. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/R-grid.mo +0 -0
  651. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/R-methods.mo +0 -0
  652. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/R-splines.mo +0 -0
  653. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/R-stats.mo +0 -0
  654. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/R-stats4.mo +0 -0
  655. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/R-tcltk.mo +0 -0
  656. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/R-tools.mo +0 -0
  657. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/R-utils.mo +0 -0
  658. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/R.mo +0 -0
  659. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/RGui.mo +0 -0
  660. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/grDevices.mo +0 -0
  661. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/graphics.mo +0 -0
  662. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/grid.mo +0 -0
  663. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/methods.mo +0 -0
  664. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/splines.mo +0 -0
  665. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/stats.mo +0 -0
  666. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/tcltk.mo +0 -0
  667. package/dist/vfs/usr/lib/R/library/translations/ja/LC_MESSAGES/tools.mo +0 -0
  668. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R-base.mo +0 -0
  669. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R-compiler.mo +0 -0
  670. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R-grDevices.mo +0 -0
  671. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R-graphics.mo +0 -0
  672. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R-grid.mo +0 -0
  673. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R-methods.mo +0 -0
  674. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R-parallel.mo +0 -0
  675. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R-splines.mo +0 -0
  676. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R-stats.mo +0 -0
  677. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R-stats4.mo +0 -0
  678. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R-tcltk.mo +0 -0
  679. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R-tools.mo +0 -0
  680. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R-utils.mo +0 -0
  681. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/R.mo +0 -0
  682. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/RGui.mo +0 -0
  683. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/grDevices.mo +0 -0
  684. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/graphics.mo +0 -0
  685. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/grid.mo +0 -0
  686. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/methods.mo +0 -0
  687. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/parallel.mo +0 -0
  688. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/splines.mo +0 -0
  689. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/stats.mo +0 -0
  690. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/tcltk.mo +0 -0
  691. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/tools.mo +0 -0
  692. package/dist/vfs/usr/lib/R/library/translations/ko/LC_MESSAGES/utils.mo +0 -0
  693. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R-base.mo +0 -0
  694. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R-compiler.mo +0 -0
  695. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R-grDevices.mo +0 -0
  696. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R-graphics.mo +0 -0
  697. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R-grid.mo +0 -0
  698. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R-methods.mo +0 -0
  699. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R-parallel.mo +0 -0
  700. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R-splines.mo +0 -0
  701. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R-stats.mo +0 -0
  702. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R-stats4.mo +0 -0
  703. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R-tcltk.mo +0 -0
  704. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R-tools.mo +0 -0
  705. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R-utils.mo +0 -0
  706. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/R.mo +0 -0
  707. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/RGui.mo +0 -0
  708. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/grDevices.mo +0 -0
  709. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/graphics.mo +0 -0
  710. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/grid.mo +0 -0
  711. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/methods.mo +0 -0
  712. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/parallel.mo +0 -0
  713. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/splines.mo +0 -0
  714. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/stats.mo +0 -0
  715. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/tcltk.mo +0 -0
  716. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/tools.mo +0 -0
  717. package/dist/vfs/usr/lib/R/library/translations/lt/LC_MESSAGES/utils.mo +0 -0
  718. package/dist/vfs/usr/lib/R/library/translations/nn/LC_MESSAGES/R-base.mo +0 -0
  719. package/dist/vfs/usr/lib/R/library/translations/nn/LC_MESSAGES/R.mo +0 -0
  720. package/dist/vfs/usr/lib/R/library/translations/nn/LC_MESSAGES/RGui.mo +0 -0
  721. package/dist/vfs/usr/lib/R/library/translations/nn/LC_MESSAGES/graphics.mo +0 -0
  722. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R-base.mo +0 -0
  723. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R-compiler.mo +0 -0
  724. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R-grDevices.mo +0 -0
  725. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R-graphics.mo +0 -0
  726. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R-grid.mo +0 -0
  727. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R-methods.mo +0 -0
  728. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R-parallel.mo +0 -0
  729. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R-splines.mo +0 -0
  730. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R-stats.mo +0 -0
  731. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R-stats4.mo +0 -0
  732. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R-tcltk.mo +0 -0
  733. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R-tools.mo +0 -0
  734. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R-utils.mo +0 -0
  735. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/R.mo +0 -0
  736. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/RGui.mo +0 -0
  737. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/grDevices.mo +0 -0
  738. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/graphics.mo +0 -0
  739. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/grid.mo +0 -0
  740. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/methods.mo +0 -0
  741. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/parallel.mo +0 -0
  742. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/splines.mo +0 -0
  743. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/stats.mo +0 -0
  744. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/tcltk.mo +0 -0
  745. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/tools.mo +0 -0
  746. package/dist/vfs/usr/lib/R/library/translations/pl/LC_MESSAGES/utils.mo +0 -0
  747. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/R-base.mo +0 -0
  748. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/R-compiler.mo +0 -0
  749. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/R-grDevices.mo +0 -0
  750. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/R-graphics.mo +0 -0
  751. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/R-grid.mo +0 -0
  752. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/R-methods.mo +0 -0
  753. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/R-splines.mo +0 -0
  754. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/R-stats.mo +0 -0
  755. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/R-stats4.mo +0 -0
  756. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/R-tcltk.mo +0 -0
  757. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/R-tools.mo +0 -0
  758. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/R-utils.mo +0 -0
  759. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/R.mo +0 -0
  760. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/RGui.mo +0 -0
  761. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/grDevices.mo +0 -0
  762. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/graphics.mo +0 -0
  763. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/grid.mo +0 -0
  764. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/methods.mo +0 -0
  765. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/splines.mo +0 -0
  766. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/stats.mo +0 -0
  767. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/tcltk.mo +0 -0
  768. package/dist/vfs/usr/lib/R/library/translations/pt_BR/LC_MESSAGES/tools.mo +0 -0
  769. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R-base.mo +0 -0
  770. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R-compiler.mo +0 -0
  771. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R-grDevices.mo +0 -0
  772. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R-graphics.mo +0 -0
  773. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R-grid.mo +0 -0
  774. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R-methods.mo +0 -0
  775. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R-parallel.mo +0 -0
  776. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R-splines.mo +0 -0
  777. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R-stats.mo +0 -0
  778. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R-stats4.mo +0 -0
  779. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R-tcltk.mo +0 -0
  780. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R-tools.mo +0 -0
  781. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R-utils.mo +0 -0
  782. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/R.mo +0 -0
  783. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/RGui.mo +0 -0
  784. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/grDevices.mo +0 -0
  785. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/graphics.mo +0 -0
  786. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/grid.mo +0 -0
  787. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/methods.mo +0 -0
  788. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/parallel.mo +0 -0
  789. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/splines.mo +0 -0
  790. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/stats.mo +0 -0
  791. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/tcltk.mo +0 -0
  792. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/tools.mo +0 -0
  793. package/dist/vfs/usr/lib/R/library/translations/ru/LC_MESSAGES/utils.mo +0 -0
  794. package/dist/vfs/usr/lib/R/library/translations/tr/LC_MESSAGES/R-base.mo +0 -0
  795. package/dist/vfs/usr/lib/R/library/translations/tr/LC_MESSAGES/R-stats.mo +0 -0
  796. package/dist/vfs/usr/lib/R/library/translations/tr/LC_MESSAGES/R-stats4.mo +0 -0
  797. package/dist/vfs/usr/lib/R/library/translations/tr/LC_MESSAGES/R-tools.mo +0 -0
  798. package/dist/vfs/usr/lib/R/library/translations/tr/LC_MESSAGES/R-utils.mo +0 -0
  799. package/dist/vfs/usr/lib/R/library/translations/tr/LC_MESSAGES/R.mo +0 -0
  800. package/dist/vfs/usr/lib/R/library/translations/tr/LC_MESSAGES/RGui.mo +0 -0
  801. package/dist/vfs/usr/lib/R/library/translations/tr/LC_MESSAGES/graphics.mo +0 -0
  802. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R-base.mo +0 -0
  803. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R-compiler.mo +0 -0
  804. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R-grDevices.mo +0 -0
  805. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R-graphics.mo +0 -0
  806. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R-grid.mo +0 -0
  807. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R-methods.mo +0 -0
  808. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R-parallel.mo +0 -0
  809. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R-splines.mo +0 -0
  810. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R-stats.mo +0 -0
  811. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R-stats4.mo +0 -0
  812. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R-tcltk.mo +0 -0
  813. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R-tools.mo +0 -0
  814. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R-utils.mo +0 -0
  815. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/R.mo +0 -0
  816. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/RGui.mo +0 -0
  817. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/grDevices.mo +0 -0
  818. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/graphics.mo +0 -0
  819. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/grid.mo +0 -0
  820. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/methods.mo +0 -0
  821. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/parallel.mo +0 -0
  822. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/splines.mo +0 -0
  823. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/stats.mo +0 -0
  824. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/tcltk.mo +0 -0
  825. package/dist/vfs/usr/lib/R/library/translations/zh_CN/LC_MESSAGES/tools.mo +0 -0
  826. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R-base.mo +0 -0
  827. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R-compiler.mo +0 -0
  828. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R-grDevices.mo +0 -0
  829. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R-graphics.mo +0 -0
  830. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R-grid.mo +0 -0
  831. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R-methods.mo +0 -0
  832. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R-parallel.mo +0 -0
  833. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R-splines.mo +0 -0
  834. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R-stats.mo +0 -0
  835. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R-stats4.mo +0 -0
  836. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R-tcltk.mo +0 -0
  837. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R-tools.mo +0 -0
  838. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R-utils.mo +0 -0
  839. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/R.mo +0 -0
  840. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/RGui.mo +0 -0
  841. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/grDevices.mo +0 -0
  842. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/graphics.mo +0 -0
  843. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/grid.mo +0 -0
  844. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/methods.mo +0 -0
  845. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/parallel.mo +0 -0
  846. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/splines.mo +0 -0
  847. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/stats.mo +0 -0
  848. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/tcltk.mo +0 -0
  849. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/tools.mo +0 -0
  850. package/dist/vfs/usr/lib/R/library/translations/zh_TW/LC_MESSAGES/utils.mo +0 -0
  851. package/dist/vfs/usr/lib/R/library/utils/doc/Sweave.pdf +0 -0
  852. package/dist/vfs/usr/lib/R/library/utils/help/AnIndex +382 -0
  853. package/dist/vfs/usr/lib/R/library/utils/help/aliases.rds +0 -0
  854. package/dist/vfs/usr/lib/R/library/utils/help/paths.rds +0 -0
  855. package/dist/vfs/usr/lib/R/library/utils/help/utils.rdb +0 -0
  856. package/dist/vfs/usr/lib/R/library/utils/help/utils.rdx +0 -0
  857. package/dist/vfs/usr/lib/R/library/utils/html/00Index.html +802 -0
  858. package/dist/vfs/usr/lib/R/library/utils/html/R.css +130 -0
  859. package/dist/vfs/usr/lib/R/library/utils/misc/exDIF.csv +5 -0
  860. package/dist/vfs/usr/lib/R/library/utils/misc/exDIF.dif +44 -0
  861. package/dist/vfs/usr/lib/R/library/utils/tests/Sexpr-verb-ex.Rnw +44 -0
  862. package/dist/vfs/usr/lib/R/library/utils/tests/Sweave-tst.R +85 -0
  863. package/dist/vfs/usr/lib/R/library/utils/tests/charclass.R +97 -0
  864. package/dist/vfs/usr/lib/R/library/utils/tests/completion.R +37 -0
  865. package/dist/vfs/usr/lib/R/library/utils/tests/customgraphics.Rnw +20 -0
  866. package/dist/vfs/usr/lib/R/library/utils/tests/download.file.R +170 -0
  867. package/dist/vfs/usr/lib/R/library/utils/tests/keepsource.Rnw +12 -0
  868. package/dist/vfs/usr/lib/R/library/utils/tests/relist.R +24 -0
  869. package/dist/vfs/usr/lib/R/library/utils/tests/swv-keepSrc-1.Rnw +48 -0
  870. package/dist/vfs/usr/lib/R/modules/internet.so +0 -0
  871. package/dist/vfs/usr/lib/R/modules/lapack.so +0 -0
  872. package/dist/vfs/usr/lib/R/share/R/REMOVE.R +82 -0
  873. package/dist/vfs/usr/lib/R/share/R/examples-footer.R +12 -0
  874. package/dist/vfs/usr/lib/R/share/R/examples-header.R +85 -0
  875. package/dist/vfs/usr/lib/R/share/R/nspackloader.R +27 -0
  876. package/dist/vfs/usr/lib/R/share/R/tests-startup.R +4 -0
  877. package/dist/vfs/usr/lib/R/share/Rd/macros/system.Rd +56 -0
  878. package/dist/vfs/usr/lib/R/share/dictionaries/en_stats.rds +0 -0
  879. package/dist/vfs/usr/lib/R/share/encodings/Adobe-glyphlist +4200 -0
  880. package/dist/vfs/usr/lib/R/share/encodings/character-sets +1900 -0
  881. package/dist/vfs/usr/lib/R/share/java/README +3 -0
  882. package/dist/vfs/usr/lib/R/share/java/getsp.class +0 -0
  883. package/dist/vfs/usr/lib/R/share/licenses/AGPL-3 +661 -0
  884. package/dist/vfs/usr/lib/R/share/licenses/Artistic-2.0 +197 -0
  885. package/dist/vfs/usr/lib/R/share/licenses/BSD_2_clause +40 -0
  886. package/dist/vfs/usr/lib/R/share/licenses/BSD_3_clause +46 -0
  887. package/dist/vfs/usr/lib/R/share/licenses/GPL-2 +339 -0
  888. package/dist/vfs/usr/lib/R/share/licenses/GPL-3 +674 -0
  889. package/dist/vfs/usr/lib/R/share/licenses/LGPL-2 +481 -0
  890. package/dist/vfs/usr/lib/R/share/licenses/LGPL-2.1 +502 -0
  891. package/dist/vfs/usr/lib/R/share/licenses/LGPL-3 +165 -0
  892. package/dist/vfs/usr/lib/R/share/licenses/MIT +35 -0
  893. package/dist/vfs/usr/lib/R/share/licenses/license.db +268 -0
  894. package/dist/vfs/usr/lib/R/share/make/basepkg.mk +207 -0
  895. package/dist/vfs/usr/lib/R/share/make/check_vars_ini.mk +18 -0
  896. package/dist/vfs/usr/lib/R/share/make/check_vars_out.mk +22 -0
  897. package/dist/vfs/usr/lib/R/share/make/clean.mk +2 -0
  898. package/dist/vfs/usr/lib/R/share/make/config.mk +6 -0
  899. package/dist/vfs/usr/lib/R/share/make/lazycomp.mk +23 -0
  900. package/dist/vfs/usr/lib/R/share/make/shlib.mk +30 -0
  901. package/dist/vfs/usr/lib/R/share/make/vars.mk +14 -0
  902. package/dist/vfs/usr/lib/R/share/make/winshlib.mk +41 -0
  903. package/dist/vfs/usr/lib/R/share/sh/echo.sh +4 -0
  904. package/dist/vfs/usr/lib/R/share/texmf/bibtex/bib/RJournal.bib +10345 -0
  905. package/dist/vfs/usr/lib/R/share/texmf/bibtex/bib/Rnews.bib +2733 -0
  906. package/dist/vfs/usr/lib/R/share/texmf/bibtex/bst/jss.bst +1653 -0
  907. package/dist/vfs/usr/lib/R/share/texmf/tex/latex/Rd.sty +450 -0
  908. package/dist/vfs/usr/lib/R/share/texmf/tex/latex/Sweave.sty +59 -0
  909. package/dist/vfs/usr/lib/R/share/texmf/tex/latex/jss.cls +490 -0
  910. package/dist/vfs/usr/lib/R/share/texmf/tex/latex/omscmtt.fd +21 -0
  911. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Abidjan +0 -0
  912. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Accra +0 -0
  913. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Addis_Ababa +0 -0
  914. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Algiers +0 -0
  915. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Asmara +0 -0
  916. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Asmera +0 -0
  917. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Bamako +0 -0
  918. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Bangui +0 -0
  919. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Banjul +0 -0
  920. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Bissau +0 -0
  921. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Blantyre +0 -0
  922. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Brazzaville +0 -0
  923. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Bujumbura +0 -0
  924. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Cairo +0 -0
  925. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Casablanca +0 -0
  926. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Ceuta +0 -0
  927. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Conakry +0 -0
  928. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Dakar +0 -0
  929. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Dar_es_Salaam +0 -0
  930. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Djibouti +0 -0
  931. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Douala +0 -0
  932. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/El_Aaiun +0 -0
  933. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Freetown +0 -0
  934. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Gaborone +0 -0
  935. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Harare +0 -0
  936. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Johannesburg +0 -0
  937. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Juba +0 -0
  938. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Kampala +0 -0
  939. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Khartoum +0 -0
  940. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Kigali +0 -0
  941. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Kinshasa +0 -0
  942. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Lagos +0 -0
  943. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Libreville +0 -0
  944. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Lome +0 -0
  945. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Luanda +0 -0
  946. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Lubumbashi +0 -0
  947. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Lusaka +0 -0
  948. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Malabo +0 -0
  949. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Maputo +0 -0
  950. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Maseru +0 -0
  951. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Mbabane +0 -0
  952. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Mogadishu +0 -0
  953. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Monrovia +0 -0
  954. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Nairobi +0 -0
  955. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Ndjamena +0 -0
  956. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Niamey +0 -0
  957. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Nouakchott +0 -0
  958. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Ouagadougou +0 -0
  959. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Porto-Novo +0 -0
  960. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Sao_Tome +0 -0
  961. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Timbuktu +0 -0
  962. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Tripoli +0 -0
  963. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Tunis +0 -0
  964. package/dist/vfs/usr/lib/R/share/zoneinfo/Africa/Windhoek +0 -0
  965. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Adak +0 -0
  966. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Anchorage +0 -0
  967. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Anguilla +0 -0
  968. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Antigua +0 -0
  969. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Araguaina +0 -0
  970. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Argentina/Buenos_Aires +0 -0
  971. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Argentina/Catamarca +0 -0
  972. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Argentina/ComodRivadavia +0 -0
  973. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Argentina/Cordoba +0 -0
  974. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Argentina/Jujuy +0 -0
  975. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Argentina/La_Rioja +0 -0
  976. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Argentina/Mendoza +0 -0
  977. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Argentina/Rio_Gallegos +0 -0
  978. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Argentina/Salta +0 -0
  979. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Argentina/San_Juan +0 -0
  980. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Argentina/San_Luis +0 -0
  981. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Argentina/Tucuman +0 -0
  982. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Argentina/Ushuaia +0 -0
  983. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Aruba +0 -0
  984. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Asuncion +0 -0
  985. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Atikokan +0 -0
  986. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Atka +0 -0
  987. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Bahia +0 -0
  988. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Bahia_Banderas +0 -0
  989. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Barbados +0 -0
  990. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Belem +0 -0
  991. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Belize +0 -0
  992. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Blanc-Sablon +0 -0
  993. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Boa_Vista +0 -0
  994. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Bogota +0 -0
  995. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Boise +0 -0
  996. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Buenos_Aires +0 -0
  997. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Cambridge_Bay +0 -0
  998. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Campo_Grande +0 -0
  999. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Cancun +0 -0
  1000. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Caracas +0 -0
  1001. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Catamarca +0 -0
  1002. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Cayenne +0 -0
  1003. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Cayman +0 -0
  1004. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Chicago +0 -0
  1005. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Chihuahua +0 -0
  1006. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Ciudad_Juarez +0 -0
  1007. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Coral_Harbour +0 -0
  1008. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Cordoba +0 -0
  1009. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Costa_Rica +0 -0
  1010. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Creston +0 -0
  1011. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Cuiaba +0 -0
  1012. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Curacao +0 -0
  1013. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Danmarkshavn +0 -0
  1014. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Dawson +0 -0
  1015. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Dawson_Creek +0 -0
  1016. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Denver +0 -0
  1017. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Detroit +0 -0
  1018. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Dominica +0 -0
  1019. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Edmonton +0 -0
  1020. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Eirunepe +0 -0
  1021. package/dist/vfs/usr/lib/R/share/zoneinfo/America/El_Salvador +0 -0
  1022. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Ensenada +0 -0
  1023. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Fort_Nelson +0 -0
  1024. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Fort_Wayne +0 -0
  1025. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Fortaleza +0 -0
  1026. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Glace_Bay +0 -0
  1027. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Godthab +0 -0
  1028. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Goose_Bay +0 -0
  1029. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Grand_Turk +0 -0
  1030. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Grenada +0 -0
  1031. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Guadeloupe +0 -0
  1032. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Guatemala +0 -0
  1033. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Guayaquil +0 -0
  1034. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Guyana +0 -0
  1035. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Halifax +0 -0
  1036. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Havana +0 -0
  1037. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Hermosillo +0 -0
  1038. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Indiana/Indianapolis +0 -0
  1039. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Indiana/Knox +0 -0
  1040. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Indiana/Marengo +0 -0
  1041. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Indiana/Petersburg +0 -0
  1042. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Indiana/Tell_City +0 -0
  1043. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Indiana/Vevay +0 -0
  1044. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Indiana/Vincennes +0 -0
  1045. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Indiana/Winamac +0 -0
  1046. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Indianapolis +0 -0
  1047. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Inuvik +0 -0
  1048. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Iqaluit +0 -0
  1049. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Jamaica +0 -0
  1050. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Jujuy +0 -0
  1051. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Juneau +0 -0
  1052. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Kentucky/Louisville +0 -0
  1053. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Kentucky/Monticello +0 -0
  1054. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Knox_IN +0 -0
  1055. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Kralendijk +0 -0
  1056. package/dist/vfs/usr/lib/R/share/zoneinfo/America/La_Paz +0 -0
  1057. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Lima +0 -0
  1058. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Los_Angeles +0 -0
  1059. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Louisville +0 -0
  1060. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Lower_Princes +0 -0
  1061. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Maceio +0 -0
  1062. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Managua +0 -0
  1063. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Manaus +0 -0
  1064. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Marigot +0 -0
  1065. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Martinique +0 -0
  1066. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Matamoros +0 -0
  1067. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Mazatlan +0 -0
  1068. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Mendoza +0 -0
  1069. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Menominee +0 -0
  1070. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Merida +0 -0
  1071. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Metlakatla +0 -0
  1072. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Mexico_City +0 -0
  1073. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Miquelon +0 -0
  1074. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Moncton +0 -0
  1075. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Monterrey +0 -0
  1076. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Montevideo +0 -0
  1077. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Montreal +0 -0
  1078. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Montserrat +0 -0
  1079. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Nassau +0 -0
  1080. package/dist/vfs/usr/lib/R/share/zoneinfo/America/New_York +0 -0
  1081. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Nipigon +0 -0
  1082. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Nome +0 -0
  1083. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Noronha +0 -0
  1084. package/dist/vfs/usr/lib/R/share/zoneinfo/America/North_Dakota/Beulah +0 -0
  1085. package/dist/vfs/usr/lib/R/share/zoneinfo/America/North_Dakota/Center +0 -0
  1086. package/dist/vfs/usr/lib/R/share/zoneinfo/America/North_Dakota/New_Salem +0 -0
  1087. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Nuuk +0 -0
  1088. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Ojinaga +0 -0
  1089. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Panama +0 -0
  1090. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Pangnirtung +0 -0
  1091. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Paramaribo +0 -0
  1092. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Phoenix +0 -0
  1093. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Port-au-Prince +0 -0
  1094. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Port_of_Spain +0 -0
  1095. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Porto_Acre +0 -0
  1096. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Porto_Velho +0 -0
  1097. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Puerto_Rico +0 -0
  1098. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Punta_Arenas +0 -0
  1099. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Rainy_River +0 -0
  1100. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Rankin_Inlet +0 -0
  1101. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Recife +0 -0
  1102. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Regina +0 -0
  1103. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Resolute +0 -0
  1104. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Rio_Branco +0 -0
  1105. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Rosario +0 -0
  1106. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Santa_Isabel +0 -0
  1107. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Santarem +0 -0
  1108. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Santiago +0 -0
  1109. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Santo_Domingo +0 -0
  1110. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Sao_Paulo +0 -0
  1111. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Scoresbysund +0 -0
  1112. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Shiprock +0 -0
  1113. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Sitka +0 -0
  1114. package/dist/vfs/usr/lib/R/share/zoneinfo/America/St_Barthelemy +0 -0
  1115. package/dist/vfs/usr/lib/R/share/zoneinfo/America/St_Johns +0 -0
  1116. package/dist/vfs/usr/lib/R/share/zoneinfo/America/St_Kitts +0 -0
  1117. package/dist/vfs/usr/lib/R/share/zoneinfo/America/St_Lucia +0 -0
  1118. package/dist/vfs/usr/lib/R/share/zoneinfo/America/St_Thomas +0 -0
  1119. package/dist/vfs/usr/lib/R/share/zoneinfo/America/St_Vincent +0 -0
  1120. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Swift_Current +0 -0
  1121. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Tegucigalpa +0 -0
  1122. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Thule +0 -0
  1123. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Thunder_Bay +0 -0
  1124. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Tijuana +0 -0
  1125. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Toronto +0 -0
  1126. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Tortola +0 -0
  1127. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Vancouver +0 -0
  1128. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Virgin +0 -0
  1129. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Whitehorse +0 -0
  1130. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Winnipeg +0 -0
  1131. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Yakutat +0 -0
  1132. package/dist/vfs/usr/lib/R/share/zoneinfo/America/Yellowknife +0 -0
  1133. package/dist/vfs/usr/lib/R/share/zoneinfo/Antarctica/Casey +0 -0
  1134. package/dist/vfs/usr/lib/R/share/zoneinfo/Antarctica/Davis +0 -0
  1135. package/dist/vfs/usr/lib/R/share/zoneinfo/Antarctica/DumontDUrville +0 -0
  1136. package/dist/vfs/usr/lib/R/share/zoneinfo/Antarctica/Macquarie +0 -0
  1137. package/dist/vfs/usr/lib/R/share/zoneinfo/Antarctica/Mawson +0 -0
  1138. package/dist/vfs/usr/lib/R/share/zoneinfo/Antarctica/McMurdo +0 -0
  1139. package/dist/vfs/usr/lib/R/share/zoneinfo/Antarctica/Palmer +0 -0
  1140. package/dist/vfs/usr/lib/R/share/zoneinfo/Antarctica/Rothera +0 -0
  1141. package/dist/vfs/usr/lib/R/share/zoneinfo/Antarctica/South_Pole +0 -0
  1142. package/dist/vfs/usr/lib/R/share/zoneinfo/Antarctica/Syowa +0 -0
  1143. package/dist/vfs/usr/lib/R/share/zoneinfo/Antarctica/Troll +0 -0
  1144. package/dist/vfs/usr/lib/R/share/zoneinfo/Antarctica/Vostok +0 -0
  1145. package/dist/vfs/usr/lib/R/share/zoneinfo/Arctic/Longyearbyen +0 -0
  1146. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Aden +0 -0
  1147. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Almaty +0 -0
  1148. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Amman +0 -0
  1149. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Anadyr +0 -0
  1150. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Aqtau +0 -0
  1151. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Aqtobe +0 -0
  1152. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Ashgabat +0 -0
  1153. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Ashkhabad +0 -0
  1154. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Atyrau +0 -0
  1155. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Baghdad +0 -0
  1156. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Bahrain +0 -0
  1157. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Baku +0 -0
  1158. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Bangkok +0 -0
  1159. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Barnaul +0 -0
  1160. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Beirut +0 -0
  1161. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Bishkek +0 -0
  1162. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Brunei +0 -0
  1163. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Calcutta +0 -0
  1164. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Chita +0 -0
  1165. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Choibalsan +0 -0
  1166. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Chongqing +0 -0
  1167. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Chungking +0 -0
  1168. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Colombo +0 -0
  1169. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Dacca +0 -0
  1170. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Damascus +0 -0
  1171. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Dhaka +0 -0
  1172. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Dili +0 -0
  1173. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Dubai +0 -0
  1174. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Dushanbe +0 -0
  1175. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Famagusta +0 -0
  1176. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Gaza +0 -0
  1177. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Harbin +0 -0
  1178. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Hebron +0 -0
  1179. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Ho_Chi_Minh +0 -0
  1180. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Hong_Kong +0 -0
  1181. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Hovd +0 -0
  1182. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Irkutsk +0 -0
  1183. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Istanbul +0 -0
  1184. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Jakarta +0 -0
  1185. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Jayapura +0 -0
  1186. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Jerusalem +0 -0
  1187. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Kabul +0 -0
  1188. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Kamchatka +0 -0
  1189. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Karachi +0 -0
  1190. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Kashgar +0 -0
  1191. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Kathmandu +0 -0
  1192. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Katmandu +0 -0
  1193. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Khandyga +0 -0
  1194. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Kolkata +0 -0
  1195. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Krasnoyarsk +0 -0
  1196. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Kuala_Lumpur +0 -0
  1197. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Kuching +0 -0
  1198. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Kuwait +0 -0
  1199. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Macao +0 -0
  1200. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Macau +0 -0
  1201. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Magadan +0 -0
  1202. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Makassar +0 -0
  1203. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Manila +0 -0
  1204. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Muscat +0 -0
  1205. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Nicosia +0 -0
  1206. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Novokuznetsk +0 -0
  1207. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Novosibirsk +0 -0
  1208. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Omsk +0 -0
  1209. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Oral +0 -0
  1210. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Phnom_Penh +0 -0
  1211. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Pontianak +0 -0
  1212. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Pyongyang +0 -0
  1213. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Qatar +0 -0
  1214. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Qostanay +0 -0
  1215. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Qyzylorda +0 -0
  1216. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Rangoon +0 -0
  1217. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Riyadh +0 -0
  1218. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Saigon +0 -0
  1219. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Sakhalin +0 -0
  1220. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Samarkand +0 -0
  1221. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Seoul +0 -0
  1222. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Shanghai +0 -0
  1223. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Singapore +0 -0
  1224. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Srednekolymsk +0 -0
  1225. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Taipei +0 -0
  1226. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Tashkent +0 -0
  1227. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Tbilisi +0 -0
  1228. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Tehran +0 -0
  1229. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Tel_Aviv +0 -0
  1230. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Thimbu +0 -0
  1231. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Thimphu +0 -0
  1232. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Tokyo +0 -0
  1233. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Tomsk +0 -0
  1234. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Ujung_Pandang +0 -0
  1235. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Ulaanbaatar +0 -0
  1236. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Ulan_Bator +0 -0
  1237. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Urumqi +0 -0
  1238. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Ust-Nera +0 -0
  1239. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Vientiane +0 -0
  1240. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Vladivostok +0 -0
  1241. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Yakutsk +0 -0
  1242. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Yangon +0 -0
  1243. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Yekaterinburg +0 -0
  1244. package/dist/vfs/usr/lib/R/share/zoneinfo/Asia/Yerevan +0 -0
  1245. package/dist/vfs/usr/lib/R/share/zoneinfo/Atlantic/Azores +0 -0
  1246. package/dist/vfs/usr/lib/R/share/zoneinfo/Atlantic/Bermuda +0 -0
  1247. package/dist/vfs/usr/lib/R/share/zoneinfo/Atlantic/Canary +0 -0
  1248. package/dist/vfs/usr/lib/R/share/zoneinfo/Atlantic/Cape_Verde +0 -0
  1249. package/dist/vfs/usr/lib/R/share/zoneinfo/Atlantic/Faeroe +0 -0
  1250. package/dist/vfs/usr/lib/R/share/zoneinfo/Atlantic/Faroe +0 -0
  1251. package/dist/vfs/usr/lib/R/share/zoneinfo/Atlantic/Jan_Mayen +0 -0
  1252. package/dist/vfs/usr/lib/R/share/zoneinfo/Atlantic/Madeira +0 -0
  1253. package/dist/vfs/usr/lib/R/share/zoneinfo/Atlantic/Reykjavik +0 -0
  1254. package/dist/vfs/usr/lib/R/share/zoneinfo/Atlantic/South_Georgia +0 -0
  1255. package/dist/vfs/usr/lib/R/share/zoneinfo/Atlantic/St_Helena +0 -0
  1256. package/dist/vfs/usr/lib/R/share/zoneinfo/Atlantic/Stanley +0 -0
  1257. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/ACT +0 -0
  1258. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Adelaide +0 -0
  1259. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Brisbane +0 -0
  1260. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Broken_Hill +0 -0
  1261. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Canberra +0 -0
  1262. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Currie +0 -0
  1263. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Darwin +0 -0
  1264. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Eucla +0 -0
  1265. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Hobart +0 -0
  1266. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/LHI +0 -0
  1267. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Lindeman +0 -0
  1268. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Lord_Howe +0 -0
  1269. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Melbourne +0 -0
  1270. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/NSW +0 -0
  1271. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/North +0 -0
  1272. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Perth +0 -0
  1273. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Queensland +0 -0
  1274. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/South +0 -0
  1275. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Sydney +0 -0
  1276. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Tasmania +0 -0
  1277. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Victoria +0 -0
  1278. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/West +0 -0
  1279. package/dist/vfs/usr/lib/R/share/zoneinfo/Australia/Yancowinna +0 -0
  1280. package/dist/vfs/usr/lib/R/share/zoneinfo/Brazil/Acre +0 -0
  1281. package/dist/vfs/usr/lib/R/share/zoneinfo/Brazil/DeNoronha +0 -0
  1282. package/dist/vfs/usr/lib/R/share/zoneinfo/Brazil/East +0 -0
  1283. package/dist/vfs/usr/lib/R/share/zoneinfo/Brazil/West +0 -0
  1284. package/dist/vfs/usr/lib/R/share/zoneinfo/CET +0 -0
  1285. package/dist/vfs/usr/lib/R/share/zoneinfo/CST6CDT +0 -0
  1286. package/dist/vfs/usr/lib/R/share/zoneinfo/Canada/Atlantic +0 -0
  1287. package/dist/vfs/usr/lib/R/share/zoneinfo/Canada/Central +0 -0
  1288. package/dist/vfs/usr/lib/R/share/zoneinfo/Canada/Eastern +0 -0
  1289. package/dist/vfs/usr/lib/R/share/zoneinfo/Canada/Mountain +0 -0
  1290. package/dist/vfs/usr/lib/R/share/zoneinfo/Canada/Newfoundland +0 -0
  1291. package/dist/vfs/usr/lib/R/share/zoneinfo/Canada/Pacific +0 -0
  1292. package/dist/vfs/usr/lib/R/share/zoneinfo/Canada/Saskatchewan +0 -0
  1293. package/dist/vfs/usr/lib/R/share/zoneinfo/Canada/Yukon +0 -0
  1294. package/dist/vfs/usr/lib/R/share/zoneinfo/Chile/Continental +0 -0
  1295. package/dist/vfs/usr/lib/R/share/zoneinfo/Chile/EasterIsland +0 -0
  1296. package/dist/vfs/usr/lib/R/share/zoneinfo/Cuba +0 -0
  1297. package/dist/vfs/usr/lib/R/share/zoneinfo/EET +0 -0
  1298. package/dist/vfs/usr/lib/R/share/zoneinfo/EST +0 -0
  1299. package/dist/vfs/usr/lib/R/share/zoneinfo/EST5EDT +0 -0
  1300. package/dist/vfs/usr/lib/R/share/zoneinfo/Egypt +0 -0
  1301. package/dist/vfs/usr/lib/R/share/zoneinfo/Eire +0 -0
  1302. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT +0 -0
  1303. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT+0 +0 -0
  1304. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT+1 +0 -0
  1305. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT+10 +0 -0
  1306. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT+11 +0 -0
  1307. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT+12 +0 -0
  1308. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT+2 +0 -0
  1309. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT+3 +0 -0
  1310. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT+4 +0 -0
  1311. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT+5 +0 -0
  1312. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT+6 +0 -0
  1313. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT+7 +0 -0
  1314. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT+8 +0 -0
  1315. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT+9 +0 -0
  1316. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-0 +0 -0
  1317. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-1 +0 -0
  1318. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-10 +0 -0
  1319. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-11 +0 -0
  1320. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-12 +0 -0
  1321. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-13 +0 -0
  1322. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-14 +0 -0
  1323. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-2 +0 -0
  1324. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-3 +0 -0
  1325. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-4 +0 -0
  1326. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-5 +0 -0
  1327. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-6 +0 -0
  1328. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-7 +0 -0
  1329. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-8 +0 -0
  1330. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT-9 +0 -0
  1331. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/GMT0 +0 -0
  1332. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/Greenwich +0 -0
  1333. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/UCT +0 -0
  1334. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/UTC +0 -0
  1335. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/Universal +0 -0
  1336. package/dist/vfs/usr/lib/R/share/zoneinfo/Etc/Zulu +0 -0
  1337. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Amsterdam +0 -0
  1338. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Andorra +0 -0
  1339. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Astrakhan +0 -0
  1340. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Athens +0 -0
  1341. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Belfast +0 -0
  1342. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Belgrade +0 -0
  1343. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Berlin +0 -0
  1344. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Bratislava +0 -0
  1345. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Brussels +0 -0
  1346. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Bucharest +0 -0
  1347. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Budapest +0 -0
  1348. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Busingen +0 -0
  1349. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Chisinau +0 -0
  1350. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Copenhagen +0 -0
  1351. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Dublin +0 -0
  1352. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Gibraltar +0 -0
  1353. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Guernsey +0 -0
  1354. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Helsinki +0 -0
  1355. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Isle_of_Man +0 -0
  1356. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Istanbul +0 -0
  1357. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Jersey +0 -0
  1358. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Kaliningrad +0 -0
  1359. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Kiev +0 -0
  1360. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Kirov +0 -0
  1361. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Kyiv +0 -0
  1362. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Lisbon +0 -0
  1363. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Ljubljana +0 -0
  1364. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/London +0 -0
  1365. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Luxembourg +0 -0
  1366. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Madrid +0 -0
  1367. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Malta +0 -0
  1368. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Mariehamn +0 -0
  1369. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Minsk +0 -0
  1370. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Monaco +0 -0
  1371. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Moscow +0 -0
  1372. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Nicosia +0 -0
  1373. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Oslo +0 -0
  1374. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Paris +0 -0
  1375. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Podgorica +0 -0
  1376. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Prague +0 -0
  1377. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Riga +0 -0
  1378. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Rome +0 -0
  1379. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Samara +0 -0
  1380. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/San_Marino +0 -0
  1381. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Sarajevo +0 -0
  1382. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Saratov +0 -0
  1383. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Simferopol +0 -0
  1384. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Skopje +0 -0
  1385. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Sofia +0 -0
  1386. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Stockholm +0 -0
  1387. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Tallinn +0 -0
  1388. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Tirane +0 -0
  1389. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Tiraspol +0 -0
  1390. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Ulyanovsk +0 -0
  1391. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Uzhgorod +0 -0
  1392. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Vaduz +0 -0
  1393. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Vatican +0 -0
  1394. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Vienna +0 -0
  1395. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Vilnius +0 -0
  1396. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Volgograd +0 -0
  1397. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Warsaw +0 -0
  1398. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Zagreb +0 -0
  1399. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Zaporozhye +0 -0
  1400. package/dist/vfs/usr/lib/R/share/zoneinfo/Europe/Zurich +0 -0
  1401. package/dist/vfs/usr/lib/R/share/zoneinfo/GB +0 -0
  1402. package/dist/vfs/usr/lib/R/share/zoneinfo/GB-Eire +0 -0
  1403. package/dist/vfs/usr/lib/R/share/zoneinfo/GMT +0 -0
  1404. package/dist/vfs/usr/lib/R/share/zoneinfo/GMT+0 +0 -0
  1405. package/dist/vfs/usr/lib/R/share/zoneinfo/GMT-0 +0 -0
  1406. package/dist/vfs/usr/lib/R/share/zoneinfo/GMT0 +0 -0
  1407. package/dist/vfs/usr/lib/R/share/zoneinfo/Greenwich +0 -0
  1408. package/dist/vfs/usr/lib/R/share/zoneinfo/HST +0 -0
  1409. package/dist/vfs/usr/lib/R/share/zoneinfo/Hongkong +0 -0
  1410. package/dist/vfs/usr/lib/R/share/zoneinfo/Iceland +0 -0
  1411. package/dist/vfs/usr/lib/R/share/zoneinfo/Indian/Antananarivo +0 -0
  1412. package/dist/vfs/usr/lib/R/share/zoneinfo/Indian/Chagos +0 -0
  1413. package/dist/vfs/usr/lib/R/share/zoneinfo/Indian/Christmas +0 -0
  1414. package/dist/vfs/usr/lib/R/share/zoneinfo/Indian/Cocos +0 -0
  1415. package/dist/vfs/usr/lib/R/share/zoneinfo/Indian/Comoro +0 -0
  1416. package/dist/vfs/usr/lib/R/share/zoneinfo/Indian/Kerguelen +0 -0
  1417. package/dist/vfs/usr/lib/R/share/zoneinfo/Indian/Mahe +0 -0
  1418. package/dist/vfs/usr/lib/R/share/zoneinfo/Indian/Maldives +0 -0
  1419. package/dist/vfs/usr/lib/R/share/zoneinfo/Indian/Mauritius +0 -0
  1420. package/dist/vfs/usr/lib/R/share/zoneinfo/Indian/Mayotte +0 -0
  1421. package/dist/vfs/usr/lib/R/share/zoneinfo/Indian/Reunion +0 -0
  1422. package/dist/vfs/usr/lib/R/share/zoneinfo/Iran +0 -0
  1423. package/dist/vfs/usr/lib/R/share/zoneinfo/Israel +0 -0
  1424. package/dist/vfs/usr/lib/R/share/zoneinfo/Jamaica +0 -0
  1425. package/dist/vfs/usr/lib/R/share/zoneinfo/Japan +0 -0
  1426. package/dist/vfs/usr/lib/R/share/zoneinfo/Kwajalein +0 -0
  1427. package/dist/vfs/usr/lib/R/share/zoneinfo/Libya +0 -0
  1428. package/dist/vfs/usr/lib/R/share/zoneinfo/MET +0 -0
  1429. package/dist/vfs/usr/lib/R/share/zoneinfo/MST +0 -0
  1430. package/dist/vfs/usr/lib/R/share/zoneinfo/MST7MDT +0 -0
  1431. package/dist/vfs/usr/lib/R/share/zoneinfo/Mexico/BajaNorte +0 -0
  1432. package/dist/vfs/usr/lib/R/share/zoneinfo/Mexico/BajaSur +0 -0
  1433. package/dist/vfs/usr/lib/R/share/zoneinfo/Mexico/General +0 -0
  1434. package/dist/vfs/usr/lib/R/share/zoneinfo/NZ +0 -0
  1435. package/dist/vfs/usr/lib/R/share/zoneinfo/NZ-CHAT +0 -0
  1436. package/dist/vfs/usr/lib/R/share/zoneinfo/Navajo +0 -0
  1437. package/dist/vfs/usr/lib/R/share/zoneinfo/PRC +0 -0
  1438. package/dist/vfs/usr/lib/R/share/zoneinfo/PST8PDT +0 -0
  1439. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Apia +0 -0
  1440. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Auckland +0 -0
  1441. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Bougainville +0 -0
  1442. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Chatham +0 -0
  1443. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Chuuk +0 -0
  1444. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Easter +0 -0
  1445. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Efate +0 -0
  1446. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Enderbury +0 -0
  1447. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Fakaofo +0 -0
  1448. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Fiji +0 -0
  1449. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Funafuti +0 -0
  1450. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Galapagos +0 -0
  1451. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Gambier +0 -0
  1452. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Guadalcanal +0 -0
  1453. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Guam +0 -0
  1454. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Honolulu +0 -0
  1455. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Johnston +0 -0
  1456. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Kanton +0 -0
  1457. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Kiritimati +0 -0
  1458. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Kosrae +0 -0
  1459. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Kwajalein +0 -0
  1460. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Majuro +0 -0
  1461. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Marquesas +0 -0
  1462. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Midway +0 -0
  1463. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Nauru +0 -0
  1464. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Niue +0 -0
  1465. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Norfolk +0 -0
  1466. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Noumea +0 -0
  1467. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Pago_Pago +0 -0
  1468. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Palau +0 -0
  1469. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Pitcairn +0 -0
  1470. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Pohnpei +0 -0
  1471. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Ponape +0 -0
  1472. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Port_Moresby +0 -0
  1473. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Rarotonga +0 -0
  1474. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Saipan +0 -0
  1475. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Samoa +0 -0
  1476. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Tahiti +0 -0
  1477. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Tarawa +0 -0
  1478. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Tongatapu +0 -0
  1479. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Truk +0 -0
  1480. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Wake +0 -0
  1481. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Wallis +0 -0
  1482. package/dist/vfs/usr/lib/R/share/zoneinfo/Pacific/Yap +0 -0
  1483. package/dist/vfs/usr/lib/R/share/zoneinfo/Poland +0 -0
  1484. package/dist/vfs/usr/lib/R/share/zoneinfo/Portugal +0 -0
  1485. package/dist/vfs/usr/lib/R/share/zoneinfo/ROC +0 -0
  1486. package/dist/vfs/usr/lib/R/share/zoneinfo/ROK +0 -0
  1487. package/dist/vfs/usr/lib/R/share/zoneinfo/Singapore +0 -0
  1488. package/dist/vfs/usr/lib/R/share/zoneinfo/Turkey +0 -0
  1489. package/dist/vfs/usr/lib/R/share/zoneinfo/UCT +0 -0
  1490. package/dist/vfs/usr/lib/R/share/zoneinfo/US/Alaska +0 -0
  1491. package/dist/vfs/usr/lib/R/share/zoneinfo/US/Aleutian +0 -0
  1492. package/dist/vfs/usr/lib/R/share/zoneinfo/US/Arizona +0 -0
  1493. package/dist/vfs/usr/lib/R/share/zoneinfo/US/Central +0 -0
  1494. package/dist/vfs/usr/lib/R/share/zoneinfo/US/East-Indiana +0 -0
  1495. package/dist/vfs/usr/lib/R/share/zoneinfo/US/Eastern +0 -0
  1496. package/dist/vfs/usr/lib/R/share/zoneinfo/US/Hawaii +0 -0
  1497. package/dist/vfs/usr/lib/R/share/zoneinfo/US/Indiana-Starke +0 -0
  1498. package/dist/vfs/usr/lib/R/share/zoneinfo/US/Michigan +0 -0
  1499. package/dist/vfs/usr/lib/R/share/zoneinfo/US/Mountain +0 -0
  1500. package/dist/vfs/usr/lib/R/share/zoneinfo/US/Pacific +0 -0
  1501. package/dist/vfs/usr/lib/R/share/zoneinfo/US/Samoa +0 -0
  1502. package/dist/vfs/usr/lib/R/share/zoneinfo/UTC +0 -0
  1503. package/dist/vfs/usr/lib/R/share/zoneinfo/Universal +0 -0
  1504. package/dist/vfs/usr/lib/R/share/zoneinfo/VERSION +1 -0
  1505. package/dist/vfs/usr/lib/R/share/zoneinfo/W-SU +0 -0
  1506. package/dist/vfs/usr/lib/R/share/zoneinfo/WET +0 -0
  1507. package/dist/vfs/usr/lib/R/share/zoneinfo/Zulu +0 -0
  1508. package/dist/vfs/usr/lib/R/share/zoneinfo/iso3166.tab +274 -0
  1509. package/dist/vfs/usr/lib/R/share/zoneinfo/zone.tab +448 -0
  1510. package/dist/vfs/usr/lib/R/share/zoneinfo/zone1970.tab +374 -0
  1511. package/dist/vfs/usr/lib/R/tests/CRANtools.R +35 -0
  1512. package/dist/vfs/usr/lib/R/tests/EmbeddedNuls.csv +0 -0
  1513. package/dist/vfs/usr/lib/R/tests/Examples/datasets-Ex.Rout.save +3602 -0
  1514. package/dist/vfs/usr/lib/R/tests/Examples/grDevices-Ex.Rout.save +4379 -0
  1515. package/dist/vfs/usr/lib/R/tests/Examples/graphics-Ex.Rout.save +3237 -0
  1516. package/dist/vfs/usr/lib/R/tests/Examples/grid-Ex.Rout.save +2458 -0
  1517. package/dist/vfs/usr/lib/R/tests/Examples/splines-Ex.Rout.save +599 -0
  1518. package/dist/vfs/usr/lib/R/tests/Examples/stats-Ex.Rout.save +19391 -0
  1519. package/dist/vfs/usr/lib/R/tests/Examples/stats4-Ex.Rout.save +340 -0
  1520. package/dist/vfs/usr/lib/R/tests/Examples/tools-Ex.Rout.save +1125 -0
  1521. package/dist/vfs/usr/lib/R/tests/Makefile +76 -0
  1522. package/dist/vfs/usr/lib/R/tests/Makefile.common +529 -0
  1523. package/dist/vfs/usr/lib/R/tests/PCRE.R +123 -0
  1524. package/dist/vfs/usr/lib/R/tests/README +117 -0
  1525. package/dist/vfs/usr/lib/R/tests/WinUnicode.dat +0 -0
  1526. package/dist/vfs/usr/lib/R/tests/any-all.R +93 -0
  1527. package/dist/vfs/usr/lib/R/tests/any-all.Rout.save +111 -0
  1528. package/dist/vfs/usr/lib/R/tests/arima.rda +0 -0
  1529. package/dist/vfs/usr/lib/R/tests/arith-true.R +220 -0
  1530. package/dist/vfs/usr/lib/R/tests/arith-true.Rout.save +327 -0
  1531. package/dist/vfs/usr/lib/R/tests/arith.R +26 -0
  1532. package/dist/vfs/usr/lib/R/tests/arith.Rout.save +88 -0
  1533. package/dist/vfs/usr/lib/R/tests/array-subset.R +86 -0
  1534. package/dist/vfs/usr/lib/R/tests/complex.R +159 -0
  1535. package/dist/vfs/usr/lib/R/tests/complex.Rout.save +297 -0
  1536. package/dist/vfs/usr/lib/R/tests/conditions.R +155 -0
  1537. package/dist/vfs/usr/lib/R/tests/d-p-q-r-tests.R +504 -0
  1538. package/dist/vfs/usr/lib/R/tests/d-p-q-r-tests.Rout.save +884 -0
  1539. package/dist/vfs/usr/lib/R/tests/d-p-q-r-tst-2.R +829 -0
  1540. package/dist/vfs/usr/lib/R/tests/datasets.R +9 -0
  1541. package/dist/vfs/usr/lib/R/tests/datasets.Rout.save +669 -0
  1542. package/dist/vfs/usr/lib/R/tests/datetime.R +43 -0
  1543. package/dist/vfs/usr/lib/R/tests/datetime.Rout.save +81 -0
  1544. package/dist/vfs/usr/lib/R/tests/datetime2.R +150 -0
  1545. package/dist/vfs/usr/lib/R/tests/datetime2.Rout.save +529 -0
  1546. package/dist/vfs/usr/lib/R/tests/datetime3.R +535 -0
  1547. package/dist/vfs/usr/lib/R/tests/datetime4.R +94 -0
  1548. package/dist/vfs/usr/lib/R/tests/datetime4.Rout.save +386 -0
  1549. package/dist/vfs/usr/lib/R/tests/datetime5.R +30 -0
  1550. package/dist/vfs/usr/lib/R/tests/datetime5.Rout.save +92 -0
  1551. package/dist/vfs/usr/lib/R/tests/demos.R +30 -0
  1552. package/dist/vfs/usr/lib/R/tests/demos.Rout.save +1642 -0
  1553. package/dist/vfs/usr/lib/R/tests/demos2.R +9 -0
  1554. package/dist/vfs/usr/lib/R/tests/encodings.R +27 -0
  1555. package/dist/vfs/usr/lib/R/tests/eval-etc.R +234 -0
  1556. package/dist/vfs/usr/lib/R/tests/eval-etc.Rout.save +1014 -0
  1557. package/dist/vfs/usr/lib/R/tests/eval-fns.R +99 -0
  1558. package/dist/vfs/usr/lib/R/tests/iconv.R +35 -0
  1559. package/dist/vfs/usr/lib/R/tests/iec60559.R +18 -0
  1560. package/dist/vfs/usr/lib/R/tests/iec60559.Rout.save +60 -0
  1561. package/dist/vfs/usr/lib/R/tests/internet.R +20 -0
  1562. package/dist/vfs/usr/lib/R/tests/internet.Rout.save +164 -0
  1563. package/dist/vfs/usr/lib/R/tests/internet2.R +69 -0
  1564. package/dist/vfs/usr/lib/R/tests/isas-tests.Rin +60 -0
  1565. package/dist/vfs/usr/lib/R/tests/isas-tests.Rout.save +2598 -0
  1566. package/dist/vfs/usr/lib/R/tests/lapack.R +175 -0
  1567. package/dist/vfs/usr/lib/R/tests/lapack.Rout.save +435 -0
  1568. package/dist/vfs/usr/lib/R/tests/libcurl.R +88 -0
  1569. package/dist/vfs/usr/lib/R/tests/lm-tests.R +101 -0
  1570. package/dist/vfs/usr/lib/R/tests/lm-tests.Rout.save +414 -0
  1571. package/dist/vfs/usr/lib/R/tests/method-dispatch.R +157 -0
  1572. package/dist/vfs/usr/lib/R/tests/method-dispatch.Rout.save +222 -0
  1573. package/dist/vfs/usr/lib/R/tests/nanbug.rda +0 -0
  1574. package/dist/vfs/usr/lib/R/tests/no-segfault.Rin +143 -0
  1575. package/dist/vfs/usr/lib/R/tests/ok-errors.R +24 -0
  1576. package/dist/vfs/usr/lib/R/tests/ok-errors.Rout.save +44 -0
  1577. package/dist/vfs/usr/lib/R/tests/p-qbeta-strict-tst.R +595 -0
  1578. package/dist/vfs/usr/lib/R/tests/p-r-random-tests.R +181 -0
  1579. package/dist/vfs/usr/lib/R/tests/p-r-random-tests.Rout.save +326 -0
  1580. package/dist/vfs/usr/lib/R/tests/primitives.R +146 -0
  1581. package/dist/vfs/usr/lib/R/tests/print-tests.R +343 -0
  1582. package/dist/vfs/usr/lib/R/tests/print-tests.Rout.save +946 -0
  1583. package/dist/vfs/usr/lib/R/tests/r-strict-tst.R +57 -0
  1584. package/dist/vfs/usr/lib/R/tests/reg-BLAS.R +135 -0
  1585. package/dist/vfs/usr/lib/R/tests/reg-IO.R +60 -0
  1586. package/dist/vfs/usr/lib/R/tests/reg-IO.Rout.save +176 -0
  1587. package/dist/vfs/usr/lib/R/tests/reg-IO2.R +124 -0
  1588. package/dist/vfs/usr/lib/R/tests/reg-IO2.Rout.save +252 -0
  1589. package/dist/vfs/usr/lib/R/tests/reg-S4-examples.R +357 -0
  1590. package/dist/vfs/usr/lib/R/tests/reg-S4.R +1024 -0
  1591. package/dist/vfs/usr/lib/R/tests/reg-S4.Rout.save +1365 -0
  1592. package/dist/vfs/usr/lib/R/tests/reg-examples1.R +92 -0
  1593. package/dist/vfs/usr/lib/R/tests/reg-examples2.R +38 -0
  1594. package/dist/vfs/usr/lib/R/tests/reg-examples3.Rout.save +546 -0
  1595. package/dist/vfs/usr/lib/R/tests/reg-packages.R +559 -0
  1596. package/dist/vfs/usr/lib/R/tests/reg-plot-latin1.R +6 -0
  1597. package/dist/vfs/usr/lib/R/tests/reg-plot-latin1.pdf.save +649 -0
  1598. package/dist/vfs/usr/lib/R/tests/reg-plot.R +298 -0
  1599. package/dist/vfs/usr/lib/R/tests/reg-plot.pdf.save +11498 -0
  1600. package/dist/vfs/usr/lib/R/tests/reg-tests-1a.R +4898 -0
  1601. package/dist/vfs/usr/lib/R/tests/reg-tests-1b.R +2120 -0
  1602. package/dist/vfs/usr/lib/R/tests/reg-tests-1c.R +1631 -0
  1603. package/dist/vfs/usr/lib/R/tests/reg-tests-1d.R +5797 -0
  1604. package/dist/vfs/usr/lib/R/tests/reg-tests-1e.R +557 -0
  1605. package/dist/vfs/usr/lib/R/tests/reg-tests-2.R +3370 -0
  1606. package/dist/vfs/usr/lib/R/tests/reg-tests-2.Rout.save +8317 -0
  1607. package/dist/vfs/usr/lib/R/tests/reg-tests-3.Rout.save +1075 -0
  1608. package/dist/vfs/usr/lib/R/tests/reg-translation.R +125 -0
  1609. package/dist/vfs/usr/lib/R/tests/simple-true.R +190 -0
  1610. package/dist/vfs/usr/lib/R/tests/simple-true.Rout.save +300 -0
  1611. package/dist/vfs/usr/lib/R/tests/structure.R +48 -0
  1612. package/dist/vfs/usr/lib/R/tests/structure.Rout.save +88 -0
  1613. package/dist/vfs/usr/lib/R/tests/timezone.R +9 -0
  1614. package/dist/vfs/usr/lib/R/tests/utf8-regex.R +373 -0
  1615. package/dist/webR/chan/channel-common.d.ts +19 -0
  1616. package/dist/webR/chan/channel-service.d.ts +30 -0
  1617. package/dist/webR/chan/channel-shared.d.ts +24 -0
  1618. package/dist/webR/chan/channel.d.ts +43 -0
  1619. package/dist/webR/chan/message.d.ts +50 -0
  1620. package/dist/webR/chan/queue.d.ts +17 -0
  1621. package/dist/webR/chan/serviceworker.d.ts +6 -0
  1622. package/dist/webR/chan/task-common.d.ts +17 -0
  1623. package/dist/webR/chan/task-main.d.ts +15 -0
  1624. package/dist/webR/chan/task-worker.d.ts +42 -0
  1625. package/dist/webR/compat.d.ts +2 -0
  1626. package/dist/webR/config.d.ts +2 -0
  1627. package/dist/webR/console.d.ts +68 -0
  1628. package/dist/webR/emscripten.d.ts +126 -0
  1629. package/dist/webR/payload.d.ts +47 -0
  1630. package/dist/webR/proxy.d.ts +115 -0
  1631. package/dist/webR/robj-main.d.ts +112 -0
  1632. package/dist/webR/robj-worker.d.ts +225 -0
  1633. package/dist/webR/robj.d.ts +113 -0
  1634. package/dist/webR/utils-r.d.ts +25 -0
  1635. package/dist/webR/utils.d.ts +12 -0
  1636. package/dist/webR/webr-chan.d.ts +141 -0
  1637. package/dist/webR/webr-main.d.ts +282 -0
  1638. package/dist/webR/webr-worker.d.ts +1 -0
  1639. package/dist/webr-serviceworker.js +1654 -0
  1640. package/dist/webr-serviceworker.js.map +7 -0
  1641. package/dist/webr-serviceworker.mjs +1658 -0
  1642. package/dist/webr-serviceworker.mjs.map +7 -0
  1643. package/dist/webr-worker.js +4546 -0
  1644. package/dist/webr-worker.js.map +7 -0
  1645. package/dist/webr.cjs +4 -0
  1646. package/dist/webr.cjs.map +7 -0
  1647. package/dist/webr.mjs +4 -0
  1648. package/dist/webr.mjs.map +7 -0
  1649. package/package.json +1 -1
@@ -0,0 +1,3370 @@
1
+ ## Regression tests for which the printed output is the issue
2
+ ### _and_ must work (no Recommended packages, please)
3
+
4
+ pdf("reg-tests-2.pdf", encoding = "ISOLatin1.enc")
5
+
6
+ ## force standard handling for data frames
7
+ options(stringsAsFactors=FALSE) # R >= 4.0.0
8
+ options(useFancyQuotes=FALSE)
9
+
10
+ ### moved from various .Rd files
11
+ ## abbreviate
12
+ for(m in 1:5) {
13
+ cat("\n",m,":\n")
14
+ print(as.vector(abbreviate(state.name, minl=m)))
15
+ }
16
+
17
+ ## apply
18
+ x <- cbind(x1 = 3, x2 = c(4:1, 2:5))
19
+ dimnames(x)[[1]] <- letters[1:8]
20
+ apply(x, 2, summary) # 6 x n matrix
21
+ apply(x, 1, quantile)# 5 x n matrix
22
+
23
+ d.arr <- 2:5
24
+ arr <- array(1:prod(d.arr), d.arr,
25
+ list(NULL,letters[1:d.arr[2]],NULL,paste("V",4+1:d.arr[4],sep="")))
26
+ aa <- array(1:20,c(2,2,5))
27
+ str(apply(aa[FALSE,,,drop=FALSE], 1, dim))# empty integer, `incorrect' dim.
28
+ stopifnot(
29
+ apply(arr, 1:2, sum) == t(apply(arr, 2:1, sum)),
30
+ aa == apply(aa,2:3,function(x) x),
31
+ all.equal(apply(apply(aa,2:3, sum),2,sum),
32
+ 10+16*0:4, tolerance = 4*.Machine$double.eps)
33
+ )
34
+ marg <- list(1:2, 2:3, c(2,4), c(1,3), 2:4, 1:3, 1:4)
35
+ for(m in marg) print(apply(arr, print(m), sum))
36
+ for(m in marg) ## 75% of the time here was spent on the names
37
+ print(dim(apply(arr, print(m), quantile, names=FALSE)) == c(5,d.arr[m]))
38
+
39
+ ## Bessel
40
+ nus <- c(0:5,10,20)
41
+
42
+ x0 <- 2^(-20:10)
43
+ plot(x0,x0, log='xy', ylab="", ylim=c(.1,1e60),type='n',
44
+ main = "Bessel Functions -Y_nu(x) near 0\n log - log scale")
45
+ for(nu in sort(c(nus,nus+.5))) lines(x0, -besselY(x0,nu=nu), col = nu+2)
46
+ legend(3,1e50, leg=paste("nu=", paste(nus,nus+.5, sep=",")), col=nus+2, lwd=1)
47
+
48
+ x <- seq(3,500);yl <- c(-.3, .2)
49
+ plot(x,x, ylim = yl, ylab="",type='n', main = "Bessel Functions Y_nu(x)")
50
+ for(nu in nus){xx <- x[x > .6*nu]; lines(xx,besselY(xx,nu=nu), col = nu+2)}
51
+ legend(300,-.08, leg=paste("nu=",nus), col = nus+2, lwd=1)
52
+
53
+ x <- seq(10,50000,by=10);yl <- c(-.1, .1)
54
+ plot(x,x, ylim = yl, ylab="",type='n', main = "Bessel Functions Y_nu(x)")
55
+ for(nu in nus){xx <- x[x > .6*nu]; lines(xx,besselY(xx,nu=nu), col = nu+2)}
56
+ summary(bY <- besselY(2,nu = nu <- seq(0,100,len=501)))
57
+ which(bY >= 0)
58
+ summary(bY <- besselY(2,nu = nu <- seq(3,300,len=51)))
59
+ summary(bI <- besselI(x = x <- 10:700, 1))
60
+ ## end of moved from Bessel.Rd
61
+
62
+ ## data.frame
63
+ set.seed(123)
64
+ L3 <- LETTERS[1:3]
65
+ d <- data.frame(cbind(x=1, y=1:10), fac = sample(L3, 10, replace=TRUE),
66
+ stringsAsFactors=TRUE)
67
+ str(d)
68
+ (d0 <- d[, FALSE]) # NULL dataframe with 10 rows
69
+ (d.0 <- d[FALSE, ]) # <0 rows> dataframe (3 cols)
70
+ (d00 <- d0[FALSE,]) # NULL dataframe with 0 rows
71
+ stopifnot(identical(d, cbind(d, d0)),
72
+ identical(d, cbind(d0, d)))
73
+ stopifnot(identical(d, rbind(d,d.0)),
74
+ identical(d, rbind(d.0,d)),
75
+ identical(d, rbind(d00,d)),
76
+ identical(d, rbind(d,d00)))
77
+ ## Comments: failed before ver. 1.4.0
78
+
79
+ ## diag
80
+ diag(array(1:4, dim=5))
81
+ ## test behaviour with 0 rows or columns
82
+ diag(0)
83
+ z <- matrix(0, 0, 4)
84
+ diag(z)
85
+ diag(z) <- numeric(0)
86
+ z
87
+ ## end of moved from diag.Rd
88
+
89
+ ## format
90
+ ## handling of quotes
91
+ zz <- data.frame(a=I("abc"), b=I("def\"gh"))
92
+ format(zz)
93
+ ## " (E fontification)
94
+
95
+ ## printing more than 16 is platform-dependent
96
+ for(i in c(1:5,10,15,16)) cat(i,":\t",format(pi,digits=i),"\n")
97
+
98
+ p <- c(47,13,2,.1,.023,.0045, 1e-100)/1000
99
+ format.pval(p)
100
+ format.pval(p / 0.9)
101
+ format.pval(p / 0.9, dig=3)
102
+ ## end of moved from format.Rd
103
+
104
+
105
+ ## is.finite
106
+ x <- c(100,-1e-13,Inf,-Inf, NaN, pi, NA)
107
+ x # 1.000000 -3.000000 Inf -Inf NA 3.141593 NA
108
+ names(x) <- formatC(x, dig=3)
109
+ is.finite(x)
110
+ ##- 100 -1e-13 Inf -Inf NaN 3.14 NA
111
+ ##- T T . . . T .
112
+ is.na(x)
113
+ ##- 100 -1e-13 Inf -Inf NaN 3.14 NA
114
+ ##- . . . . T . T
115
+ which(is.na(x) & !is.nan(x))# only 'NA': 7
116
+
117
+ is.na(x) | is.finite(x)
118
+ ##- 100 -1e-13 Inf -Inf NaN 3.14 NA
119
+ ##- T T . . T T T
120
+ is.infinite(x)
121
+ ##- 100 -1e-13 Inf -Inf NaN 3.14 NA
122
+ ##- . . T T . . .
123
+
124
+ ##-- either finite or infinite or NA:
125
+ all(is.na(x) != is.finite(x) | is.infinite(x)) # TRUE
126
+ all(is.nan(x) != is.finite(x) | is.infinite(x)) # FALSE: have 'real' NA
127
+
128
+ ##--- Integer
129
+ (ix <- structure(as.integer(x),names= names(x)))
130
+ ##- 100 -1e-13 Inf -Inf NaN 3.14 NA
131
+ ##- 100 0 NA NA NA 3 NA
132
+ all(is.na(ix) != is.finite(ix) | is.infinite(ix)) # TRUE (still)
133
+
134
+ storage.mode(ii <- -3:5)
135
+ storage.mode(zm <- outer(ii,ii, FUN="*"))# integer
136
+ storage.mode(zd <- outer(ii,ii, FUN="/"))# double
137
+ range(zd, na.rm=TRUE)# -Inf Inf
138
+ zd[,ii==0]
139
+
140
+ (storage.mode(print(1:1 / 0:0)))# Inf "double"
141
+ (storage.mode(print(1:1 / 1:1)))# 1 "double"
142
+ (storage.mode(print(1:1 + 1:1)))# 2 "integer"
143
+ (storage.mode(print(2:2 * 2:2)))# 4 "integer"
144
+ ## end of moved from is.finite.Rd
145
+
146
+
147
+ ## kronecker
148
+ fred <- matrix(1:12, 3, 4, dimnames=list(LETTERS[1:3], LETTERS[4:7]))
149
+ bill <- c("happy" = 100, "sad" = 1000)
150
+ kronecker(fred, bill, make.dimnames = TRUE)
151
+
152
+ bill <- outer(bill, c("cat"=3, "dog"=4))
153
+ kronecker(fred, bill, make.dimnames = TRUE)
154
+
155
+ # dimnames are hard work: let's test them thoroughly
156
+
157
+ dimnames(bill) <- NULL
158
+ kronecker(fred, bill, make=TRUE)
159
+ kronecker(bill, fred, make=TRUE)
160
+
161
+ dim(bill) <- c(2, 2, 1)
162
+ dimnames(bill) <- list(c("happy", "sad"), NULL, "")
163
+ kronecker(fred, bill, make=TRUE)
164
+
165
+ bill <- array(1:24, c(3, 4, 2))
166
+ dimnames(bill) <- list(NULL, NULL, c("happy", "sad"))
167
+ kronecker(bill, fred, make=TRUE)
168
+ kronecker(fred, bill, make=TRUE)
169
+
170
+ fred <- outer(fred, c("frequentist"=4, "bayesian"=4000))
171
+ kronecker(fred, bill, make=TRUE)
172
+ ## end of moved from kronecker.Rd
173
+
174
+ ## merge
175
+ authors <- data.frame(
176
+ surname = c("Tukey", "Venables", "Tierney", "Ripley", "McNeil"),
177
+ nationality = c("US", "Australia", "US", "UK", "Australia"),
178
+ deceased = c("yes", rep("no", 4)), stringsAsFactors=TRUE)
179
+ books <- data.frame(
180
+ name = c("Tukey", "Venables", "Tierney",
181
+ "Ripley", "Ripley", "McNeil", "R Core"),
182
+ title = c("Exploratory Data Analysis",
183
+ "Modern Applied Statistics ...",
184
+ "LISP-STAT",
185
+ "Spatial Statistics", "Stochastic Simulation",
186
+ "Interactive Data Analysis",
187
+ "An Introduction to R"),
188
+ other.author = c(NA, "Ripley", NA, NA, NA, NA,
189
+ "Venables & Smith"),
190
+ stringsAsFactors=TRUE)
191
+ b2 <- books; names(b2)[1] <- names(authors)[1]
192
+
193
+ merge(authors, b2, all.x = TRUE)
194
+ merge(authors, b2, all.y = TRUE)
195
+
196
+ ## empty d.f. :
197
+ merge(authors, b2[7,])
198
+
199
+ merge(authors, b2[7,], all.y = TRUE)
200
+ merge(authors, b2[7,], all.x = TRUE)
201
+ ## end of moved from merge.Rd
202
+
203
+ ## NA
204
+ is.na(c(1,NA))
205
+ is.na(paste(c(1,NA)))
206
+ is.na(list())# logical(0)
207
+ ll <- list(pi,"C",NaN,Inf, 1:3, c(0,NA), NA)
208
+ is.na (ll)
209
+ lapply(ll, is.nan) # is.nan no longer works on lists
210
+ ## end of moved from NA.Rd
211
+
212
+ ## is.na was returning unset values on nested lists
213
+ ll <- list(list(1))
214
+ for (i in 1:5) print(as.integer(is.na(ll)))
215
+
216
+ ## scale
217
+ ## test out NA handling
218
+ tm <- matrix(c(2,1,0,1,0,NA,NA,NA,0), nrow=3)
219
+ scale(tm, , FALSE)
220
+ scale(tm)
221
+ ## end of moved from scale.Rd
222
+
223
+ ## tabulate
224
+ tabulate(numeric(0))
225
+ ## end of moved from tabulate.Rd
226
+
227
+ ## ts
228
+ # Ensure working arithmetic for 'ts' objects :
229
+ z <- ts(matrix(1:300, 100, 3), start = c(1961, 1), frequency = 12)
230
+ stopifnot(z == z)
231
+ stopifnot(z-z == 0)
232
+ if(FALSE) ## <<-- not currently: _R_CHECK_MATRIX_DATA_ \\ related to earlier code:
233
+ tools::assertWarning(matrix(1:90, 10, 3), verbose=TRUE)
234
+
235
+ ts(1:5, start=2, end=4) # truncate
236
+ ts(1:5, start=3, end=17)# repeat
237
+ ## end of moved from ts.Rd
238
+
239
+ ### end of moved
240
+
241
+
242
+ ## PR 715 (Printing list elements w/attributes)
243
+ ##
244
+ l <- list(a=10)
245
+ attr(l$a, "xx") <- 23
246
+ l
247
+ ## Comments:
248
+ ## should print as
249
+ # $a:
250
+ # [1] 10
251
+ # attr($a, "xx"):
252
+ # [1] 23
253
+
254
+ ## On the other hand
255
+ m <- matrix(c(1, 2, 3, 0, 10, NA), 3, 2)
256
+ na.omit(m)
257
+ ## should print as
258
+ # [,1] [,2]
259
+ # [1,] 1 0
260
+ # [2,] 2 10
261
+ # attr(,"na.action")
262
+ # [1] 3
263
+ # attr(,"na.action")
264
+ # [1] "omit"
265
+
266
+ ## and
267
+ x <- 1
268
+ attr(x, "foo") <- list(a="a")
269
+ x
270
+ ## should print as
271
+ # [1] 1
272
+ # attr(,"foo")
273
+ # attr(,"foo")$a
274
+ # [1] "a"
275
+
276
+
277
+ ## PR 746 (printing of lists)
278
+ ##
279
+ test.list <- list(A = list(formula=Y~X, subset=TRUE),
280
+ B = list(formula=Y~X, subset=TRUE))
281
+
282
+ test.list
283
+ ## Comments:
284
+ ## should print as
285
+ # $A
286
+ # $A$formula
287
+ # Y ~ X
288
+ #
289
+ # $A$subset
290
+ # [1] TRUE
291
+ #
292
+ #
293
+ # $B
294
+ # $B$formula
295
+ # Y ~ X
296
+ #
297
+ # $B$subset
298
+ # [1] TRUE
299
+
300
+ ## Marc Feldesman 2001-Feb-01. Precision in summary.data.frame & *.matrix
301
+ summary(attenu)
302
+ summary(attenu, digits = 5)
303
+ summary(data.matrix(attenu), digits = 5)# the same for matrix
304
+ ## Comments:
305
+ ## No difference between these in 1.2.1 and earlier
306
+ set.seed(1)
307
+ x <- c(round(runif(10), 2), 10000)
308
+ summary(x)
309
+ summary(data.frame(x))
310
+ ## Comments:
311
+ ## All entries show all 3 digits after the decimal point now.
312
+
313
+ ## Chong Gu 2001-Feb-16. step on binomials
314
+ detg1 <-
315
+ structure(list(Temp = factor(c(2L, 1L, 2L, 1L, 2L, 1L, 2L,
316
+ 1L, 2L, 1L, 2L, 1L), labels = c("High", "Low")),
317
+ M.user = factor(c(1L, 1L, 2L, 2L, 1L, 1L, 2L, 2L, 1L,
318
+ 1L, 2L, 2L), labels = c("N", "Y")),
319
+ Soft = factor(c(1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L),
320
+ labels = c("Hard", "Medium", "Soft")),
321
+ M = c(42, 30, 52, 43,
322
+ 50, 23, 55, 47, 53, 27, 49, 29), X = c(68, 42, 37, 24, 66,
323
+ 33, 47, 23, 63, 29, 57, 19)), names = c("Temp", "M.user",
324
+ "Soft", "M", "X"), class = "data.frame", row.names = c("1", "3",
325
+ "5", "7", "9", "11", "13", "15", "17", "19", "21", "23"))
326
+ detg1.m0 <- glm(cbind(X,M)~1,binomial,detg1)
327
+ detg1.m0
328
+ step(detg1.m0,scope=list(upper=~M.user*Temp*Soft))
329
+
330
+ ## PR 829 (empty values in all.vars)
331
+ ## This example by Uwe Ligges <ligges@statistik.uni-dortmund.de>
332
+
333
+ temp <- matrix(1:4, 2)
334
+ all.vars(temp ~ 3) # OK
335
+ all.vars(temp[1, ] ~ 3) # wrong in 1.2.1
336
+
337
+ ## 2001-Feb-22 from David Scott.
338
+ ## rank-deficient residuals in a manova model.
339
+ gofX.df<-
340
+ structure(list(A = c(0.696706709347165, 0.362357754476673,
341
+ -0.0291995223012888,
342
+ 0.696706709347165, 0.696706709347165, -0.0291995223012888, 0.696706709347165,
343
+ -0.0291995223012888, 0.362357754476673, 0.696706709347165, -0.0291995223012888,
344
+ 0.362357754476673, -0.416146836547142, 0.362357754476673, 0.696706709347165,
345
+ 0.696706709347165, 0.362357754476673, -0.416146836547142, -0.0291995223012888,
346
+ -0.416146836547142, 0.696706709347165, -0.416146836547142, 0.362357754476673,
347
+ -0.0291995223012888), B = c(0.717356090899523, 0.932039085967226,
348
+ 0.999573603041505, 0.717356090899523, 0.717356090899523, 0.999573603041505,
349
+ 0.717356090899523, 0.999573603041505, 0.932039085967226, 0.717356090899523,
350
+ 0.999573603041505, 0.932039085967226, 0.909297426825682, 0.932039085967226,
351
+ 0.717356090899523, 0.717356090899523, 0.932039085967226, 0.909297426825682,
352
+ 0.999573603041505, 0.909297426825682, 0.717356090899523, 0.909297426825682,
353
+ 0.932039085967226, 0.999573603041505), C = c(-0.0291995223012888,
354
+ -0.737393715541246, -0.998294775794753, -0.0291995223012888,
355
+ -0.0291995223012888, -0.998294775794753, -0.0291995223012888,
356
+ -0.998294775794753, -0.737393715541246, -0.0291995223012888,
357
+ -0.998294775794753, -0.737393715541246, -0.653643620863612, -0.737393715541246,
358
+ -0.0291995223012888, -0.0291995223012888, -0.737393715541246,
359
+ -0.653643620863612, -0.998294775794753, -0.653643620863612,
360
+ -0.0291995223012888,
361
+ -0.653643620863612, -0.737393715541246, -0.998294775794753),
362
+ D = c(0.999573603041505, 0.67546318055115, -0.0583741434275801,
363
+ 0.999573603041505, 0.999573603041505, -0.0583741434275801,
364
+ 0.999573603041505, -0.0583741434275801, 0.67546318055115,
365
+ 0.999573603041505, -0.0583741434275801, 0.67546318055115,
366
+ -0.756802495307928, 0.67546318055115, 0.999573603041505,
367
+ 0.999573603041505, 0.67546318055115, -0.756802495307928,
368
+ -0.0583741434275801, -0.756802495307928, 0.999573603041505,
369
+ -0.756802495307928, 0.67546318055115, -0.0583741434275801
370
+ ), groups = factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L,
371
+ 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L),
372
+ labels = c("1", "2", "3"))),
373
+ names = c("A", "B", "C", "D", "groups"), row.names = 1:24,
374
+ class = "data.frame")
375
+
376
+ gofX.manova <- manova(formula = cbind(A, B, C, D) ~ groups, data = gofX.df)
377
+ try(summary(gofX.manova))
378
+ ## should fail with an error message `residuals have rank 3 < 4'
379
+
380
+ ## Prior to 1.3.0 dist did not handle missing values, and the
381
+ ## internal C code was incorrectly scaling for missing values.
382
+ z <- as.matrix(t(trees))
383
+ z[1,1] <- z[2,2] <- z[3,3] <- z[2,4] <- NA
384
+ dist(z, method="euclidean")
385
+ dist(z, method="maximum")
386
+ dist(z, method="manhattan")
387
+ dist(z, method="canberra")
388
+
389
+ ## F. Tusell 2001-03-07. printing kernels.
390
+ kernel("daniell", m=5)
391
+ kernel("modified.daniell", m=5)
392
+ kernel("daniell", m=c(3,5,7))
393
+ ## fixed by patch from Adrian Trapletti 2001-03-08
394
+
395
+ ## Start new year (i.e. line) at Jan:
396
+ (tt <- ts(1:10, start = c(1920,7), end = c(1921,4), freq = 12))
397
+ cbind(tt, tt + 1)
398
+
399
+
400
+ ## PR 883 (cor(x,y) when is.null(y))
401
+ try(cov(rnorm(10), NULL))
402
+ try(cor(rnorm(10), NULL))
403
+ ## gave the variance and 1 respectively in 1.2.2.
404
+
405
+
406
+ ## PR 960 (format() of a character matrix converts to vector)
407
+ ## example from <John.Peters@tip.csiro.au>
408
+ a <- matrix(c("axx","b","c","d","e","f","g","h"), nrow=2)
409
+ format(a)
410
+ format(a, justify="right")
411
+ ## lost dimensions in 1.2.3
412
+
413
+
414
+ ## PR 963
415
+ res <- svd(rbind(1:7))## $v lost dimensions in 1.2.3
416
+ if(res$u[1,1] < 0) {res$u <- -res$u; res$v <- -res$v}
417
+ res
418
+
419
+
420
+ ## Make sure on.exit() keeps being evaluated in the proper env [from PD]:
421
+ ## A more complete example:
422
+ g1 <- function(fitted) { on.exit(remove(fitted)); return(function(foo) foo) }
423
+ g2 <- function(fitted) { on.exit(remove(fitted)); function(foo) foo }
424
+ f <- function(g) { fitted <- 1; h <- g(fitted); print(fitted)
425
+ ls(envir=environment(h)) }
426
+ f(g1)
427
+ f(g2)
428
+
429
+ f2 <- function()
430
+ {
431
+ g.foo <- g1
432
+ g.bar <- g2
433
+ g <- function(x,...) UseMethod("g")
434
+ fitted <- 1; class(fitted) <- "foo"
435
+ h <- g(fitted); print(fitted); print(ls(envir=environment(h)))
436
+ fitted <- 1; class(fitted) <- "bar"
437
+ h <- g(fitted); print(fitted); print(ls(envir=environment(h)))
438
+ invisible(NULL)
439
+ }
440
+ f2()
441
+ ## The first case in f2() is broken in 1.3.0(-patched).
442
+
443
+ ## on.exit() consistency check from Luke:
444
+ g <- function() as.environment(-1)
445
+ f <- function(x) UseMethod("f")
446
+ f.foo <- function(x) { on.exit(e <<- g()); NULL }
447
+ f.bar <- function(x) { on.exit(e <<- g()); return(NULL) }
448
+ f(structure(1,class = "foo"))
449
+ ls(env = e)# only "x", i.e. *not* the GlobalEnv
450
+ f(structure(1,class = "bar"))
451
+ stopifnot("x" == ls(env = e))# as above; wrongly was .GlobalEnv in R 1.3.x
452
+
453
+
454
+ ## some tests that R supports logical variables in formulae
455
+ ## it coerced them to numeric prior to 1.4.0
456
+ ## they should appear like 2-level factors, following S
457
+
458
+ oldCon <- options("contrasts")
459
+ y <- rnorm(10)
460
+ x <- rep(c(TRUE, FALSE), 5)
461
+ model.matrix(y ~ x)
462
+ lm(y ~ x)
463
+ DF <- data.frame(x, y)
464
+ lm(y ~ x, data=DF)
465
+ options(contrasts=c("contr.helmert", "contr.poly"))
466
+ model.matrix(y ~ x)
467
+ lm(y ~ x, data=DF)
468
+ z <- 1:10
469
+ lm(y ~ x*z)
470
+ lm(y ~ x*z - 1)
471
+ options(oldCon)
472
+
473
+ ## diffinv, Adrian Trapletti, 2001-08-27
474
+ x <- ts(1:10)
475
+ diffinv(diff(x),xi=x[1])
476
+ diffinv(diff(x,lag=1,differences=2),lag=1,differences=2,xi=x[1:2])
477
+ ## last had wrong start and end
478
+
479
+ ## PR#1072 (Reading Inf and NaN values)
480
+ as.numeric(as.character(NaN))
481
+ as.numeric(as.character(Inf))
482
+ ## were NA on Windows at least under 1.3.0.
483
+
484
+ ## PR#1092 (rowsum dimnames)
485
+ rowsum(matrix(1:12, 3,4), c("Y","X","Y"))
486
+ ## rownames were 1,2 in <= 1.3.1.
487
+
488
+ ## PR#1115 (saving strings with ascii=TRUE)
489
+ x <- y <- unlist(as.list(
490
+ parse(text=paste("\"\\", as.character(as.octmode(1:255)), "\"",sep=""))))
491
+ save(x, ascii=TRUE, file=(fn <- tempfile(tmpdir = getwd())))
492
+ load(fn)
493
+ all(x==y)
494
+ unlink(fn)
495
+ ## 1.3.1 had trouble with \
496
+
497
+
498
+ ## Some tests of sink() and connections()
499
+ ## capture all the output to a file.
500
+ zz <- file("all.Rout", open="wt")
501
+ sink(zz)
502
+ sink(zz, type="message")
503
+ try(log("a"))
504
+ ## back to the console
505
+ sink(type="message")
506
+ sink()
507
+ try(log("a"))
508
+
509
+ ## capture all the output to a file.
510
+ zz <- file("all.Rout", open="wt")
511
+ sink(zz)
512
+ sink(zz, type="message")
513
+ try(log("a"))
514
+
515
+ ## bail out
516
+ closeAllConnections()
517
+ (foo <- showConnections())
518
+ stopifnot(nrow(foo) == 0)
519
+ try(log("a"))
520
+ unlink("all.Rout")
521
+ ## many of these were untested before 1.4.0.
522
+
523
+
524
+ ## test mean() works on logical but not factor
525
+ x <- c(TRUE, FALSE, TRUE, TRUE)
526
+ mean(x)
527
+ mean(as.factor(x))
528
+ ## last had confusing error message in 1.3.1.
529
+
530
+
531
+ ## Kurt Hornik 2001-Nov-13
532
+ z <- table(x = 1:2, y = 1:2)
533
+ z - 1
534
+ unclass(z - 1)
535
+ ## lost object bit prior to 1.4.0, so printed class attribute.
536
+
537
+
538
+ ## PR#1226 (predict.mlm ignored newdata)
539
+ ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14)
540
+ trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69)
541
+ group <- gl(2,10,20, labels = c("Ctl","Trt"))
542
+ weight <- c(ctl, trt)
543
+ data <- data.frame(weight, group)
544
+ fit <- lm(cbind(w=weight, w2=weight^2) ~ group, data=data)
545
+ predict(fit, newdata=data[1:2, ])
546
+ ## was 20 rows in R <= 1.4.0
547
+
548
+
549
+ ## Chong Gu 2002-Feb-8: `.' not expanded in drop1
550
+ lab <- dimnames(HairEyeColor)
551
+ HairEye <- cbind(expand.grid(Hair=lab$Hair, Eye=lab$Eye, Sex=lab$Sex,
552
+ stringsAsFactors = TRUE),
553
+ Fr = as.vector(HairEyeColor))
554
+ HairEye.fit <- glm(Fr ~ . ^2, poisson, HairEye)
555
+ drop1(HairEye.fit)
556
+ ## broken around 1.2.1 it seems.
557
+
558
+
559
+ ## PR#1329 (subscripting matrix lists)
560
+ m <- list(a1=1:3, a2=4:6, a3=pi, a4=c("a","b","c"))
561
+ dim(m) <- c(2,2)
562
+ m
563
+ m[,2]
564
+ m[2,2]
565
+ ## 1.4.1 returned null components: the case was missing from a switch.
566
+
567
+ m <- list(a1=1:3, a2=4:6, a3=pi, a4=c("a","b","c"))
568
+ matrix(m, 2, 2)
569
+ ## 1.4.1 gave `Unimplemented feature in copyVector'
570
+
571
+ x <- vector("list",6)
572
+ dim(x) <- c(2,3)
573
+ x[1,2] <- list(letters[10:11])
574
+ x
575
+ ## 1.4.1 gave `incompatible types in subset assignment'
576
+
577
+
578
+ ## printing of matrix lists
579
+ m <- list(as.integer(1), pi, 3+5i, "testit", TRUE, factor("foo"))
580
+ dim(m) <- c(1, 6)
581
+ m
582
+ ## prior to 1.5.0 had quotes for 2D case (but not kD, k > 2),
583
+ ## gave "numeric,1" etc, (even "numeric,1" for integers and factors)
584
+
585
+
586
+ ## ensure RNG is unaltered.
587
+ for(type in c("Wichmann-Hill", "Marsaglia-Multicarry", "Super-Duper",
588
+ "Mersenne-Twister", "Knuth-TAOCP", "Knuth-TAOCP-2002"))
589
+ {
590
+ set.seed(123, type)
591
+ print(RNGkind())
592
+ runif(100); print(runif(4))
593
+ set.seed(1000, type)
594
+ runif(100); print(runif(4))
595
+ set.seed(77, type)
596
+ runif(100); print(runif(4))
597
+ }
598
+ RNGkind(normal.kind = "Kinderman-Ramage")
599
+ set.seed(123)
600
+ RNGkind()
601
+ rnorm(4)
602
+ RNGkind(normal.kind = "Ahrens-Dieter")
603
+ set.seed(123)
604
+ RNGkind()
605
+ rnorm(4)
606
+ RNGkind(normal.kind = "Box-Muller")
607
+ set.seed(123)
608
+ RNGkind()
609
+ rnorm(4)
610
+ set.seed(123)
611
+ runif(4)
612
+ set.seed(123, "default")
613
+ set.seed(123, "Marsaglia-Multicarry") ## Careful, not the default anymore
614
+ runif(4)
615
+ ## last set.seed failed < 1.5.0.
616
+
617
+
618
+ ## merging, ggrothendieck@yifan.net, 2002-03-16
619
+ d.df <- data.frame(x = 1:3, y = c("A","D","E"), z = c(6,9,10))
620
+ merge(d.df[1,], d.df)
621
+ ## 1.4.1 got confused by inconsistencies in as.character
622
+
623
+
624
+ ## PR#1394 (levels<-.factor)
625
+ f <- factor(c("a","b"))
626
+ levels(f) <- list(C="C", A="a", B="b")
627
+ f
628
+ ## was [1] C A; Levels: C A in 1.4.1
629
+
630
+
631
+ ## NA levels in factors
632
+ (x <- factor(c("a", "NA", "b"), exclude=NULL))
633
+ ## 1.4.1 had wrong order for levels
634
+ is.na(x)[3] <- TRUE
635
+ x
636
+ ## missing entry prints as <NA>
637
+
638
+
639
+ ## printing/formatting NA strings
640
+ (x <- c("a", "NA", NA, "b"))
641
+ print(x, quote = FALSE)
642
+ paste(x)
643
+ format(x)
644
+ format(x, justify = "right")
645
+ format(x, justify = "none")
646
+ ## not ideal.
647
+
648
+
649
+ ## print.ts problems ggrothendieck@yifan.net on R-help, 2002-04-01
650
+ x <- 1:20
651
+ tt1 <- ts(x,start=c(1960,2), freq=12)
652
+ tt2 <- ts(10+x,start=c(1960,2), freq=12)
653
+ cbind(tt1, tt2)
654
+ ## 1.4.1 had `Jan 1961' as `NA 1961'
655
+ ## ...and 1.9.1 had it as `Jan 1960'!!
656
+
657
+ ## glm boundary bugs (related to PR#1331)
658
+ x <- c(0.35, 0.64, 0.12, 1.66, 1.52, 0.23, -1.99, 0.42, 1.86, -0.02,
659
+ -1.64, -0.46, -0.1, 1.25, 0.37, 0.31, 1.11, 1.65, 0.33, 0.89,
660
+ -0.25, -0.87, -0.22, 0.71, -2.26, 0.77, -0.05, 0.32, -0.64, 0.39,
661
+ 0.19, -1.62, 0.37, 0.02, 0.97, -2.62, 0.15, 1.55, -1.41, -2.35,
662
+ -0.43, 0.57, -0.66, -0.08, 0.02, 0.24, -0.33, -0.03, -1.13, 0.32,
663
+ 1.55, 2.13, -0.1, -0.32, -0.67, 1.44, 0.04, -1.1, -0.95, -0.19,
664
+ -0.68, -0.43, -0.84, 0.69, -0.65, 0.71, 0.19, 0.45, 0.45, -1.19,
665
+ 1.3, 0.14, -0.36, -0.5, -0.47, -1.31, -1.02, 1.17, 1.51, -0.33,
666
+ -0.01, -0.59, -0.28, -0.18, -1.07, 0.66, -0.71, 1.88, -0.14,
667
+ -0.19, 0.84, 0.44, 1.33, -0.2, -0.45, 1.46, 1, -1.02, 0.68, 0.84)
668
+ y <- c(1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0,
669
+ 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1,
670
+ 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1,
671
+ 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1,
672
+ 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0)
673
+ try(glm(y ~ x, family = poisson(identity)))
674
+ ## failed because start = NULL in 1.4.1
675
+ ## now gives useful error message
676
+ glm(y ~ x, family = poisson(identity), start = c(1,0))
677
+ ## step reduction failed in 1.4.1
678
+ set.seed(123)
679
+ y <- rpois(100, pmax(3*x, 0))
680
+ glm(y ~ x, family = poisson(identity), start = c(1,0))
681
+ summary(warnings())
682
+
683
+
684
+ ## extending char arrrays
685
+ x <- y <- LETTERS[1:2]
686
+ x[5] <- "C"
687
+ length(y) <- 5
688
+ x
689
+ y
690
+ ## x was filled with "", y with NA in 1.5.0
691
+
692
+
693
+ ## formula with no intercept, 2002-07-22
694
+ oldcon <- options(contrasts = c("contr.helmert", "contr.poly"))
695
+ U <- gl(3, 6, 18, labels=letters[1:3])
696
+ V <- gl(3, 2, 18, labels=letters[1:3])
697
+ A <- rep(c(0, 1), 9)
698
+ B <- rep(c(1, 0), 9)
699
+ set.seed(1); y <- rnorm(18)
700
+ terms(y ~ A:U + A:V - 1)
701
+ lm(y ~ A:U + A:V - 1)$coefficients # 1.5.1 used dummies coding for V
702
+ lm(y ~ (A + B) : (U + V) - 1) # 1.5.1 used dummies coding for A:V but not B:V
703
+ options(oldcon)
704
+ ## 1.5.1 miscomputed the first factor in the formula.
705
+
706
+
707
+ ## quantile extremes, MM 13 Apr 2000 and PR#1852
708
+ (qq <- sapply(0:5, function(k) {
709
+ x <- c(rep(-Inf,k+1), 0:k, rep(Inf, k))
710
+ sapply(1:9, function(typ)
711
+ quantile(x, pr=(2:10)/10, type=typ))
712
+ }, simplify="array"))
713
+ x <- c(-Inf, -Inf, Inf, Inf)
714
+ median(x)
715
+ quantile(x)
716
+ ## 1.5.1 had -Inf not NaN in several places
717
+
718
+
719
+ ## NAs in matrix dimnames
720
+ z <- matrix(1:9, 3, 3)
721
+ dimnames(z) <- list(c("x", "y", NA), c(1, NA, 3))
722
+ z
723
+ ## NAs in dimnames misaligned when printing in 1.5.1
724
+
725
+
726
+ ## weighted aov (PR#1930)
727
+ r <- c(10,23,23,26,17,5,53,55,32,46,10,8,10,8,23,0,3,22,15,32,3)
728
+ n <- c(39,62,81,51,39,6,74,72,51,79,13,16,30,28,45,4,12,41,30,51,7)
729
+ trt <- factor(rep(1:4,c(5,6,5,5)))
730
+ Y <- r/n
731
+ z <- aov(Y ~ trt, weights=n)
732
+ ## 1.5.1 gave unweighted RSS
733
+
734
+
735
+ ## rbind (PR#2266)
736
+ test <- as.data.frame(matrix(1:25, 5, 5))
737
+ test1 <- matrix(-(1:10), 2, 5)
738
+ rbind(test, test1)
739
+ rbind(test1, test)
740
+ ## 1.6.1 treated matrix as a vector.
741
+
742
+
743
+ ## escapes in non-quoted printing
744
+ x <- "\\abc\\"
745
+ names(x) <- 1
746
+ x
747
+ print(x, quote=FALSE)
748
+ ## 1.6.2 had label misaligned
749
+
750
+
751
+ ## summary on data frames containing data frames (PR#1891)
752
+ x <- data.frame(1:10)
753
+ x$z <- data.frame(x=1:10,yyy=11:20)
754
+ summary(x)
755
+ ## 1.6.2 had NULL labels on output with z columns stacked.
756
+
757
+
758
+ ## re-orderings in terms.formula (PR#2206)
759
+ form <- formula(y ~ a + b:c + d + e + e:d)
760
+ (tt <- terms(form))
761
+ (tt2 <- terms(formula(tt)))
762
+ stopifnot(identical(tt, tt2))
763
+ terms(delete.response(tt))
764
+ ## both tt and tt2 re-ordered the formula < 1.7.0
765
+ ## now try with a dot
766
+ terms(breaks ~ ., data = warpbreaks)
767
+ terms(breaks ~ . - tension, data = warpbreaks)
768
+ terms(breaks ~ . - tension, data = warpbreaks, simplify = TRUE)
769
+ terms(breaks ~ . ^2, data = warpbreaks)
770
+ terms(breaks ~ . ^2, data = warpbreaks, simplify = TRUE)
771
+ ## 1.6.2 expanded these formulae out as in simplify = TRUE
772
+
773
+
774
+ ## printing attributes (PR#2506)
775
+ (x <- structure(1:4, other=as.factor(LETTERS[1:3])))
776
+ ## < 1.7.0 printed the codes of the factor attribute
777
+
778
+
779
+ ## add logical matrix replacement indexing for data frames
780
+ TEMP <- data.frame(VAR1=c(1,2,3,4,5), VAR2=c(5,4,3,2,1), VAR3=c(1,1,1,1,NA))
781
+ TEMP[,c(1,3)][TEMP[,c(1,3)]==1 & !is.na(TEMP[,c(1,3)])] < -10
782
+ TEMP
783
+ ##
784
+
785
+ ## moved from reg-plot.R as exact output depends on rounding error
786
+ ## PR 390 (axis for small ranges)
787
+
788
+ relrange <- function(x) {
789
+ ## The relative range in EPS units
790
+ r <- range(x)
791
+ diff(r)/max(abs(r))/.Machine$double.eps
792
+ }
793
+
794
+ x <- c(0.12345678912345678,
795
+ 0.12345678912345679,
796
+ 0.12345678912345676)
797
+ # relrange(x) ## 1.0125, but depends on strtod
798
+ plot(x) # `extra horizontal' ; +- ok on Solaris; label off on Linux
799
+
800
+ y <- c(0.9999563255363383973418,
801
+ 0.9999563255363389524533,
802
+ 0.9999563255363382863194)
803
+ ## The relative range number:
804
+ # relrange(y) ## 3.000131, but depends on strtod
805
+ plot(y)# once gave infinite loop on Solaris [TL]; y-axis too long
806
+
807
+ ## Comments: The whole issue was finally deferred to main/graphics.c l.1944
808
+ ## error("relative range of values is too small to compute accurately");
809
+ ## which is not okay.
810
+
811
+ set.seed(101)
812
+ par(mfrow = c(3,3))
813
+ for(j.fac in 1e-12* c(10, 1, .7, .3, .2, .1, .05, .03, .01)) {
814
+ ## ====
815
+ #set.seed(101) # or don't
816
+ x <- pi + jitter(numeric(101), f = j.fac)
817
+ rrtxt <- paste("rel.range =", formatC(relrange(x), dig = 4),"* EPS")
818
+ cat("j.f = ", format(j.fac)," ; ", rrtxt,"\n",sep="")
819
+ plot(x, type = "l", main = rrtxt)
820
+ cat("par(\"usr\")[3:4]:", formatC(par("usr")[3:4], wid = 10),"\n",
821
+ "par(\"yaxp\") : ", formatC(par("yaxp"), wid = 10),"\n\n", sep="")
822
+ }
823
+ par(mfrow = c(1,1))
824
+ ## The warnings from inside GScale() will differ in their relrange() ...
825
+ ## >> do sloppy testing
826
+ ## 2003-02-03 hopefully no more. BDR
827
+ ## end of PR 390
828
+
829
+
830
+ ## scoping rules calling step inside a function
831
+ "cement" <-
832
+ structure(list(x1 = c(7, 1, 11, 11, 7, 11, 3, 1, 2, 21, 1, 11, 10),
833
+ x2 = c(26, 29, 56, 31, 52, 55, 71, 31, 54, 47, 40, 66, 68),
834
+ x3 = c(6, 15, 8, 8, 6, 9, 17, 22, 18, 4, 23, 9, 8),
835
+ x4 = c(60, 52, 20, 47, 33, 22, 6, 44, 22, 26, 34, 12, 12),
836
+ y = c(78.5, 74.3, 104.3, 87.6, 95.9, 109.2, 102.7, 72.5,
837
+ 93.1, 115.9, 83.8, 113.3, 109.4)),
838
+ names = c("x1", "x2", "x3", "x4", "y"), class = "data.frame",
839
+ row.names = 1:13)
840
+ teststep <- function(formula, data)
841
+ {
842
+ d2 <- data
843
+ fit <- lm(formula, data=d2)
844
+ step(fit)
845
+ }
846
+ teststep(formula(y ~ .), cement)
847
+ ## failed in 1.6.2
848
+
849
+ str(array(1))# not a scalar
850
+
851
+
852
+ ## na.print="" shouldn't apply to (dim)names!
853
+ (tf <- table(ff <- factor(c(1:2,NA,2), exclude=NULL)))
854
+ identical(levels(ff), dimnames(tf)[[1]])
855
+ str(levels(ff))
856
+ ## not quite ok previous to 1.7.0
857
+
858
+
859
+ ## PR#3058 printing with na.print and right=TRUE
860
+ a <- matrix( c(NA, "a", "b", "10",
861
+ NA, NA, "d", "12",
862
+ NA, NA, NA, "14"),
863
+ byrow=T, ncol=4 )
864
+ print(a, right=TRUE, na.print=" ")
865
+ print(a, right=TRUE, na.print="----")
866
+ ## misaligned in 1.7.0
867
+
868
+
869
+ ## assigning factors to dimnames
870
+ A <- matrix(1:4, 2)
871
+ aa <- factor(letters[1:2])
872
+ dimnames(A) <- list(aa, NULL)
873
+ A
874
+ dimnames(A)
875
+ ## 1.7.0 gave internal codes as display and dimnames()
876
+ ## 1.7.1beta gave NAs via dimnames()
877
+ ## 1.8.0 converts factors to character
878
+
879
+
880
+ ## wishlist PR#2776: aliased coefs in lm/glm
881
+ set.seed(123)
882
+ x2 <- x1 <- 1:10
883
+ x3 <- 0.1*(1:10)^2
884
+ y <- x1 + rnorm(10)
885
+ (fit <- lm(y ~ x1 + x2 + x3))
886
+ summary(fit, cor = TRUE)
887
+ (fit <- glm(y ~ x1 + x2 + x3))
888
+ summary(fit, cor = TRUE)
889
+ ## omitted silently in summary.glm < 1.8.0
890
+
891
+
892
+ ## list-like indexing of data frames with drop specified
893
+ women["height"]
894
+ women["height", drop = FALSE] # same with a warning
895
+ women["height", drop = TRUE] # ditto
896
+ women[,"height", drop = FALSE] # no warning
897
+ women[,"height", drop = TRUE] # a vector
898
+ ## second and third were interpreted as women["height", , drop] in 1.7.x
899
+
900
+ op <- options(warn = 2) # *no* warnings (for now)
901
+
902
+ ## make.names
903
+ make.names("")
904
+ make.names(".aa")
905
+ ## was "X.aa" in 1.7.1
906
+ make.names(".2")
907
+ make.names(".2a") # not valid in R
908
+ make.names(as.character(NA))
909
+ ##
910
+
911
+
912
+ ## strange names in data frames
913
+ as.data.frame(list(row.names=17)) # 0 rows in 1.7.1
914
+ aa <- data.frame(aa=1:3)
915
+ aa[["row.names"]] <- 4:6
916
+ aa # fine in 1.7.1
917
+ A <- matrix(4:9, 3, 2)
918
+ colnames(A) <- letters[1:2]
919
+ aa[["row.names"]] <- A
920
+ aa
921
+ ## wrong printed names in 1.7.1
922
+
923
+ ## assigning to NULL --- now consistently behaves as if assigning to list() !
924
+ a <- NULL
925
+ a[["a"]] <- 1
926
+ a
927
+ a <- NULL
928
+ a[["a"]] <- "something"
929
+ a
930
+ a <- NULL
931
+ a[["a"]] <- 1:3
932
+ a
933
+ ## Last was an error in 1.7.1
934
+
935
+
936
+ ## examples of 0-rank models, some empty, some rank-deficient
937
+ y <- rnorm(10)
938
+ x <- rep(0, 10)
939
+ (fit <- lm(y ~ 0))
940
+ summary(fit)
941
+ anova(fit)
942
+ predict(fit)
943
+ predict(fit, data.frame(x=x), se=TRUE)
944
+ predict(fit, type="terms", se=TRUE)
945
+ variable.names(fit) #should be empty
946
+ model.matrix(fit)
947
+
948
+ (fit <- lm(y ~ x + 0))
949
+ summary(fit)
950
+ anova(fit)
951
+ predict(fit)
952
+ tools::assertWarning(
953
+ predict(fit, data.frame(x=x), se=TRUE) -> p0
954
+ )
955
+ p0
956
+ if(FALSE)## not yet:
957
+ stopifnot(identical(p0$fit, predict(fit, data.frame(x=x), rankdeficient = "NA")))
958
+ predict(fit, type="terms", se=TRUE)
959
+ variable.names(fit) #should be empty
960
+ model.matrix(fit)
961
+
962
+ (fit <- glm(y ~ 0))
963
+ summary(fit)
964
+ anova(fit)
965
+ predict(fit)
966
+ predict(fit, data.frame(x=x), se=TRUE)
967
+ predict(fit, type="terms", se=TRUE)
968
+
969
+ (fit <- glm(y ~ x + 0))
970
+ summary(fit)
971
+ anova(fit)
972
+ predict(fit)
973
+ tools::assertWarning(
974
+ predict(fit, data.frame(x=x), se=TRUE) -> p0
975
+ )
976
+ p0
977
+ if(FALSE)## not yet:
978
+ stopifnot(identical(p0$fit, predict(fit, data.frame(x=x), rankdeficient = "NA")))
979
+ predict(fit, type="terms", se=TRUE)
980
+ ## Lots of problems in 1.7.x
981
+
982
+
983
+ ## lm.influence on deficient lm models
984
+ dat <- data.frame(y=rnorm(10), x1=1:10, x2=1:10, x3 = 0, wt=c(0,rep(1, 9)),
985
+ row.names=letters[1:10])
986
+ dat[3, 1] <- dat[4, 2] <- NA
987
+ lm.influence(lm(y ~ x1 + x2, data=dat, weights=wt, na.action=na.omit))
988
+ lm.influence(lm(y ~ x1 + x2, data=dat, weights=wt, na.action=na.exclude))
989
+ lm.influence(lm(y ~ 0, data=dat, weights=wt, na.action=na.omit))
990
+ print(width = 99,
991
+ lm.influence(lm(y ~ 0, data=dat, weights=wt, na.action=na.exclude))
992
+ ) ; stopifnot(getOption("width") == 80)
993
+ lm.influence(lm(y ~ 0 + x3, data=dat, weights=wt, na.action=na.omit))
994
+ lm.influence(lm(y ~ 0 + x3, data=dat, weights=wt, na.action=na.exclude))
995
+ lm.influence(lm(y ~ 0, data=dat, na.action=na.exclude))
996
+ ## last three misbehaved in 1.7.x, none had proper names.
997
+
998
+
999
+ ## length of results in ARMAacf when lag.max is used
1000
+ ARMAacf(ar=c(1.3,-0.6, -0.2, 0.1),lag.max=1) # was 4 in 1.7.1
1001
+ ARMAacf(ar=c(1.3,-0.6, -0.2, 0.1),lag.max=2)
1002
+ ARMAacf(ar=c(1.3,-0.6, -0.2, 0.1),lag.max=3)
1003
+ ARMAacf(ar=c(1.3,-0.6, -0.2, 0.1),lag.max=4)
1004
+ ARMAacf(ar=c(1.3,-0.6, -0.2, 0.1),lag.max=5) # failed in 1.7.1
1005
+ ARMAacf(ar=c(1.3,-0.6, -0.2, 0.1),lag.max=6)
1006
+ ARMAacf(ar=c(1.3,-0.6, -0.2, 0.1),lag.max=10)
1007
+ ##
1008
+
1009
+
1010
+ ## Indexing non-existent columns in a data frame
1011
+ x <- data.frame(a = 1, b = 2)
1012
+ try(x[c("a", "c")])
1013
+ try(x[, c("a", "c")])
1014
+ try(x[1, c("a", "c")])
1015
+ ## Second succeeded, third gave uniformative error message in 1.7.x.
1016
+
1017
+
1018
+ ## methods(class = ) with namespaces, .Primitives etc (many missing in 1.7.x):
1019
+ meth2gen <- function(cl)
1020
+ noquote(sub(paste("\\.",cl,"$",sep=""),"", c(.S3methods(class = cl))))
1021
+ meth2gen("data.frame")
1022
+ meth2gen("dendrogram")
1023
+ ## --> the output may need somewhat frequent updating..
1024
+
1025
+
1026
+ ## subsetting a 1D array lost the dimensions
1027
+ x <- array(1:5, dim=c(5))
1028
+ dim(x)
1029
+ dim(x[, drop=TRUE])
1030
+ dim(x[2:3])
1031
+ dim(x[2])
1032
+ dim(x[2, drop=FALSE])
1033
+ dimnames(x) <- list(some=letters[1:5])
1034
+ x[]
1035
+ x[2:3]
1036
+ x[2]
1037
+ x[2, drop=FALSE]
1038
+ ## both dim and dimnames lost in 1.8.0
1039
+
1040
+
1041
+ ## print.dist() didn't show NA's prior to 1.8.1
1042
+ x <- cbind(c(1,NA,2,3), c(NA,2,NA,1))
1043
+ (d <- dist(x))
1044
+ print(d, diag = TRUE)
1045
+ ##
1046
+
1047
+
1048
+ ## offsets in model terms where sometimes not deleted correctly
1049
+ attributes(terms(~ a + b + a:b + offset(c)))[c("offset", "term.labels")]
1050
+ attributes(terms(y ~ a + b + a:b + offset(c)))[c("offset", "term.labels")]
1051
+ attributes(terms(~ offset(c) + a + b + a:b))[c("offset", "term.labels")]
1052
+ attributes(terms(y ~ offset(c) + a + b + a:b))[c("offset", "term.labels")]
1053
+ ## errors prior to 1.8.1
1054
+
1055
+
1056
+ ## 0-level factors gave nonsensical answers in model.matrix
1057
+ m <- model.frame(~x, data.frame(x=NA), na.action=na.pass)
1058
+ model.matrix(~x, m)
1059
+ lm.fit <- lm(y ~ x, data.frame(x=1:10, y=1:10))
1060
+ try(predict(lm.fit, data.frame(x=NA)))
1061
+ ## wrong answers in 1.8.0, refused to run in 1.8.1
1062
+
1063
+
1064
+
1065
+ ## failure to print data frame containing arrays
1066
+ ## raised by John Fox on R-devel on 2004-01-08
1067
+ y1 <- array(1:10, dim=10)
1068
+ y2 <- array(1:30, dim=c(10,3), dimnames=list(NULL, letters[1:3]))
1069
+ y3 <- array(1:40, dim=c(10,2,2),
1070
+ dimnames=list(NULL, letters[1:2], NULL))
1071
+ data.frame(y=y1)
1072
+ data.frame(y=y2)
1073
+ data.frame(y=y3)
1074
+
1075
+ as.data.frame(y1)
1076
+ as.data.frame(y2)
1077
+ as.data.frame(y3)
1078
+
1079
+ X <- data.frame(x=1:10)
1080
+ X$y <- y1
1081
+ X
1082
+ sapply(X, dim)
1083
+
1084
+ X$y <- y2
1085
+ X
1086
+ sapply(X, dim)
1087
+
1088
+ X$y <- y3
1089
+ X
1090
+ sapply(X, dim)
1091
+ ## The last one fails in S.
1092
+
1093
+ ## test of user hooks
1094
+ for(id in c("A", "B")) {
1095
+ eval(substitute(
1096
+ {
1097
+ setHook(packageEvent("stats4", "onLoad"),
1098
+ function(pkgname, ...) cat("onLoad", sQuote(pkgname), id, "\n"));
1099
+ setHook(packageEvent("stats4", "attach"),
1100
+ function(pkgname, ...) cat("attach", sQuote(pkgname), id, "\n"));
1101
+ setHook(packageEvent("stats4", "detach"),
1102
+ function(pkgname, ...) cat("detach", sQuote(pkgname), id, "\n"));
1103
+ setHook(packageEvent("stats4", "onUnload"),
1104
+ function(pkgname, ...) cat("onUnload", sQuote(pkgname), id, "\n"))
1105
+ },
1106
+ list(id=id)))
1107
+ }
1108
+ loadNamespace("stats4")
1109
+ library("stats4")
1110
+ detach("package:stats4")
1111
+ unloadNamespace("stats4")
1112
+ ## Just tests
1113
+
1114
+
1115
+ ## rep(0-length-vector, length.out > 0)
1116
+ rep(integer(0), length.out=0)
1117
+ rep(integer(0), length.out=10)
1118
+ typeof(.Last.value)
1119
+ rep(logical(0), length.out=0)
1120
+ rep(logical(0), length.out=10)
1121
+ typeof(.Last.value)
1122
+ rep(numeric(0), length.out=0)
1123
+ rep(numeric(0), length.out=10)
1124
+ typeof(.Last.value)
1125
+ rep(character(0), length.out=0)
1126
+ rep(character(0), length.out=10)
1127
+ typeof(.Last.value)
1128
+ rep(complex(0), length.out=0)
1129
+ rep(complex(0), length.out=10)
1130
+ typeof(.Last.value)
1131
+ rep(list(), length.out=0)
1132
+ rep(list(), length.out=10)
1133
+ ## always 0-length before 1.9.0
1134
+
1135
+
1136
+ ## supplying 0-length data to array and matrix
1137
+ array(numeric(0), c(2, 2))
1138
+ array(list(), c(2,2))
1139
+ # worked < 1.8.0, error in 1.8.x
1140
+ matrix(character(0), 1, 2)
1141
+ matrix(integer(0), 1, 2)
1142
+ matrix(logical(0), 1, 2)
1143
+ matrix(numeric(0), 1, 2)
1144
+ matrix(complex(0), 1, 2)
1145
+ matrix(list(), 1, 2)
1146
+ ## did not work < 1.9.0
1147
+
1148
+
1149
+ ## S compatibility change in 1.9.0
1150
+ rep(1:2, each=3, length=12)
1151
+ ## used to pad with NAs.
1152
+
1153
+
1154
+ ## PR#6510: aov() with error and -1
1155
+ set.seed(1)
1156
+ test.df <- data.frame (y=rnorm(8), a=gl(2,1,8), b=gl(2,3,8),c=gl(2,4,8))
1157
+ aov(y ~ a + b + Error(c), data=test.df)
1158
+ aov(y ~ a + b - 1 + Error(c), data=test.df)
1159
+ ## wrong assignment to strata labels < 1.9.0
1160
+ ## Note this is unbalanced and not a good example
1161
+
1162
+ binom.test(c(800,10))# p-value < epsilon
1163
+
1164
+ options(op) # revert: warnings allowed
1165
+
1166
+ ## aov with a singular error model
1167
+ rd <- c(16.53, 12.12, 10.04, 15.32, 12.33, 10.1, 17.09, 11.69, 11.81, 14.75,
1168
+ 10.72, 8.79, 13.14, 9.79, 8.36, 15.62, 9.64, 8.72, 15.32,
1169
+ 11.35, 8.52, 13.27, 9.74, 8.78, 13.16, 10.16, 8.4, 13.08, 9.66,
1170
+ 8.16, 12.17, 9.13, 7.43, 13.28, 9.16, 7.92, 118.77, 78.83, 62.2,
1171
+ 107.29, 73.79, 58.59, 118.9, 66.35, 53.12, 372.62, 245.39, 223.72,
1172
+ 326.03, 232.67, 209.44, 297.55, 239.71, 223.8)
1173
+ sample.df <- data.frame(dep.variable=rd,
1174
+ subject=factor(rep(paste("subj",1:6, sep=""),each=9)),
1175
+ f1=factor(rep(rep(c("f1","f2","f3"),each=6),3)),
1176
+ f2=factor(rep(c("g1","g2","g3"),each=18))
1177
+ )
1178
+ sample.aov <- aov(dep.variable ~ f1 * f2 + Error(subject/(f1+f2)), data=sample.df) # warning: singular
1179
+ sample.aov
1180
+ summary(sample.aov)
1181
+ sample.aov <- aov(dep.variable ~ f1 * f2 + Error(subject/(f2+f1)), data=sample.df)
1182
+ sample.aov
1183
+ summary(sample.aov)
1184
+ ## failed in 1.8.1
1185
+
1186
+
1187
+ ## PR#6645 stem() with near-constant values
1188
+ stem(rep(1, 100))
1189
+ stem(rep(0.1, 10))
1190
+ stem(c(rep(1, 10), 1+1.e-8))
1191
+ stem(c(rep(1, 10), 1+1.e-9))
1192
+ stem(c(rep(1, 10), 1+1.e-10), atom=0) # integer-overflow is avoided.
1193
+ ## had integer overflows in 1.8.1, and silly shifts of decimal point
1194
+
1195
+
1196
+ ## PR#6633 warnings with vector op matrix, and more
1197
+ set.seed(1)
1198
+ x1 <- rnorm(3)
1199
+ y1 <- rnorm(4)
1200
+ x1 * y1
1201
+ x1 * as.matrix(y1) # no warning in 1.8.1
1202
+ x1 * matrix(y1,2,2)# ditto
1203
+ z1 <- x1 > 0
1204
+ z2 <- y1 > 0
1205
+ z1 & z2
1206
+ z1 & as.matrix(z2) # no warning in 1.8.1
1207
+ x1 < y1 # no warning in 1.8.1
1208
+ x1 < as.matrix(y1) # ditto
1209
+ ##
1210
+
1211
+
1212
+ ## summary method for mle
1213
+ library(stats4)
1214
+ N <- c(rep(3:6, 3), 7,7, rep(8,6), 9,9, 10,12)# sample from Pois(lam = 7)
1215
+ summary(mle(function(Lam = 1) -sum(dpois(N, Lam))))
1216
+ ## "Coefficients" was "NULL" in 1.9.0's "devel"
1217
+
1218
+
1219
+ ## PR#6656 terms.formula(simplify = TRUE) was losing offset terms
1220
+ ## successive offsets caused problems
1221
+ df <- data.frame(x=1:4, y=sqrt( 1:4), z=c(2:4,1))
1222
+ fit1 <- glm(y ~ offset(x) + z, data=df)
1223
+ update(fit1, ". ~.")$call
1224
+ ## lost offset in 1.7.0 to 1.8.1
1225
+ terms(y ~ offset(x) + offset(log(x)) + z, data=df)
1226
+ ## failed to remove second offset from formula in 1.8.1
1227
+ terms(y ~ offset(x) + z - z, data=df, simplify = TRUE)
1228
+ ## first fix failed for models with no non-offset terms.
1229
+
1230
+
1231
+ ## only the first two were wrong up to 1.8.1:
1232
+ 3:4 * 1e-100
1233
+ 8:11* 1e-100
1234
+ 1:2 * 1e-99
1235
+ 1:2 * 1e+99
1236
+ 8:11* 1e+99
1237
+ 3:4 * 1e+100
1238
+ ##
1239
+
1240
+
1241
+ ## negative subscripts could be mixed with NAs
1242
+ x <- 1:3
1243
+ try(x[-c(1, NA)])
1244
+ ## worked on some platforms, segfaulted on others in 1.8.1
1245
+
1246
+
1247
+ ## vector 'border' (and no 'pch', 'cex' nor 'bg'):
1248
+ boxplot(count ~ spray, data = InsectSprays, border=2:7)
1249
+ ## gave warnings in 1.9.0
1250
+
1251
+ summary(as.Date(paste("2002-12", 26:31, sep="-")))
1252
+ ## printed all "2002.-12-29" in 1.9.1 {because digits was too small}
1253
+ as.matrix(data.frame(d = as.POSIXct("2004-07-20")))
1254
+ ## gave a warning in 1.9.1
1255
+
1256
+
1257
+ ## Dump should quote when necessary (PR#6857)
1258
+ x <- quote(b)
1259
+ dump("x", "")
1260
+ ## doesn't quote b in 1.9.0
1261
+
1262
+
1263
+ ## some checks of indexing by character, used to test hashing code
1264
+ x <- 1:26
1265
+ names(x) <- letters
1266
+ x[c("a", "aa", "aa")] <- 100:102
1267
+ x
1268
+
1269
+ x <- 1:26
1270
+ names(x) <- rep("", 26)
1271
+ x[c("a", "aa", "aa")] <- 100:102
1272
+ x
1273
+ ##
1274
+
1275
+
1276
+ ## tests of raw type
1277
+ # tests of logic operators
1278
+ x <- "A test string"
1279
+ (y <- charToRaw(x))
1280
+ (xx <- c(y, as.raw(0), charToRaw("more")))
1281
+
1282
+ !y
1283
+ y & as.raw(15)
1284
+ y | as.raw(128)
1285
+
1286
+ # tests of binary read/write
1287
+ zz <- file("testbin", "wb")
1288
+ writeBin(xx, zz)
1289
+ close(zz)
1290
+ zz <- file("testbin", "rb")
1291
+ (yy <- readBin(zz, "raw", 100))
1292
+ seek(zz, 0, "start")
1293
+ readBin(zz, "integer", n=100, size = 1) # read as small integers
1294
+ seek(zz, 0, "start")
1295
+ readBin(zz, "character", 100) # is confused by embedded nul.
1296
+ seek(zz, 0, "start")
1297
+ readChar(zz, length(xx)) # truncates at embedded nul
1298
+ seek(zz) # make sure current position is reported properly
1299
+ close(zz)
1300
+ unlink("testbin")
1301
+
1302
+ # tests of ASCII read/write.
1303
+ cat(xx, file="testascii")
1304
+ scan("testascii", what=raw(0))
1305
+ unlink("testascii")
1306
+ ##
1307
+
1308
+
1309
+ ## Example of prediction not from newdata as intended.
1310
+ set.seed(1)
1311
+ y <- rnorm(10)
1312
+ x <- cbind(1:10, sample(1:10)) # matrix
1313
+ xt <- cbind(1:2, 3:4)
1314
+ (lm1 <- lm(y ~ x))
1315
+ predict(lm1, newdata = data.frame(x= xt))
1316
+ ## warns as from 2.0.0
1317
+
1318
+
1319
+ ## eval could alter a data.frame/list second argument
1320
+ data(trees)
1321
+ a <- trees
1322
+ eval(quote({Girth[1]<-NA;Girth}),a)
1323
+ a[1, ]
1324
+ trees[1, ]
1325
+ ## both a and trees got altered in 1.9.1
1326
+
1327
+
1328
+ ## write.table did not apply qmethod to col.names (PR#7171)
1329
+ x <- data.frame("test string with \"" = c("a \" and a '"), check.names=FALSE)
1330
+ write.table(x)
1331
+ write.table(x, qmethod = "double")
1332
+ ## Quote in col name was unescaped in 1.9.1.
1333
+
1334
+
1335
+ ## extensions to read.table
1336
+ Mat <- matrix(c(1:3, letters[1:3], 1:3, LETTERS[1:3],
1337
+ c("2004-01-01", "2004-02-01", "2004-03-01"),
1338
+ c("2004-01-01 12:00", "2004-02-01 12:00", "2004-03-01 12:00")),
1339
+ 3, 6)
1340
+ foo <- tempfile(tmpdir = getwd())
1341
+ write.table(Mat, foo, col.names = FALSE, row.names = FALSE)
1342
+ read.table(foo, colClasses = c(NA, NA, "NULL", "character", "Date", "POSIXct"),
1343
+ stringsAsFactors=TRUE)
1344
+ unlist(sapply(.Last.value, class))
1345
+ read.table(foo, colClasses = c("factor",NA,"NULL","factor","Date","POSIXct"),
1346
+ stringsAsFactors=TRUE)
1347
+ unlist(sapply(.Last.value, class))
1348
+ read.table(foo, colClasses = c(V4="character"), stringsAsFactors=TRUE)
1349
+ unlist(sapply(.Last.value, class))
1350
+ unlink(foo)
1351
+ ## added in 2.0.0
1352
+
1353
+
1354
+ ## write.table with complex columns (PR#7260, in part)
1355
+ write.table(data.frame(x = 0.5+1:4, y = 1:4 + 1.5i), file = "")
1356
+ # printed all as complex in 2.0.0.
1357
+ write.table(data.frame(x = 0.5+1:4, y = 1:4 + 1.5i), file = "", dec=",")
1358
+ ## used '.' not ',' in 2.0.0
1359
+
1360
+ ## splinefun() value test
1361
+ (x <- seq(0,6, length=25))
1362
+ mx <- sapply(c("fmm", "nat", "per"),
1363
+ function(m) splinefun(1:5, c(1,2,4,3,1), method = m)(x))
1364
+ cbind(x,mx)
1365
+
1366
+
1367
+ ## infinite loop in read.fwf (PR#7350)
1368
+ cat(file="test.txt", sep = "\n", "# comment 1", "1234567 # comment 2",
1369
+ "1 234567 # comment 3", "12345 67 # comment 4", "# comment 5")
1370
+ read.fwf("test.txt", width=c(2,2,3), skip=1, n=4) # looped
1371
+ read.fwf("test.txt", width=c(2,2,3), skip=1) # 1 line short
1372
+ read.fwf("test.txt", width=c(2,2,3), skip=0)
1373
+ unlink("test.txt")
1374
+ ##
1375
+
1376
+
1377
+ ## split was not handling lists and raws
1378
+ split(as.list(1:3), c(1,1,2))
1379
+ (y <- charToRaw("A test string"))
1380
+ (z <- split(y, rep(1:5, times=c(1,1,4,1,6))))
1381
+ sapply(z, rawToChar)
1382
+ ## wrong results in 2.0.0
1383
+
1384
+
1385
+ ## tests of changed S3 implicit classes in 2.1.0
1386
+ foo <- function(x, ...) UseMethod("foo")
1387
+ foo.numeric <- function(x) cat("numeric arg\n")
1388
+ foo(1:10)
1389
+ foo(pi)
1390
+ foo(matrix(1:10, 2, 5))
1391
+ foo.integer <- function(x) cat("integer arg\n")
1392
+ foo.double <- function(x) cat("double arg\n")
1393
+ foo(1:10)
1394
+ foo(pi)
1395
+ foo(matrix(1:10, 2, 5))
1396
+ ##
1397
+
1398
+
1399
+ ## str() interpreted escape sequences prior to 2.1.0
1400
+ x <- "ab\bc\ndef"
1401
+ str(x)
1402
+ str(x, vec.len=0)# failed in rev 32244
1403
+ str(factor(x))
1404
+
1405
+ x <- c("a", NA, "b")
1406
+ factor(x)
1407
+ factor(x, exclude="")
1408
+ str(x)
1409
+ str(factor(x))
1410
+ str(factor(x, exclude=""))
1411
+ ##
1412
+
1413
+
1414
+ ## print.factor(quote=TRUE) was not quoting levels
1415
+ x <- c("a", NA, "b", 'a " test') #" (comment for fontification)
1416
+ factor(x)
1417
+ factor(x, exclude="")
1418
+ print(factor(x), quote=TRUE)
1419
+ print(factor(x, exclude=""), quote=TRUE)
1420
+ ## last two printed levels differently from values in 2.0.1
1421
+
1422
+
1423
+ ## write.table in marginal cases
1424
+ x <- matrix(, 3, 0)
1425
+ write.table(x) # 3 rows
1426
+ write.table(x, row.names=FALSE)
1427
+ # note: scan and read.table won't read this as they take empty fields as NA
1428
+ ## was 1 row in 2.0.1
1429
+
1430
+
1431
+ ## More tests of write.table
1432
+ x <- list(a=1, b=1:2, c=3:4, d=5)
1433
+ dim(x) <- c(2,2)
1434
+ x
1435
+ write.table(x)
1436
+
1437
+ x1 <- data.frame(a=1:2, b=I(matrix(LETTERS[1:4], 2, 2)), c = c("(i)", "(ii)"))
1438
+ x1
1439
+ write.table(x1) # In 2.0.1 had 3 headers, 4 cols
1440
+ write.table(x1, quote=c(2,3,4))
1441
+
1442
+ x2 <- data.frame(a=1:2, b=I(list(a=1, b=2)))
1443
+ x2
1444
+ write.table(x2)
1445
+
1446
+ x3 <- seq(as.Date("2005-01-01"), len=6, by="day")
1447
+ x4 <- data.frame(x=1:6, y=x3)
1448
+ dim(x3) <- c(2,3)
1449
+ x3
1450
+ write.table(x3) # matrix, so loses class
1451
+ x4
1452
+ write.table(x4) # preserves class, does not quote
1453
+ ##
1454
+
1455
+
1456
+ ## Problem with earlier regexp code spotted by KH
1457
+ grep("(.*s){2}", "Arkansas", v = TRUE)
1458
+ grep("(.*s){3}", "Arkansas", v = TRUE)
1459
+ grep("(.*s){3}", state.name, v = TRUE)
1460
+ ## Thought Arkansas had 3 s's.
1461
+
1462
+
1463
+ ## Replacing part of a non-existent column could create a short column.
1464
+ xx<- data.frame(a=1:4, b=letters[1:4])
1465
+ xx[2:3, "c"] <- 2:3
1466
+ ## gave short column in R < 2.1.0.
1467
+
1468
+
1469
+ ## add1/drop1 could give misleading results if missing values were involved
1470
+ y <- rnorm(1:20)
1471
+ x <- 1:20; x[10] <- NA
1472
+ x2 <- runif(20); x2[20] <- NA
1473
+ fit <- lm(y ~ x)
1474
+ drop1(fit)
1475
+ res <- try(stats:::drop1.default(fit))
1476
+ stopifnot(inherits(res, "try-error"))
1477
+ add1(fit, ~ . +x2)
1478
+ res <- try(stats:::add1.default(fit, ~ . +x2))
1479
+ stopifnot(inherits(res, "try-error"))
1480
+ ## 2.0.1 ran and gave incorrect answers.
1481
+
1482
+
1483
+ ## (PR#7789) escaped quotes in the first five lines for read.table
1484
+ tf <- tempfile(tmpdir = getwd())
1485
+ x <- c("6 'TV2 Shortland Street'",
1486
+ "2 'I don\\\'t watch TV at 7'",
1487
+ "1 'I\\\'m not bothered, whatever that looks good'",
1488
+ "2 'I channel surf'")
1489
+ writeLines(x, tf)
1490
+ read.table(tf)
1491
+ x <- c("6 'TV2 Shortland Street'",
1492
+ "2 'I don''t watch TV at 7'",
1493
+ "1 'I''m not bothered, whatever that looks good'",
1494
+ "2 'I channel surf'")
1495
+ writeLines(x, tf)
1496
+ read.table(tf, sep=" ")
1497
+ unlink(tf)
1498
+ ## mangled in 2.0.1
1499
+
1500
+
1501
+ ## (PR#7802) printCoefmat(signif.legend =FALSE) failed
1502
+ set.seed(123)
1503
+ cmat <- cbind(rnorm(3, 10), sqrt(rchisq(3, 12)))
1504
+ cmat <- cbind(cmat, cmat[,1]/cmat[,2])
1505
+ cmat <- cbind(cmat, 2*pnorm(-cmat[,3]))
1506
+ colnames(cmat) <- c("Estimate", "Std.Err", "Z value", "Pr(>z)")
1507
+ printCoefmat(cmat, signif.stars = TRUE)
1508
+ printCoefmat(cmat, signif.stars = TRUE, signif.legend = FALSE)
1509
+ # no stars, so no legend
1510
+ printCoefmat(cmat, signif.stars = FALSE)
1511
+ printCoefmat(cmat, signif.stars = TRUE, signif.legend = TRUE)
1512
+ ## did not work in 2.1.0
1513
+
1514
+
1515
+ ## PR#7824 subscripting an array by a matrix
1516
+ x <- matrix(1:6, ncol=2)
1517
+ x[rbind(c(1,1), c(2,2))]
1518
+ x[rbind(c(1,1), c(2,2), c(0,1))]
1519
+ x[rbind(c(1,1), c(2,2), c(0,0))]
1520
+ x[rbind(c(1,1), c(2,2), c(0,2))]
1521
+ x[rbind(c(1,1), c(2,2), c(0,3))]
1522
+ x[rbind(c(1,1), c(2,2), c(1,0))]
1523
+ x[rbind(c(1,1), c(2,2), c(2,0))]
1524
+ x[rbind(c(1,1), c(2,2), c(3,0))]
1525
+ x[rbind(c(1,0), c(0,2), c(3,0))]
1526
+ x[rbind(c(1,0), c(0,0), c(3,0))]
1527
+ x[rbind(c(1,1), c(2,2), c(1,2))]
1528
+ x[rbind(c(1,1), c(2,NA), c(1,2))]
1529
+ x[rbind(c(1,0), c(2,NA), c(1,2))]
1530
+ try(x[rbind(c(1,1), c(2,2), c(-1,2))])
1531
+ try(x[rbind(c(1,1), c(2,2), c(-2,2))])
1532
+ try(x[rbind(c(1,1), c(2,2), c(-3,2))])
1533
+ try(x[rbind(c(1,1), c(2,2), c(-4,2))])
1534
+ try(x[rbind(c(1,1), c(2,2), c(-1,-1))])
1535
+ try(x[rbind(c(1,1,1), c(2,2,2))])
1536
+
1537
+ # verify that range checks are applied to negative indices
1538
+ x <- matrix(1:6, ncol=3)
1539
+ try(x[rbind(c(1,1), c(2,2), c(-3,3))])
1540
+ try(x[rbind(c(1,1), c(2,2), c(-4,3))])
1541
+ ## generally allowed in 2.1.0.
1542
+
1543
+
1544
+ ## printing RAW matrices/arrays was not implemented
1545
+ s <- sapply(0:7, function(i) rawShift(charToRaw("my text"),i))
1546
+ s
1547
+ dim(s) <- c(7,4,2)
1548
+ s
1549
+ ## empty < 2.1.1
1550
+
1551
+
1552
+ ## interpretation of '.' directly by model.matrix
1553
+ dd <- data.frame(a = gl(3,4), b = gl(4,1,12))
1554
+ model.matrix(~ .^2, data = dd)
1555
+ ## lost ^2 in 2.1.1
1556
+
1557
+
1558
+ ## add1.lm and drop.lm did not know about offsets (PR#8049)
1559
+ set.seed(2)
1560
+ y <- rnorm(10)
1561
+ z <- 1:10
1562
+ lm0 <- lm(y ~ 1)
1563
+ lm1 <- lm(y ~ 1, offset = 1:10)
1564
+ lm2 <- lm(y ~ z, offset = 1:10)
1565
+
1566
+ add1(lm0, scope = ~ z)
1567
+ anova(lm1, lm2)
1568
+ add1(lm1, scope = ~ z)
1569
+ drop1(lm2)
1570
+ ## Last two ignored the offset in 2.1.1
1571
+
1572
+
1573
+ ## tests of raw conversion
1574
+ as.raw(1234)
1575
+ as.raw(list(a=1234))
1576
+ ## 2.1.1: spurious and missing messages, wrong result for second.
1577
+
1578
+
1579
+ ### end of tests added in 2.1.1 patched ###
1580
+
1581
+
1582
+ ## Tests of logical matrix indexing with NAs
1583
+ df1 <- data.frame(a = c(NA, 0, 3, 4)); m1 <- as.matrix(df1)
1584
+ df2 <- data.frame(a = c(NA, 0, 0, 4)); m2 <- as.matrix(df2)
1585
+ df1[df1 == 0] <- 2; df1
1586
+ m1[m1 == 0] <- 2; m1
1587
+ df2[df2 == 0] <- 2; df2 # not allowed in 2.{0,1}.z
1588
+ m2[m2 == 0] <- 2; m2
1589
+ df1[df1 == 2] # this is first coerced to a matrix, and drops to a vector
1590
+ df3 <- data.frame(a=1:2, b=2:3)
1591
+ df3[df3 == 2] # had spurious names
1592
+ # but not allowed
1593
+ ## (modified to make printed result the same whether numeric() is
1594
+ ## compiled or interpreted)
1595
+ ## try(df2[df2 == 2] <- 1:2)
1596
+ ## try(m2[m2 == 2] <- 1:2)
1597
+ tryCatch(df2[df2 == 2] <- 1:2,
1598
+ error = function(e) paste("Error:", conditionMessage(e)))
1599
+ tryCatch(m2[m2 == 2] <- 1:2,
1600
+ error = function(e) paste("Error:", conditionMessage(e)))
1601
+ ##
1602
+
1603
+
1604
+ ## vector indexing of matrices: issue is when rownames are used
1605
+ # 1D array
1606
+ m1 <- c(0,1,2,0)
1607
+ dim(m1) <- 4
1608
+ dimnames(m1) <- list(1:4)
1609
+ m1[m1 == 0] # has rownames
1610
+ m1[which(m1 == 0)] # has rownames
1611
+ m1[which(m1 == 0, arr.ind = TRUE)] # no names < 2.2.0 (side effect of PR#937)
1612
+
1613
+ # 2D array with 2 cols
1614
+ m2 <- as.matrix(data.frame(a=c(0,1,2,0), b=0:3))
1615
+ m2[m2 == 0] # a vector, had names < 2.2.0
1616
+ m2[which(m2 == 0)] # a vector, had names < 2.2.0
1617
+ m2[which(m2 == 0, arr.ind = TRUE)] # no names (PR#937)
1618
+
1619
+ # 2D array with one col: could use rownames but do not.
1620
+ m21 <- m2[, 1, drop = FALSE]
1621
+ m21[m21 == 0]
1622
+ m21[which(m21 == 0)]
1623
+ m21[which(m21 == 0, arr.ind = TRUE)]
1624
+ ## not consistent < 2.2.0: S never gives names
1625
+
1626
+
1627
+ ## tests of indexing as quoted in Extract.Rd
1628
+ x <- NULL
1629
+ x$foo <- 2
1630
+ x # now, a list
1631
+ x <- NULL
1632
+ x[[2]] <- pi
1633
+ x # now, a list, too
1634
+ x <- NULL
1635
+ x[[1]] <- 1:3
1636
+ x # list
1637
+ ##
1638
+
1639
+
1640
+ ## printing of a kernel:
1641
+ kernel(1)
1642
+ ## printed wrongly in R <= 2.1.1
1643
+
1644
+
1645
+ ## using NULL as a replacement value
1646
+ DF <- data.frame(A=1:2, B=3:4)
1647
+ try(DF[2, 1:3] <- NULL)
1648
+ ## wrong error message in R < 2.2.0
1649
+
1650
+
1651
+ ## tests of signif
1652
+ ob <- 0:9 * 2000
1653
+ print(signif(ob, 3), digits=17) # had rounding error in 2.1.1
1654
+ signif(1.2347e-305, 4)
1655
+ signif(1.2347e-306, 4) # only 3 digits in 2.1.1
1656
+ signif(1.2347e-307, 4)
1657
+ ##
1658
+
1659
+ ### end of tests added in 2.2.0 patched ###
1660
+
1661
+
1662
+ ## printing lists with NA names
1663
+ A <- list(1, 2)
1664
+ names(A) <- c("NA", NA)
1665
+ A
1666
+ ## both printed as "NA" in 2.2.0
1667
+
1668
+
1669
+ ## subscripting with both NA and "NA" names
1670
+ x <- 1:4
1671
+ names(x) <- c(NA, "NA", "a", "")
1672
+ x[names(x)]
1673
+ ## 2.2.0 had the second matching the first.
1674
+ lx <- as.list(x)
1675
+ lx[[as.character(NA)]]
1676
+ lx[as.character(NA)]
1677
+ ## 2.2.0 had both matching element 1
1678
+
1679
+
1680
+ ## data frame replacement subscripting
1681
+ # Charles C. Berry, R-devel, 2005-10-26
1682
+ a.frame <- data.frame( x=letters[1:5] )
1683
+ a.frame[ 2:5, "y" ] <- letters[2:5]
1684
+ a.frame # added rows 1:4
1685
+ # and adding and replacing matrices failed
1686
+ a.frame[ ,"y" ] <- matrix(1:10, 5, 2)
1687
+ a.frame
1688
+ a.frame[3:5 ,"y" ] <- matrix(1:6, 3, 2)
1689
+ a.frame
1690
+ a.frame <- data.frame( x=letters[1:5] )
1691
+ a.frame[3:5 ,"y" ] <- matrix(1:6, 3, 2)
1692
+ a.frame
1693
+ ## failed/wrong ans in 2.2.0
1694
+
1695
+
1696
+ ### end of tests added in 2.2.0 patched ###
1697
+
1698
+
1699
+ ## test of fix of trivial warning PR#8252
1700
+ pairs(iris[1:4], oma=rep(3,4))
1701
+ ## warned in 2.2.0 only
1702
+
1703
+
1704
+ ## str(<dendrogram>)
1705
+ dend <- as.dendrogram(hclust(dist(USArrests), "ave")) # "print()" method
1706
+ dend2 <- cut(dend, h=70)
1707
+ str(dend2$upper)
1708
+ ## {{for Emacs: `}} gave much too many spaces in 2.2.[01]
1709
+
1710
+
1711
+ ## formatC on Windows (PR#8337)
1712
+ xx <- pi * 10^(-5:4)
1713
+ cbind(formatC(xx, wid = 9))
1714
+ cbind(formatC(xx, wid = 9, flag = "-"))
1715
+ cbind(formatC(xx, wid = 9, flag = "0"))
1716
+ ## extra space on 2.2.1
1717
+
1718
+
1719
+ ## an impossible glm fit
1720
+ success <- c(13,12,11,14,14,11,13,11,12)
1721
+ failure <- c(0,0,0,0,0,0,0,2,2)
1722
+ predictor <- c(0, 5^(0:7))
1723
+ try(glm(cbind(success,failure) ~ 0+predictor, family = binomial(link="log")))
1724
+ # no coefficient is possible as the first case will have mu = 1
1725
+ ## 2.2.1 gave a subscript out of range warning instead.
1726
+
1727
+
1728
+ ## error message from solve (PR#8494)
1729
+ temp <- diag(1, 5)[, 1:4]
1730
+ rownames(temp) <- as.character(1:5)
1731
+ colnames(temp) <- as.character(1:4)
1732
+ try(solve(temp))
1733
+ # also complex
1734
+ try(solve(temp+0i))
1735
+ # and non-comformant systems
1736
+ try(solve(temp, diag(3)))
1737
+ ## gave errors from rownames<- in 2.2.1
1738
+
1739
+
1740
+ ## PR#8462 terms.formula(simplify = TRUE) needs parentheses.
1741
+ update.formula (Reaction ~ Days + (Days | Subject), . ~ . + I(Days^2))
1742
+ ## < 2.3.0 dropped parens on second term.
1743
+
1744
+
1745
+ ## PR#8528: errors in the post-2.1.0 pgamma
1746
+ pgamma(seq(0.75, 1.25, by=0.05)*1e100, shape = 1e100, log=TRUE)
1747
+ pgamma(seq(0.75, 1.25, by=0.05)*1e100, shape = 1e100, log=TRUE, lower=FALSE)
1748
+ pgamma(c(1-1e-10, 1+1e-10)*1e100, shape = 1e100)
1749
+ pgamma(0.9*1e25, 1e25, log=TRUE)
1750
+ ## were NaN, -Inf etc in 2.2.1.
1751
+
1752
+
1753
+ ## + for POSIXt objects was non-commutative
1754
+ # SPSS-style dates
1755
+ c(10485849600,10477641600,10561104000,10562745600)+ISOdate(1582,10,14)
1756
+ ## was in the local time zone in 2.2.1.
1757
+
1758
+
1759
+ ## Limiting lines on deparse (wishlist PR#8638)
1760
+ Sys.unsetenv("_R_CHECK_BROWSER_NONINTERACTIVE_")
1761
+ op <- options(deparse.max.lines = 3)
1762
+ f <- function(...) browser()
1763
+ do.call(f, mtcars)
1764
+ c
1765
+
1766
+ op <- c(op, options(error = expression(NULL)))
1767
+ f <- function(...) stop()
1768
+ do.call(f, mtcars)
1769
+ traceback()
1770
+ ## unlimited < 2.3.0
1771
+ options(op)
1772
+
1773
+ ## Debugger can handle a function that has a single function call as its body
1774
+ g <- function(fun) fun(1)
1775
+ debug(g)
1776
+ g(function(x) x+1)
1777
+ c
1778
+
1779
+ ## Trap debugger in non-interactive sessions
1780
+ if (!interactive()) {
1781
+ Sys.setenv("_R_CHECK_BROWSER_NONINTERACTIVE_" = "true")
1782
+ tools::assertError(browser())
1783
+ browser(expr = FALSE) # but this passes (with no output)
1784
+ Sys.unsetenv("_R_CHECK_BROWSER_NONINTERACTIVE_")
1785
+ }
1786
+
1787
+
1788
+ ## row names in as.table (PR#8652)
1789
+ as.table(matrix(1:60, ncol=2))
1790
+ ## rows past 26 had NA row names
1791
+
1792
+
1793
+ ## summary on a glm with zero weights and estimated dispersion (PR#8720)
1794
+ y <- rnorm(10)
1795
+ x <- 1:10
1796
+ w <- c(rep(1,9), 0)
1797
+ summary(glm(y ~ x, weights = w))
1798
+ summary(glm(y ~ x, subset = w > 0))
1799
+ ## has NA dispersion in 2.2.1
1800
+
1801
+
1802
+ ## substitute was losing "..." after r37269
1803
+ yaa <- function(...) substitute(list(...))
1804
+ yaa(foo(...))
1805
+ ## and wasn't substituting after "..."
1806
+ substitute(list(..., x), list(x=1))
1807
+ ## fixed for 2.3.0
1808
+
1809
+
1810
+ ## uniroot never warned (PR#8750)
1811
+ ff <- function(x) (x-pi)^3
1812
+ uniroot(ff, c(-10,10), maxiter=10)
1813
+ ## should warn, did not < 2.3.0
1814
+
1815
+
1816
+ ### end of tests added in 2.3.0 ###
1817
+
1818
+
1819
+ ## prod etc on empty lists and raw vectors
1820
+ try(min(list()))
1821
+ try(max(list()))
1822
+ try(sum(list()))
1823
+ try(prod(list()))
1824
+ try(min(raw()))
1825
+ try(max(raw()))
1826
+ try(sum(raw()))
1827
+ try(prod(raw()))
1828
+ ## Inf, -Inf, list(NULL) etc in 2.2.1
1829
+
1830
+ r <- hist(rnorm(100), plot = FALSE, breaks = 12,
1831
+ ## arguments which don't make sense for plot=FALSE - give a warning:
1832
+ xlab = "N(0,1)", col = "blue")
1833
+ ## gave no warning in 2.3.0 and earlier
1834
+
1835
+
1836
+ ## rbind.data.frame on permuted cols (PR#8868)
1837
+ d1 <- data.frame(x=1:10, y=letters[1:10], z=1:10)
1838
+ d2 <- data.frame(y=LETTERS[1:5], z=5:1, x=7:11)
1839
+ rbind(d1, d2)
1840
+ # got factor y wrong in 2.3.0
1841
+ # and failed with duplicated col names.
1842
+ d1 <- data.frame(x=1:2, y=5:6, x=8:9, check.names=FALSE)
1843
+ d2 <- data.frame(x=3:4, x=-(1:2), y=8:9, check.names=FALSE)
1844
+ rbind(d1, d2)
1845
+ ## corrupt in 2.3.0
1846
+
1847
+
1848
+ ## sort.list on complex vectors was unimplemented prior to 2.4.0
1849
+ x <- rep(2:1, c(2, 2)) + 1i*c(4, 1, 2, 3)
1850
+ (o <- sort.list(x))
1851
+ x[o]
1852
+ sort(x) # for a cross-check
1853
+ ##
1854
+
1855
+
1856
+ ## PR#9044 write.table(quote=TRUE, row.names=FALSE) did not quote column names
1857
+ m <- matrix(1:9, nrow=3, dimnames=list(c("A","B","C"), c("I","II","III")))
1858
+ write.table(m)
1859
+ write.table(m, col.names=FALSE)
1860
+ write.table(m, row.names=FALSE)
1861
+ # wrong < 2.3.1 patched.
1862
+ write.table(m, quote=FALSE)
1863
+ write.table(m, col.names=FALSE, quote=FALSE)
1864
+ write.table(m, row.names=FALSE, quote=FALSE)
1865
+ d <- as.data.frame(m)
1866
+ write.table(d)
1867
+ write.table(d, col.names=FALSE)
1868
+ write.table(d, row.names=FALSE)
1869
+ write.table(d, quote=FALSE)
1870
+ write.table(d, col.names=FALSE, quote=FALSE)
1871
+ write.table(d, row.names=FALSE, quote=FALSE)
1872
+ write.table(m, quote=numeric(0)) # not the same as FALSE
1873
+ ##
1874
+
1875
+
1876
+ ## removing variable from baseenv
1877
+ try(remove("ls", envir=baseenv()))
1878
+ try(remove("ls", envir=asNamespace("base")))
1879
+ ## no message in 2.3.1
1880
+
1881
+
1882
+ ## tests of behaviour of factors
1883
+ (x <- factor(LETTERS[1:5])[2:4])
1884
+ x[2]
1885
+ x[[2]]
1886
+ stopifnot(identical(x[2], x[[2]]))
1887
+ as.list(x)
1888
+ (xx <- unlist(as.list(x)))
1889
+ stopifnot(identical(x, xx))
1890
+ as.vector(x, "list")
1891
+ (sx <- sapply(x, function(.).))
1892
+ stopifnot(identical(x, sx))
1893
+ ## changed in 2.4.0
1894
+
1895
+
1896
+ ## as.character on a factor with "NA" level
1897
+ as.character(as.factor(c("AB", "CD", NA)))
1898
+ as.character(as.factor(c("NA", "CD", NA))) # use <NA> is 2.3.x
1899
+ as.vector(as.factor(c("NA", "CD", NA))) # but this did not
1900
+ ## used <NA> before
1901
+
1902
+
1903
+ ## [ on a zero-column data frame, names of such
1904
+ data.frame()[FALSE]
1905
+ names(data.frame())
1906
+ # gave NULL names and hence spurious warning.
1907
+
1908
+
1909
+ ## residuals from zero-weight glm fits
1910
+ d.AD <- data.frame(treatment = gl(3,3), outcome = gl(3,1,9),
1911
+ counts = c(18,17,15,20,10,20,25,13,12))
1912
+ fit <- glm(counts ~ outcome + treatment, family = poisson,
1913
+ data = d.AD, weights = c(0, rep(1,8)))
1914
+ print(residuals(fit, type="working"),
1915
+ width = 37) # first was NA < 2.4.0 // using new 'width'
1916
+ ## working residuals were NA for zero-weight cases.
1917
+ fit2 <- glm(counts ~ outcome + treatment, family = poisson,
1918
+ data = d.AD, weights = c(0, rep(1,8)), y = FALSE)
1919
+ for(z in c("response", "working", "deviance", "pearson"))
1920
+ stopifnot(all.equal(residuals(fit, type=z), residuals(fit2, type=z),
1921
+ scale = 1, tolerance = 1e-10))
1922
+
1923
+ ## apply on arrays with zero extents
1924
+ ## Robin Hankin, R-help, 2006-02-13
1925
+ A <- array(0, c(3, 0, 4))
1926
+ dimnames(A) <- list(D1 = letters[1:3], D2 = NULL, D3 = LETTERS[1:4])
1927
+ f <- function(x) 5
1928
+ apply(A, 1:2, f)
1929
+ apply(A, 1, f)
1930
+ apply(A, 2, f)
1931
+ ## dropped dims in 2.3.1
1932
+
1933
+
1934
+ ## print a factor with names
1935
+ structure(factor(1:4), names = letters[1:4])
1936
+ ## dropped names < 2.4.0
1937
+
1938
+
1939
+ ## some tests of factor matrices
1940
+ A <- factor(7:12)
1941
+ dim(A) <- c(2, 3)
1942
+ A
1943
+ str(A)
1944
+ A[, 1:2]
1945
+ A[, 1:2, drop=TRUE]
1946
+ A[1,1] <- "9"
1947
+ A
1948
+ ## misbehaved < 2.4.0
1949
+
1950
+
1951
+ ## [dpqr]t with vector ncp
1952
+ nc <- c(0, 0.0001, 1)
1953
+ dt(1.8, 10, nc)
1954
+ pt(1.8, 10, nc)
1955
+ qt(0.95, 10, nc)
1956
+ ## gave warnings in 2.3.1, short answer for qt.
1957
+ dt(1.8, 10, -nc[-1])
1958
+ pt(1.8, 10, -nc[-1])
1959
+ qt(0.95, 10, -nc[-1])
1960
+ ## qt in 2.3.1 did not allow negative ncp.
1961
+
1962
+
1963
+ ## merge() used to insert row names as factor, not character, so
1964
+ ## sorting was unexpected.
1965
+ A <- data.frame(a = 1:4)
1966
+ row.names(A) <- c("2002-11-15", "2002-12-15", "2003-01-15", "2003-02-15")
1967
+ B <- data.frame(b = 1:4)
1968
+ row.names(B) <- c("2002-09-15", "2002-10-15", "2002-11-15", "2002-12-15")
1969
+ merge(A, B, by=0, all=TRUE)
1970
+
1971
+
1972
+ ## assigning to a list loop index could alter the index (PR#9216)
1973
+ L <- list(a = list(txt = "original value"))
1974
+ f <- function(LL) {
1975
+ for (ll in LL) ll$txt <- "changed in f"
1976
+ LL
1977
+ }
1978
+ f(L)
1979
+ L
1980
+ ## both were changed < 2.4.0
1981
+
1982
+
1983
+ ## summary.mlm misbehaved with na.action = na.exclude
1984
+ n <- 50
1985
+ x <- runif(n=n)
1986
+ y1 <- 2 * x + rnorm(n=n)
1987
+ y2 <- 5 * x + rnorm(n=n)
1988
+ y2[sample(1:n, size=5)] <- NA
1989
+ y <- cbind(y1, y2)
1990
+ fit <- lm(y ~ 1, na.action="na.exclude")
1991
+ summary(fit)
1992
+ ## failed < 2.4.0
1993
+
1994
+ RNGkind("default","default")## reset to default - ease R core
1995
+
1996
+ ## prettyNum lost attributes (PR#8695)
1997
+ format(matrix(1:16, 4), big.mark = ",")
1998
+ ## was a vector < 2.4.0
1999
+
2000
+
2001
+ ## printing of complex numbers of very different magnitudes
2002
+ 1e100 + 1e44i
2003
+ 1e100 + pi*1i*10^(c(-100,0,1,40,100))
2004
+ ## first was silly, second not rounded correctly in 2.2.0 - 2.3.1
2005
+ ## We don't get them lining up, but that is a printf issue
2006
+ ## that only happens for very large complex nos.
2007
+
2008
+
2009
+ ### end of tests added in 2.4.0 ###
2010
+
2011
+
2012
+ ## Platform-specific behaviour in lowess reported to R-help
2013
+ ## 2006-10-12 by Frank Harrell
2014
+ x <- c(0,7,8,14,15,120,242)
2015
+ y <- c(122,128,130,158,110,110,92)
2016
+ lowess(x, y, iter=0)
2017
+ lowess(x, y)
2018
+ ## MAD of iterated residuals was zero, and result depended on the platform.
2019
+
2020
+
2021
+ ## PR#9263: problems with R_Visible
2022
+ a <- list(b=5)
2023
+ a[[(t<-'b')]]
2024
+ x <- matrix(5:-6, 3)
2025
+ x[2, invisible(3)]
2026
+ ## both invisible in 2.4.0
2027
+
2028
+
2029
+ ### end of tests added in 2.4.1 ###
2030
+
2031
+
2032
+ ## tests of deparsing
2033
+ x <-list(a = NA, b = NA_integer_, c = NA_real_, d = NA_complex_,
2034
+ e = 1, f = 1:1, g = 1:3, h = c(NA, 1:3),
2035
+ i = as.character(NA), j = c("foo", NA, "bar")
2036
+ )
2037
+ dput(x, control=NULL)
2038
+ dput(x, control="keepInteger")
2039
+ dput(x, control="keepNA")
2040
+ dput(x)
2041
+ dput(x, control="all")
2042
+ dput(x, control=c("all", "S_compatible"))
2043
+ tmp <- tempfile(tmpdir = getwd())
2044
+ dput(x, tmp, control="all")
2045
+ stopifnot(identical(dget(tmp), x))
2046
+ dput(x, tmp, control=c("all", "S_compatible"))
2047
+ stopifnot(identical(dget(tmp), x))
2048
+ unlink(tmp)
2049
+ ## changes in 2.5.0
2050
+
2051
+
2052
+ ## give better error message for nls with no parameters
2053
+ ## Ivo Welch, R-help, 2006-12-23.
2054
+ d <- data.frame(y= runif(10), x=runif(10))
2055
+ try(nls(y ~ 1/(1+x), data = d, start=list(x=0.5,y=0.5), trace=TRUE))
2056
+ ## changed in 2.4.1 patched
2057
+
2058
+
2059
+ ## cut(breaks="years"), in part PR#9433
2060
+ cut(as.Date(c("2000-01-17","2001-01-13","2001-01-20")), breaks="years")
2061
+ cut(as.POSIXct(c("2000-01-17","2001-01-13","2001-01-20")), breaks="years")
2062
+ ## did not get day 01 < 2.4.1 patched
2063
+
2064
+
2065
+ ## manipulating rownames: problems in pre-2.5.0
2066
+ A <- data.frame(a=character(0))
2067
+ try(row.names(A) <- 1:10) # succeeded in Dec 2006
2068
+ A <- list(a=1:3)
2069
+ class(A) <- "data.frame"
2070
+ row.names(A) <- letters[24:26] # failed at one point in Dec 2006
2071
+ A
2072
+ ##
2073
+
2074
+
2075
+ ## extreme cases for subsetting of data frames
2076
+ w <- women[1, ]
2077
+ w[]
2078
+ w[,drop = TRUE]
2079
+ w[1,]
2080
+ w[,]
2081
+ w[1, , drop = FALSE]
2082
+ w[, , drop = FALSE]
2083
+ w[1, , drop = TRUE]
2084
+ w[, , drop = TRUE]
2085
+ ## regression test: code changed for 2.5.0
2086
+
2087
+
2088
+ ## data.frame() with zero columns ignored 'row.names'
2089
+ (x <- data.frame(row.names=1:4))
2090
+ nrow(x)
2091
+ row.names(x)
2092
+ attr(x, "row.names")
2093
+ ## ignored prior to 2.5.0.
2094
+
2095
+
2096
+ ## identical on data.frames
2097
+ d0 <- d1 <- data.frame(1:4, row.names=1:4)
2098
+ row.names(d0) <- NULL
2099
+ dput(d0)
2100
+ dput(d1)
2101
+ identical(d0, d1)
2102
+ all.equal(d0, d1)
2103
+ ## change to identical(,attrib.as.set) code to support internal representation in 4.2.0
2104
+ identical(d0, d1, attrib.as.set = FALSE)
2105
+ ##
2106
+ row.names(d1) <- as.character(1:4)
2107
+ dput(d1)
2108
+ identical(d0, d1)
2109
+ all.equal(d0, d1)
2110
+ ## identical used internal representation prior to 2.5.0
2111
+
2112
+
2113
+ ## all.equal
2114
+ # ignored check.attributes in 2.4.1
2115
+ all.equal(data.frame(x=1:5, row.names=letters[1:5]),
2116
+ data.frame(x=1:5,row.names=LETTERS[1:5]),
2117
+ check.attributes=FALSE)
2118
+ # treated logicals as numeric
2119
+ all.equal(c(T, F, F), c(T, T, F))
2120
+ all.equal(c(T, T, F), c(T, F, F))
2121
+ # ignored raw:
2122
+ all.equal(as.raw(1:3), as.raw(1:3))
2123
+ all.equal(as.raw(1:3), as.raw(3:1))
2124
+ ##
2125
+
2126
+
2127
+ ## tests of deparsing
2128
+ # if we run this from stdin, we will have no source, so fake it
2129
+ f <- function(x, xm = max(1L, x)) {xx <- 0L; yy <- NA_real_}
2130
+ attr(f, "srcref") <- srcref(srcfilecopy("",
2131
+ "function(x, xm = max(1L, x)) {xx <- 0L; yy <- NA_real_}"),
2132
+ c(1L, 1L, 1L, 56L))
2133
+ f # uses the source
2134
+ dput(f) # not source
2135
+ dput(f, control="all") # uses the source
2136
+ cat(deparse(f), sep="\n")
2137
+ dump("f", file="")
2138
+ # remove the source
2139
+ attr(f, "srcref") <- NULL
2140
+ f
2141
+ dput(f, control="all")
2142
+ dump("f", file="")
2143
+
2144
+ expression(bin <- bin + 1L)
2145
+ ## did not preserve e.g. 1L at some point in pre-2.5.0
2146
+
2147
+
2148
+ ## NAs in substr were handled as large negative numbers
2149
+ x <- "abcde"
2150
+ substr(x, 1, 3)
2151
+ substr(x, NA, 1)
2152
+ substr(x, 1, NA)
2153
+ substr(x, NA, 3) <- "abc"; x
2154
+ substr(x, 1, NA) <- "AA"; x
2155
+ substr(x, 1, 2) <- NA_character_; x
2156
+ ## "" or no change in 2.4.1, except last
2157
+
2158
+
2159
+ ## regression tests for pmin/pmax, rewritten in C for 2.5.0
2160
+ # NULL == integer(0)
2161
+ pmin(NULL, integer(0))
2162
+ pmax(integer(0), NULL)
2163
+ pmin(NULL, 1:3)# now ok
2164
+ pmax(pi, NULL, 2:4)
2165
+
2166
+ x <- c(1, NA, NA, 4, 5)
2167
+ y <- c(2, NA, 4, NA, 3)
2168
+ pmin(x, y)
2169
+ stopifnot(identical(pmin(x, y), pmin(y, x)))
2170
+ pmin(x, y, na.rm=TRUE)
2171
+ stopifnot(identical(pmin(x, y, na.rm=TRUE), pmin(y, x, na.rm=TRUE)))
2172
+ pmax(x, y)
2173
+ stopifnot(identical(pmax(x, y), pmax(y, x)))
2174
+ pmax(x, y, na.rm=TRUE)
2175
+ stopifnot(identical(pmax(x, y, na.rm=TRUE), pmax(y, x, na.rm=TRUE)))
2176
+
2177
+ x <- as.integer(x); y <- as.integer(y)
2178
+ pmin(x, y)
2179
+ stopifnot(identical(pmin(x, y), pmin(y, x)))
2180
+ pmin(x, y, na.rm=TRUE)
2181
+ stopifnot(identical(pmin(x, y, na.rm=TRUE), pmin(y, x, na.rm=TRUE)))
2182
+ pmax(x, y)
2183
+ stopifnot(identical(pmax(x, y), pmax(y, x)))
2184
+ pmax(x, y, na.rm=TRUE)
2185
+ stopifnot(identical(pmax(x, y, na.rm=TRUE), pmax(y, x, na.rm=TRUE)))
2186
+
2187
+ x <- as.character(x); y <- as.character(y)
2188
+ pmin(x, y)
2189
+ stopifnot(identical(pmin(x, y), pmin(y, x)))
2190
+ pmin(x, y, na.rm=TRUE)
2191
+ stopifnot(identical(pmin(x, y, na.rm=TRUE), pmin(y, x, na.rm=TRUE)))
2192
+ pmax(x, y)
2193
+ stopifnot(identical(pmax(x, y), pmax(y, x)))
2194
+ pmax(x, y, na.rm=TRUE)
2195
+ stopifnot(identical(pmax(x, y, na.rm=TRUE), pmax(y, x, na.rm=TRUE)))
2196
+
2197
+ # tests of classed quantities
2198
+ x <- .leap.seconds[1:23]; y <- rev(x)
2199
+ x[2] <- y[2] <- x[3] <- y[4] <- NA
2200
+ format(pmin(x, y), tz="GMT") # TZ names differ by platform
2201
+ class(pmin(x, y))
2202
+ stopifnot(identical(pmin(x, y), pmin(y, x)))
2203
+ format(pmin(x, y, na.rm=TRUE), tz="GMT")
2204
+ stopifnot(identical(pmin(x, y, na.rm=TRUE), pmin(y, x, na.rm=TRUE)))
2205
+ format(pmax(x, y), tz="GMT")
2206
+ stopifnot(identical(pmax(x, y), pmax(y, x)))
2207
+ format(pmax(x, y, na.rm=TRUE), tz="GMT")
2208
+ stopifnot(identical(pmax(x, y, na.rm=TRUE), pmax(y, x, na.rm=TRUE)))
2209
+
2210
+ x <- as.POSIXlt(x, tz="GMT"); y <- as.POSIXlt(y, tz="GMT")
2211
+ format(pmin(x, y), tz="GMT")
2212
+ class (pmin(y, x)) ## (updating "filled")
2213
+ stopifnot(identical(pmin(x, y), pmin(y, x)))
2214
+ format(pmin(x, y, na.rm=TRUE), tz="GMT")
2215
+ stopifnot(identical(pmin(x, y, na.rm=TRUE), pmin(y, x, na.rm=TRUE)))
2216
+ format(pmax(x, y), tz="GMT")
2217
+ stopifnot(identical(pmax(x, y), pmax(y, x)))
2218
+ format(pmax(x, y, na.rm=TRUE), tz="GMT")
2219
+ stopifnot(identical(pmax(x, y, na.rm=TRUE), pmax(y, x, na.rm=TRUE)))
2220
+ ## regression tests
2221
+
2222
+
2223
+ ## regression tests on names of 1D arrays
2224
+ x <- as.array(1:3)
2225
+ names(x) <- letters[x] # sets dimnames, really
2226
+ names(x)
2227
+ dimnames(x)
2228
+ attributes(x)
2229
+ names(x) <- NULL
2230
+ attr(x, "names") <- LETTERS[x] # sets dimnames, really
2231
+ names(x)
2232
+ dimnames(x)
2233
+ attributes(x)
2234
+ ## regression tests
2235
+
2236
+
2237
+ ## regression tests on NA attribute names
2238
+ x <- 1:3
2239
+ attr(x, "NA") <- 4
2240
+ attributes(x)
2241
+ attr(x, "NA")
2242
+ attr(x, NA_character_)
2243
+ try(attr(x, NA_character_) <- 5)
2244
+ ## prior to 2.5.0 NA was treated as "NA"
2245
+
2246
+
2247
+ ## qr with pivoting (PR#9623)
2248
+ A <- matrix(c(0,0,0, 1,1,1), nrow = 3,
2249
+ dimnames = list(letters[1:3], c("zero","one")))
2250
+ y <- matrix(c(6,7,8), nrow = 3, dimnames = list(LETTERS[1:3], "y"))
2251
+ qr.coef(qr(A), y)
2252
+ qr.fitted(qr(A), y)
2253
+
2254
+ qr.coef(qr(matrix(0:1, 1, dimnames=list(NULL, c("zero","one")))), 5)
2255
+ ## coef names were returned unpivoted <= 2.5.0
2256
+
2257
+ ## readChar read extra items, terminated on zeros
2258
+ x <- as.raw(65:74)
2259
+ readChar(x, nchar=c(3,3,0,3,3,3))
2260
+ f <- tempfile(tmpdir = getwd())
2261
+ writeChar("ABCDEFGHIJ", con=f, eos=NULL)
2262
+ readChar(f, nchar=c(3,3,0,3,3,3))
2263
+ unlink(f)
2264
+ ##
2265
+
2266
+
2267
+ ## corner cases for cor
2268
+ set.seed(1)
2269
+ X <- cbind(NA, 1:3, rnorm(3))
2270
+ try(cor(X, use = "complete"))
2271
+ try(cor(X, use = "complete", method="spearman"))
2272
+ try(cor(X, use = "complete", method="kendall"))
2273
+ cor(X, use = "pair")
2274
+ cor(X, use = "pair", method="spearman")
2275
+ cor(X, use = "pair", method="kendall")
2276
+
2277
+ X[1,1] <- 1
2278
+ cor(X, use = "complete")
2279
+ cor(X, use = "complete", method="spearman")
2280
+ cor(X, use = "complete", method="kendall")
2281
+ cor(X, use = "pair")
2282
+ cor(X, use = "pair", method="spearman")
2283
+ cor(X, use = "pair", method="kendall")
2284
+ ## not consistent in 2.6.x
2285
+
2286
+
2287
+ ## confint on rank-deficient models (in part, PR#10494)
2288
+ junk <- data.frame(x = rep(1, 10L),
2289
+ u = factor(sample(c("Y", "N"), 10, replace=TRUE)),
2290
+ ans = rnorm(10))
2291
+ fit <- lm(ans ~ x + u, data = junk)
2292
+ confint(fit)
2293
+ confint.default(fit)
2294
+ ## Mismatch gave NA for 'u' in 2.6.1
2295
+
2296
+
2297
+ ## corrupt data frame produced by subsetting (PR#10574)
2298
+ x <- data.frame(a=1:3, b=2:4)
2299
+ x[,3] <- x
2300
+ x
2301
+ ## warning during printing < 2.7.0
2302
+
2303
+
2304
+ ## format.factor used to lose dim[names] and names (PR#11512)
2305
+ x <- factor(c("aa", letters[-1]))
2306
+ dim(x) <- c(13,2)
2307
+ format(x, justify="right")
2308
+ ##
2309
+
2310
+
2311
+ ## removing columns in within (PR#1131)
2312
+ abc <- data.frame(a=1:5, b=2:6, c=3:7)
2313
+ within(abc, b<-NULL)
2314
+ within(abc,{d<-a+7;b<-NULL})
2315
+ within(abc,{a<-a+7;b<-NULL})
2316
+ ## Second produced corrupt data frame in 2.7.1
2317
+
2318
+
2319
+ ## aggregate on an empty data frame (PR#13167)
2320
+ z <- data.frame(a=integer(0), b=numeric(0))
2321
+ try(aggregate(z, by=z[1], FUN=sum))
2322
+ ## failed in unlist in 2.8.0, now gives explicit message.
2323
+ aggregate(data.frame(a=1:10)[F], list(rep(1:2, each=5)), sum)
2324
+ ## used to fail obscurely.
2325
+
2326
+
2327
+ ## subsetting data frames with duplicate rows
2328
+ z <- data.frame(a=1, a=2, b=3, check.names=FALSE)
2329
+ z[] # OK
2330
+ z[1, ]
2331
+ ## had row names a, a.1, b in 2.8.0.
2332
+
2333
+
2334
+ ## incorrect warning due to lack of fuzz.
2335
+ TS <- ts(co2[1:192], freq=24)
2336
+ tmp2 <- window(TS, start(TS), end(TS))
2337
+ ## warned in 2.8.0
2338
+
2339
+ ## failed to add tag
2340
+ Call <- call("foo", 1)
2341
+ Call[["bar"]] <- 2
2342
+ Call
2343
+ ## unnamed call in 2.8.1
2344
+
2345
+ options(keep.source = TRUE)
2346
+ ## $<- on pairlists failed to duplicate (from Felix Andrews,
2347
+ ## https://stat.ethz.ch/pipermail/r-devel/2009-January/051698.html)
2348
+ foo <- function(given = NULL) {
2349
+ callObj <- quote(callFunc())
2350
+ if(!is.null(given)) callObj$given <- given
2351
+ if (is.null(given)) callObj$default <- TRUE
2352
+ callObj
2353
+ }
2354
+
2355
+ foo()
2356
+ foo(given = TRUE)
2357
+ foo("blah blah")
2358
+ foo(given = TRUE)
2359
+ foo()
2360
+ ## altered foo() in 2.8.1.
2361
+
2362
+ ## Using '#' flag in sprintf():
2363
+ forms <- c("%#7.5g","%#5.f", "%#7x", "%#5d", "%#9.0e")
2364
+ nums <- list(-3.145, -31, 0xabc, -123L, 123456)
2365
+ rbind(mapply(sprintf, forms, nums),
2366
+ mapply(sprintf, sub("#", '', forms), nums))
2367
+ ## gave an error in pre-release versions of 2.9.0
2368
+
2369
+ ## (auto)printing of functions {with / without source attribute},
2370
+ ## including primitives
2371
+ sink(con <- textConnection("of", "w")) ; c ; sink(NULL); close(con)
2372
+ of2 <- capture.output(print(c))
2373
+ stopifnot(identical(of2, of),
2374
+ identical(of2, "function (...) .Primitive(\"c\")"))
2375
+ ## ^^ would have failed up to R 2.9.x
2376
+ foo
2377
+ print(foo, useSource = FALSE)
2378
+ attr(foo, "srcref") <- NULL
2379
+ foo
2380
+ (f <- structure(function(){}, note = "just a note",
2381
+ yada = function() "not the same"))
2382
+ print(f, useSource = TRUE)
2383
+ print(f, useSource = FALSE) # must print attributes
2384
+ print.function <- function(x, ...) {
2385
+ cat("my print(<function>): "); str(x, give.attr=FALSE); invisible(x) }
2386
+ print.function
2387
+ print(print.function)
2388
+ rm(print.function)
2389
+ ## auto-printing and printing differed up to R 2.9.x -- and then *AGAIN* in R 3.6.0
2390
+
2391
+
2392
+ ## Make sure deparsing does not reset parameters
2393
+ print(list(f, expression(foo), f, quote(foo), f, base::list, f),
2394
+ useSource = FALSE)
2395
+
2396
+ printCoefmat(cbind(0,1))
2397
+ ## would print NaN up to R 2.9.0
2398
+
2399
+
2400
+ ## continuity correction for Kendall's tau. Improves this example.
2401
+ cor.test(c(1, 2, 3, 4, 5), c(8, 6, 7, 5, 3), method = "kendall",
2402
+ exact = TRUE)
2403
+ cor.test(c(1, 2, 3, 4, 5), c(8, 6, 7, 5, 3), method = "kendall",
2404
+ exact = FALSE)
2405
+ cor.test(c(1, 2, 3, 4, 5), c(8, 6, 7, 5, 3), method = "kendall",
2406
+ exact = FALSE, continuity = TRUE)
2407
+ # and a little for Spearman's
2408
+ cor.test(c(1, 2, 3, 4, 5), c(8, 6, 7, 5, 3), method = "spearman",
2409
+ exact = TRUE)
2410
+ cor.test(c(1, 2, 3, 4, 5), c(8, 6, 7, 5, 3), method = "spearman",
2411
+ exact = FALSE)
2412
+ cor.test(c(1, 2, 3, 4, 5), c(8, 6, 7, 5, 3), method = "spearman",
2413
+ exact = FALSE, continuity = TRUE)
2414
+ ## Kendall case is wish of PR#13691
2415
+
2416
+
2417
+ ## corrupt data frame, PR#13724
2418
+ foo <- matrix(1:12, nrow = 3)
2419
+ bar <- as.data.frame(foo)
2420
+ val <- integer(0)
2421
+ try(bar$NewCol <- val)
2422
+ # similar, not in the report
2423
+ try(bar[["NewCol"]] <- val)
2424
+ # [ ] is tricker, so just check the result is reasonable and prints
2425
+ bar["NewCol"] <- val
2426
+ bar[, "NewCol2"] <- val
2427
+ bar[FALSE, "NewCol3"] <- val
2428
+ bar
2429
+ ## Succeeded but gave corrupt result in 2.9.0
2430
+
2431
+
2432
+ ## Printing NA_complex_
2433
+ m22 <- matrix(list(NA_complex_, 3, "A string", NA_complex_), 2,2)
2434
+ print(m22)
2435
+ print(m22, na.print="<missing value>")
2436
+ ## used uninitialized variable in C, noticably Windows, for R <= 2.9.0
2437
+
2438
+
2439
+ ## non-standard variable names in update etc
2440
+ ## never guaranteed to work, requested by Sundar Dorai-Raj in
2441
+ ## https://stat.ethz.ch/pipermail/r-devel/2009-July/054184.html
2442
+ update(`a: b` ~ x, ~ . + y)
2443
+ ## 2.9.1 dropped backticks
2444
+
2445
+
2446
+ ## print(ls.str(.)) did evaluate calls
2447
+ E <- new.env(); E$cl <- call("print", "Boo !")
2448
+ ls.str(E)
2449
+ ## 2.10.0 did print..
2450
+
2451
+
2452
+ ## complete.cases with no input
2453
+ try(complete.cases())
2454
+ try(complete.cases(list(), list()))
2455
+ ## gave unhelpful messages in 2.10.0, silly results in pre-2.10.1
2456
+
2457
+
2458
+ ## error messages from (C-level) evalList
2459
+ tst <- function(y) { stopifnot(is.numeric(y)); y+ 1 }
2460
+ try(tst()) # even nicer since R 3.5.0's change to sequential stopifnot()
2461
+ try(c(1,,2))
2462
+ ## change in 2.8.0 made these less clear
2463
+
2464
+
2465
+ ## empty levels from cut.Date (cosmetic, PR#14162)
2466
+ x <- as.Date(c("2009-03-21","2009-03-31"))
2467
+ cut(x, breaks= "quarter") # had two levels in 2.10.1
2468
+ cut(as.POSIXlt(x), breaks= "quarter")
2469
+ ## remove empty final level
2470
+
2471
+
2472
+ ## tests of error conditions in switch()
2473
+ switch("a", a=, b=, c=, 4)
2474
+ switch("a", a=, b=, c=, )
2475
+ .Last.value
2476
+ switch("a", a=, b=, c=, invisible(4))
2477
+ .Last.value
2478
+ ## visiblilty changed in 2.11.0
2479
+
2480
+
2481
+ ## rounding error in aggregate.ts
2482
+ ## https://stat.ethz.ch/pipermail/r-devel/2010-April/057225.html
2483
+ x <- rep(6:10, 1:5)
2484
+ aggregate(as.ts(x), FUN = mean, ndeltat = 5)
2485
+ x <- rep(6:10, 1:5)
2486
+ aggregate(as.ts(x), FUN = mean, nfrequency = 0.2)
2487
+ ## platform-dependent in 2.10.1
2488
+
2489
+
2490
+ ## wish of PR#9574
2491
+ a <- c(0.1, 0.3, 0.4, 0.5, 0.3, 0.0001)
2492
+ format.pval(a, eps=0.01)
2493
+ format.pval(a, eps=0.01, nsmall =2)
2494
+ ## granted in 2.12.0
2495
+
2496
+
2497
+ ## printing fractional dates
2498
+ as.Date(0.5, origin="1969-12-31")
2499
+ ## changed to round down in 2.12.1
2500
+
2501
+
2502
+ ## printing data frames with "" colnames
2503
+ dfr <- data.frame(x=1:6, CC=11:16, f = gl(3,2)); colnames(dfr)[2] <- ""
2504
+ dfr
2505
+ ## now prints the same as data.matrix(dfr) does here
2506
+
2507
+
2508
+ ## format(., zero.print) --> prettyNum()
2509
+ set.seed(9); m <- matrix(local({x <- rnorm(40)
2510
+ sign(x)*round(exp(2*x))/10}), 8,5)
2511
+ noquote(format(m, zero.print= "."))
2512
+ ## used to print ". 0" instead of ". "
2513
+
2514
+
2515
+ ## tests of NA having precedence over NaN -- all must print "NA"
2516
+ min(c(NaN, NA))
2517
+ min(c(NA, NaN)) # NaN in 2.12.2
2518
+ min(NaN, NA_real_) # NaN in 2.12.2
2519
+ min(NA_real_, NaN)
2520
+ max(c(NaN, NA))
2521
+ max(c(NA, NaN)) # NaN in 2.12.2
2522
+ max(NaN, NA_real_) # NaN in 2.12.2
2523
+ max(NA_real_, NaN)
2524
+ ## might depend on compiler < 2.13.0
2525
+
2526
+
2527
+ ## PR#14514
2528
+ # Data are from Conover, "Nonparametric Statistics", 3rd Ed, p. 197,
2529
+ # re-arranged to make a lower-tail test the issue of relevance: we
2530
+ # want to see if pregnant nurses exposed to nitrous oxide have higher
2531
+ # rates of miscarriage, stratifying on the type of nurse.
2532
+ Nitrous <- array(c(32,210,8,26,18,21,3,3,7,75,0,10), dim = c(2,2,3),
2533
+ dimnames = list(c("Exposed","NotExposed"),
2534
+ c("FullTerm","Miscarriage"),
2535
+ c("DentalAsst","OperRoomNurse","OutpatientNurse")))
2536
+ mantelhaen.test(Nitrous, exact=TRUE, alternative="less")
2537
+ mantelhaen.test(Nitrous, exact=FALSE, alternative="less")
2538
+ ## exact = FALSE gave the wrong tail in 2.12.2.
2539
+
2540
+
2541
+ ## scan(strip.white=TRUE) could strip trailing (but not leading) space
2542
+ ## inside quoted strings.
2543
+ writeLines(' " A "; "B" ;"C";" D ";"E "; F ;G ', "foo")
2544
+ cat(readLines("foo"), sep = "\n")
2545
+ scan('foo', list(""), sep=";")[[1]]
2546
+ scan('foo', "", sep=";")
2547
+ scan('foo', list(""), sep=";", strip.white = TRUE)[[1]]
2548
+ scan('foo', "", sep=";", strip.white = TRUE)
2549
+ unlink('foo')
2550
+
2551
+ writeLines(' " A "\n "B" \n"C"\n" D "\n"E "\n F \nG ', "foo2")
2552
+ scan('foo2', "")
2553
+ scan('foo2', "", strip.white=TRUE) # documented to be ignored ...
2554
+ unlink('foo2')
2555
+ ## Changed for 2.13.0, found when investigating non-bug PR#14522.
2556
+
2557
+
2558
+ ## PR#14488: missing values in rank correlations
2559
+ set.seed(1)
2560
+ x <- runif(10)
2561
+ y <- runif(10)
2562
+ x[3] <- NA; y[5] <- NA
2563
+ xy <- cbind(x, y)
2564
+
2565
+ cor(x, y, method = "spearman", use = "complete.obs")
2566
+ cor(x, y, method = "spearman", use = "pairwise.complete.obs")
2567
+ cor(na.omit(xy), method = "spearman", use = "complete.obs")
2568
+ cor(xy, method = "spearman", use = "complete.obs")
2569
+ cor(xy, method = "spearman", use = "pairwise.complete.obs")
2570
+ ## inconsistent in R < 2.13.0
2571
+
2572
+
2573
+ ## integer overflow in rowsum() went undetected
2574
+ # https://stat.ethz.ch/pipermail/r-devel/2011-March/060304.html
2575
+ x <- 2e9L
2576
+ rowsum(c(x, x), c("a", "a"))
2577
+ rowsum(data.frame(z = c(x, x)), c("a", "a"))
2578
+ ## overflow in R < 2.13.0.
2579
+
2580
+
2581
+ ## method dispatch in [[.data.frame:
2582
+ ## https://stat.ethz.ch/pipermail/r-devel/2011-April/060409.html
2583
+ d <- data.frame(num = 1:4,
2584
+ fac = factor(letters[11:14], levels = letters[1:15]),
2585
+ date = as.Date("2011-04-01") + (0:3),
2586
+ pv = package_version(c("1.2-3", "4.5", "6.7", "8.9-10")))
2587
+ for (i in seq_along(d)) print(d[[1, i]])
2588
+ ## did not dispatch in R < 2.14.0
2589
+
2590
+
2591
+ ## some tests of 24:00 as midnight
2592
+ as.POSIXlt("2011-05-16 24:00:00", tz = "GMT")
2593
+ as.POSIXlt("2010-01-31 24:00:00", tz = "GMT")
2594
+ as.POSIXlt("2011-02-28 24:00:00", tz = "GMT")
2595
+ as.POSIXlt("2008-02-28 24:00:00", tz = "GMT")
2596
+ as.POSIXlt("2008-02-29 24:00:00", tz = "GMT")
2597
+ as.POSIXlt("2010-12-31 24:00:00", tz = "GMT")
2598
+ ## new in 2.14.0
2599
+
2600
+
2601
+ ## Unwarranted conversion of logical values
2602
+ try(double(FALSE))
2603
+ x <- 1:3
2604
+ try(length(x) <- TRUE)
2605
+ ## coerced to integer in 2.13.x
2606
+
2607
+
2608
+ ## filter(recursive = TRUE) on input with NAs
2609
+ # https://stat.ethz.ch/pipermail/r-devel/2011-July/061547.html
2610
+ x <- c(1:4, NA, 6:9)
2611
+ cbind(x, "1"=filter(x, 0.5, method="recursive"),
2612
+ "2"=filter(x, c(0.5, 0.0), method="recursive"),
2613
+ "3"=filter(x, c(0.5, 0.0, 0.0), method="recursive"))
2614
+ ## NAs in wrong place in R <= 2.13.1.
2615
+
2616
+
2617
+ ## PR#14679. Format depends if TZ is set.
2618
+ x <- as.POSIXlt(c("2010-02-27 22:30:33", "2009-08-09 06:01:03",
2619
+ "2010-07-23 17:29:59"))
2620
+ stopifnot(!is.na(trunc(x, units = "days")[1:3]))
2621
+ ## gave NAs after the first in R < 2.13.2
2622
+
2623
+
2624
+ ## explicit error message for silly input (tol = 0)
2625
+ aa <- c(1, 2, 3, 8, 8, 8, 8, 8, 8, 8, 8, 8, 12, 13, 14)
2626
+ try(smooth.spline(aa, seq_along(aa)))
2627
+ fit <- smooth.spline(aa, seq_along(aa), tol = 0.1)
2628
+ # actual output is too unstable to diff.
2629
+ ## Better message from R 2.14.2
2630
+
2631
+
2632
+ ## PR#14840
2633
+ d <- data.frame(x = 1:9,
2634
+ y = 1:9 + 0.1*c(1, 2, -1, 0, 1, 1000, 0, 1, -1),
2635
+ w = c(1, 0.5, 2, 1, 2, 0, 1, 2, 1))
2636
+ fit <- lm(y ~ x, data=d, weights=w)
2637
+ summary(fit)
2638
+ ## issue is how the 5-number summary is labelled
2639
+ ## (also seen in example(case.names))
2640
+
2641
+
2642
+ ## is.unsorted got it backwards for dataframes of more than one column
2643
+ ## it is supposed to look for violations of x[2] > x[1], x[3] > x[2], etc.
2644
+ is.unsorted(data.frame(x=2:1))
2645
+ is.unsorted(data.frame(x=1:2, y=3:4))
2646
+ is.unsorted(data.frame(x=3:4, y=1:2))
2647
+ ## R < 2.15.1 got these as FALSE, TRUE, FALSE.
2648
+
2649
+
2650
+ library("methods")# (not needed here)
2651
+ assertError <- tools::assertError
2652
+ assertErrorV <- function(expr) assertError(expr, verbose=TRUE)
2653
+ assertErrorV( getMethod(ls, "bar", fdef=ls) )
2654
+ assertErrorV( getMethod(show, "bar") )
2655
+ ## R < 2.15.1 gave
2656
+ ## cannot coerce type 'closure' to vector of type 'character'
2657
+
2658
+
2659
+ ## corner cases for array
2660
+ # allowed, gave non-array in 2.15.x
2661
+ try(array(1, integer()))
2662
+ # if no dims, an error to supply dimnames
2663
+ try(array(1, integer(), list(1, 2)))
2664
+ ##
2665
+
2666
+
2667
+ ## is.na() on an empty dataframe (PR#14059)
2668
+ DF <- data.frame(row.names=1:3)
2669
+ is.na(DF); str(.Last.value)
2670
+ is.na(DF[FALSE, ]); str(.Last.value)
2671
+ ## first failed in R 2.15.1, second gave NULL
2672
+
2673
+
2674
+ ## split() with dots in levels
2675
+ df <- data.frame(x = rep(c("a", "a.b"), 3L), y = rep(c("b.c", "c"), 3L),
2676
+ z = 1:6)
2677
+ df
2678
+ split(df, df[, 1:2]) # default is sep = "."
2679
+ split(df, df[, 1:2], sep = ":")
2680
+ ##
2681
+
2682
+
2683
+ ## The difference between sort.list and order
2684
+ z <- c(4L, NA, 2L, 3L, NA, 1L)
2685
+ order(z, na.last = NA)
2686
+ sort.list(z, na.last = NA)
2687
+ sort.list(z, na.last = NA, method = "shell")
2688
+ sort.list(z, na.last = NA, method = "quick")
2689
+ sort.list(z, na.last = NA, method = "radix")
2690
+ ## Differences first documented in R 2.15.2
2691
+
2692
+
2693
+ ## PR#15028: names longer than cutoff NB (= 1000)
2694
+ NB <- 1000
2695
+ lns <- capture.output(
2696
+ setNames(c(255, 1000, 30000),
2697
+ c(paste(rep.int("a", NB+2), collapse=""),
2698
+ paste(rep.int("b", NB+2), collapse=""),
2699
+ paste(rep.int("c", NB+2), collapse=""))))
2700
+ sub("^ +", '', lns[2* 1:3])
2701
+ ## *values* were cutoff when printed
2702
+
2703
+
2704
+ ## allows deparse limits to be set
2705
+ form <- reallylongnamey ~ reallylongnamex0 + reallylongnamex1 + reallylongnamex2 + reallylongnamex3
2706
+ form
2707
+ op <- options(deparse.cutoff=80)
2708
+ form
2709
+ options(deparse.cutoff=50)
2710
+ form
2711
+ options(op)
2712
+ ## fixed to 60 in R 2.15.x
2713
+
2714
+
2715
+ ## PR#15179: user defined binary ops were not deparsed properly
2716
+ quote( `%^%`(x, `%^%`(y,z)) )
2717
+ quote( `%^%`(x) )
2718
+ ##
2719
+
2720
+
2721
+ ## Anonymous function calls were not deparsed properly
2722
+ substitute(f(x), list(f = function(x) x + 1))
2723
+ substitute(f(x), list(f = quote(function(x) x + 1)))
2724
+ substitute(f(x), list(f = quote(f+g)))
2725
+ substitute(f(x), list(f = quote(base::mean)))
2726
+ substitute(f(x), list(f = quote(a[n])))
2727
+ substitute(f(x), list(f = quote(g(y))))
2728
+ ## The first three need parens, the last three don't.
2729
+
2730
+
2731
+ ## PR#15247 : str() on invalid data frame names (where print() works):
2732
+ d <- data.frame(1:3, "B", 4, stringsAsFactors=TRUE)
2733
+ names(d) <- c("A", "B\xba","C\xabcd")
2734
+ str(d)
2735
+ ## gave an error in R <= 3.0.0
2736
+
2737
+
2738
+ ## PR#15299 : adding a simple vector to a classed object produced a bad result:
2739
+ 1:2 + table(1:2)
2740
+ ## Printed the class attribute in R <= 3.0.0
2741
+
2742
+
2743
+ ## PR#15311 : regmatches<- mishandled regexpr results.
2744
+ x <- c('1', 'B', '3')
2745
+ m <- regexpr('\\d', x)
2746
+ regmatches(x, m) <- c('A', 'C')
2747
+ print(x)
2748
+ ## Gave a warning and a wrong result up to 3.0.1
2749
+
2750
+
2751
+ ## Bad warning found by Radford Neal
2752
+ saveopt <- options(warnPartialMatchDollar=TRUE)
2753
+ pl <- pairlist(abc=1, def=2)
2754
+ pl$ab
2755
+ options(saveopt)
2756
+ ## 'abc' was just ''
2757
+
2758
+
2759
+ ## seq() with NaN etc inputs now gives explicit error messages
2760
+ try(seq(NaN))
2761
+ try(seq(to = NaN))
2762
+ try(seq(NaN, NaN))
2763
+ try(seq.int(NaN))
2764
+ try(seq.int(to = NaN))
2765
+ try(seq.int(NaN, NaN))
2766
+ ## R 3.0.1 gave messages from ':' or about negative-length vectors.
2767
+
2768
+
2769
+ ## Some dimnames were lost from 1D arrays: PR#15301
2770
+ x <- array(0:2, dim=3, dimnames=list(d1=LETTERS[1:3]))
2771
+ x
2772
+ x[]
2773
+ x[3:1]
2774
+ x <- array(0, dimnames=list(d1="A"))
2775
+ x
2776
+ x[]
2777
+ x[drop = FALSE]
2778
+ ## lost dimnames in 3.0.1
2779
+
2780
+
2781
+ ## PR#15396
2782
+ load(file.path(Sys.getenv('SRCDIR'), 'arima.rda'))
2783
+ (f1 <- arima(x, xreg = xreg, order = c(1,1,1), seasonal = c(1,0,1)))
2784
+ (f2 <- arima(diff(x), xreg = diff(xreg), order = c(1,0,1), seasonal = c(1,0,1),
2785
+ include.mean = FALSE))
2786
+ stopifnot(all.equal(coef(f1), coef(f2), tolerance = 1e-3, check.names = FALSE))
2787
+ ## first gave local optim in 3.0.1
2788
+
2789
+ ## all.equal always checked the names
2790
+ x <- c(a=1, b=2)
2791
+ y <- c(a=1, d=2)
2792
+ all.equal(x, y, check.names = FALSE)
2793
+ ## failed on mismatched attributes
2794
+
2795
+
2796
+ ## PR#15411; PR#18098 ==> digits=0 not ok:
2797
+ format(9992, digits = 3)
2798
+ format(9996, digits = 3)
2799
+ format(0.0002, digits = 1, nsmall = 2, scientific = FALSE)
2800
+ assertErrorV(
2801
+ format(pi*10, digits = 0))
2802
+ format(pi*10, digits = 1)
2803
+ format(pi*10, digits = 1, nsmall = 1)
2804
+ ## second added an extra space.
2805
+
2806
+ ## and one branch of this was wrong:
2807
+ xx <- c(-86870268, 107833358, 302536985, 481015309, 675718935, 854197259,
2808
+ 1016450281, 1178703303, 1324731023, 1454533441)
2809
+ xx
2810
+ ## dropped spaces without long doubles
2811
+
2812
+ ## and rounding was being detected improperly (PR#15583)
2813
+ 1000* ((10^(1/4)) ^ c(0:4))
2814
+ 7/0.07
2815
+ ## Spacing was incorrect
2816
+
2817
+
2818
+ ## PR#15468
2819
+ M <- matrix(11:14, ncol=2, dimnames=list(paste0("Row", 1:2), paste0("Col",
2820
+ 1:2)))
2821
+ L <- list(elem1=1, elem2=2)
2822
+ rbind(M, L)
2823
+ rbind(L, M)
2824
+ cbind(M, L)
2825
+ cbind(L, M)
2826
+ ## lost the dim of M, so returned NULL entries
2827
+
2828
+
2829
+ ## NA_character_ was not handled properly in min and max (reported by Magnus Thor Torfason)
2830
+ str(min(NA, "bla"))
2831
+ str(min("bla", NA))
2832
+ str(min(NA_character_, "bla"))
2833
+ str(max(NA, "bla"))
2834
+ str(max("bla", NA))
2835
+ str(max(NA_character_, "bla"))
2836
+ ## NA_character_ could be treated as "NA"; depending on the locale, it would not necessarily
2837
+ ## be the min or max.
2838
+
2839
+
2840
+ ## When two entries needed to be cut to width, str() mixed up
2841
+ ## the values (reported by Gerrit Eichner)
2842
+ oldopts <- options(width=70)
2843
+ n <- 11 # number of rows of data frame
2844
+ M <- 10000 # order of magnitude of numerical values
2845
+ longer.char.string <- "zjtvorkmoydsepnxkabmeondrjaanutjmfxlgzmrbjp"
2846
+ X <- data.frame( A = 1:n * M,
2847
+ B = factor(rep(longer.char.string, n)))
2848
+ str( X, strict.width = "cut")
2849
+ options(oldopts)
2850
+ ## The first row of the str() result was duplicated.
2851
+
2852
+
2853
+ ## PR15624: rounding in extreme cases
2854
+ dpois(2^52,1,1)
2855
+ dpois(2^52+1,1,1)
2856
+ ## second warned in R 3.0.2.
2857
+
2858
+
2859
+ ## Example from PR15625
2860
+ f <- file.path(Sys.getenv('SRCDIR'), 'EmbeddedNuls.csv')
2861
+ ## This is a file with a UTF-8 BOM and some fields which are a single nul.
2862
+ ## The output does rely on this being run in a non-UTF-8 locale (C in tests).
2863
+ read.csv(f) # warns
2864
+ read.csv(f, skipNul = TRUE, fileEncoding = "UTF-8-BOM")
2865
+ ## 'skipNul' is new in 3.1.0. Should not warn on BOM, ignore in second.
2866
+
2867
+
2868
+ ## all.equal datetime method
2869
+ x <- Sys.time()
2870
+ all.equal(x,x)
2871
+
2872
+ # FIXME: check.tzone = FALSE needed because since 79037, all.equal.POSIXt
2873
+ # strictly reports "" and the current time zone (even from TZ environment
2874
+ # variable) as different. The conversion round-trip from Sys.time()
2875
+ # (POSIXct) via POSIXlt and back to POSIXct creates an object with the
2876
+ # current time zone, yet the original is with "" as time zone (and both
2877
+ # refer to the same time zone).
2878
+ all.equal(x, as.POSIXlt(x), check.tzone = FALSE)
2879
+
2880
+ all.equal(x, as.numeric(x)) # errored in R <= 4.0.2
2881
+ all.equal(x, as.POSIXlt(x, tz = "EST5EDT"))
2882
+ all.equal(x, x+1e-4)
2883
+ isTRUE(all.equal(x, x+0.002)) # message will depend on representation error
2884
+ ## as.POSIXt method is new in 3.1.0.
2885
+
2886
+
2887
+
2888
+ ## Misuse of PR#15633
2889
+ try(bartlett.test(yield ~ block*N, data = npk))
2890
+ try(fligner.test (yield ~ block*N, data = npk))
2891
+ ## used the first factor with an incorrect description in R < 3.0.3
2892
+
2893
+
2894
+ ## Misguided expectation of PR#15687
2895
+ xx <- window(AirPassengers, start = 1960)
2896
+ cbind(xx, xx)
2897
+ op <- options(digits = 2)
2898
+ cbind(xx, xx)
2899
+ options(op)
2900
+ ## 'digits' was applied to the time.
2901
+
2902
+
2903
+ ## Related to PR#15190
2904
+ difftime(
2905
+ as.POSIXct(c("1970-01-01 00:00:00", "1970-01-01 12:00:00"), tz="EST5EDT"),
2906
+ as.POSIXct(c("1970-01-01 00:00:00", "1970-01-01 00:00:00"), tz="UTC"))
2907
+ ## kept tzone from first arg.
2908
+
2909
+
2910
+ ## PR#15706
2911
+ x1 <- as.dendrogram(hclust(dist(c(i=1,ii=2,iii=3,v=5,vi=6,vii=7))))
2912
+ attr(cophenetic(x1), "Labels")
2913
+ ## gave a matrix in 3.0.3
2914
+
2915
+
2916
+ ## PR#15708
2917
+ aa <- anova( lm(sr ~ ., data = LifeCycleSavings) )
2918
+ op <- options(width = 50)
2919
+ aa
2920
+ options(width = 40)
2921
+ aa ; options(op)
2922
+ ## did not line wrap "Signif. codes" previously
2923
+
2924
+
2925
+ ## PR#15718
2926
+ d <- data.frame(a=1)
2927
+ d[integer(), "a"] <- 2
2928
+ ## warned in 3.0.3.
2929
+
2930
+
2931
+ ## PR#15781
2932
+ options(foo = 1)
2933
+ print(options(foo = NULL))
2934
+ ## printed wrong value in 3.1.0
2935
+
2936
+
2937
+ ## getParseData bug reported by Andrew Redd
2938
+ raw <- "
2939
+ function( a # parameter 1
2940
+ , b=2 # parameter 2
2941
+ ){a+b}"
2942
+ p <- parse(text = raw)
2943
+ getParseData(p)
2944
+ ## Got some parents wrong
2945
+
2946
+
2947
+ ## wish of PR#15819
2948
+ set.seed(123); x <- runif(10); y <- rnorm(10)
2949
+ op <- options(OutDec = ",")
2950
+ fit <- lm(y ~ x)
2951
+ summary(fit)
2952
+ options(op)
2953
+ ## those parts using formatC still used a decimal point.
2954
+
2955
+
2956
+ ## Printing a list with "bad" component names
2957
+ L <- list(`a\\b` = 1, `a\\c` = 2, `a\bc` = "backspace")
2958
+ setClass("foo", representation(`\\C` = "numeric"))
2959
+ ## the next three all print correctly:
2960
+ names(L)
2961
+ unlist(L)
2962
+ as.pairlist(L)
2963
+ cat(names(L), "\n")# yes, backspace is backspace here
2964
+ L
2965
+ new("foo")
2966
+ ## the last two lines printed wrongly in R <= 3.1.1
2967
+
2968
+
2969
+ ## Printing of arrays where last dim(.) == 0 :
2970
+ r <- matrix(,0,4, dimnames=list(Row=NULL, Col=paste0("c",1:4)))
2971
+ r
2972
+ t(r) # did not print "Row", "Col"
2973
+ A <- array(dim=3:0, dimnames=list(D1=c("a","b","c"), D2=c("X","Y"), D3="I", D4=NULL))
2974
+ A ## did not print *anything*
2975
+ A[,,"I",] # ditto
2976
+ A[,,0,] # ditto
2977
+ aperm(A, c(3:1,4)) # ditto
2978
+ aperm(A, c(1:2, 4:3))# ditto
2979
+ unname(A) # ditto
2980
+ format(A[,,1,]) # ditto
2981
+ aperm(A, 4:1) # was ok, is unchanged
2982
+ ## sometimes not printing anything in R <= 3.1.1
2983
+
2984
+
2985
+ ## Printing objects with very long names cut off literal values (PR#15999)
2986
+ make_long_name <- function(n)
2987
+ {
2988
+ paste0(rep("a", n), collapse = "")
2989
+ }
2990
+ setNames(TRUE, make_long_name(1000)) # value printed as TRU
2991
+ setNames(TRUE, make_long_name(1002)) # value printed as T
2992
+ setNames(TRUE, make_long_name(1003)) # value not printed
2993
+ ##
2994
+
2995
+
2996
+ ## PR#16437
2997
+ dd <- data.frame(F = factor(rep(c("A","B","C"), each = 3)), num = 1:9)
2998
+ cs <- list(F = contr.sum(3, contrasts = FALSE))
2999
+ a1 <- aov(num ~ F, data = dd, contrasts = cs)
3000
+ model.tables(a1, "means")
3001
+ t1 <- TukeyHSD(a1) ## don't print to avoid precision issues.
3002
+ a2 <- aov(num ~ 0+F, data = dd, contrasts = cs)
3003
+ model.tables(a2, "means")
3004
+ t2 <- TukeyHSD(a2)
3005
+ attr(t1, "orig.call") <- attr(t2, "orig.call")
3006
+ stopifnot(all.equal(t1, t2))
3007
+ ## functions both failed on a2 in R <= 3.2.2.
3008
+
3009
+
3010
+ ## deparse() did not add parens before [
3011
+ substitute(a[1], list(a = quote(x * y)))
3012
+ ## should be (x * y)[1], was x * y[1]
3013
+ # Check all levels of precedence
3014
+ # (Comment out illegal ones)
3015
+ quote(`$`(a :: b, c))
3016
+ # quote(`::`(a $ b, c $ d))
3017
+ quote(`[`(a $ b, c $ d))
3018
+ quote(`$`(a[b], c))
3019
+ quote(`^`(a[b], c[d]))
3020
+ quote(`[`(a ^ b, c ^ d))
3021
+ quote(`-`(a ^ b))
3022
+ quote(`^`(-b, -d))
3023
+ quote(`:`(-b, -d))
3024
+ quote(`-`(a : b))
3025
+ quote(`%in%`(a : b, c : d))
3026
+ quote(`:`(a %in% b, c %in% d))
3027
+ quote(`*`(a %in% b, c %in% d))
3028
+ quote(`%in%`(a * b, c * d))
3029
+ quote(`+`(a * b, c * d))
3030
+ quote(`*`(a + b, c + d))
3031
+ quote(`<`(a + b, c + d))
3032
+ quote(`+`(a < b, c < d))
3033
+ quote(`!`(a < b))
3034
+ quote(`<`(!b, !d))
3035
+ quote(`&`(!b, !d))
3036
+ quote(`!`(a & b))
3037
+ quote(`|`(a & b, c & d))
3038
+ quote(`&`(a | b, c | d))
3039
+ quote(`~`(a | b, c | d))
3040
+ quote(`|`(a ~ b, c ~ d))
3041
+ quote(`->`(a ~ b, d))
3042
+ quote(`~`(a -> b, c -> d))
3043
+ quote(`<-`(a, c -> d))
3044
+ quote(`->`(a <- b, c))
3045
+ quote(`=`(a, c <- d))
3046
+ quote(`<-`(a, `=`(c, d)))
3047
+ quote(`?`(`=`(a, b), `=`(c, d)))
3048
+ quote(`=`(a, c ? d))
3049
+ quote(`?`(a = b))
3050
+ quote(`=`(b, ?d))
3051
+
3052
+ ## dput() quoted the empty symbol (PR#16686)
3053
+ a <- alist(one = 1, two = )
3054
+ dput(a)
3055
+ ## deparsed two to quote()
3056
+
3057
+ ## Deparsing of repeated unary operators; the first 3 were "always" ok:
3058
+ quote(~~x)
3059
+ quote(++x)
3060
+ quote(--x)
3061
+ quote(!!x) # was `!(!x)`
3062
+ quote(??x) # Suboptimal
3063
+ quote(~+-!?x) # ditto: ....`?`(x)
3064
+ ## `!` no longer produces parentheses now
3065
+ ##
3066
+ ## There should be no parentheses (always worked)
3067
+ quote(+!x)
3068
+
3069
+
3070
+ ## summary.data.frame() with NAs in columns of class "Date" -- PR#16709
3071
+ x <- c(18000000, 18810924, 19091227, 19027233, 19310526, 19691228, NA)
3072
+ x.Date <- as.Date(as.character(x), format = "%Y%m%d")
3073
+ summary(x.Date)
3074
+ DF.Dates <- data.frame(c1 = x.Date)
3075
+ summary(DF.Dates) ## NA's missing from output :
3076
+ DF.Dates$x1 <- 1:7
3077
+ summary(DF.Dates) ## NA's still missing
3078
+ DF.Dates$x2 <- c(1:6, NA)
3079
+ ## now, NA's show fine:
3080
+ summary(DF.Dates)
3081
+ ## 2 of 4 summary(.) above did not show NA's in R <= 3.2.3
3082
+
3083
+
3084
+ ## Printing complex matrix
3085
+ matrix(1i,2,13)
3086
+ ## Spacing was wrong in R <= 3.2.4
3087
+
3088
+
3089
+ E <- expression(poly = x^3 - 3 * x^2)
3090
+ str(E)
3091
+ ## no longer shows "structure(...., .Names = ..)"
3092
+
3093
+
3094
+ ## summary(<logical>) working via table():
3095
+ logi <- c(NA, logical(3), NA, !logical(2), NA)
3096
+ summary(logi)
3097
+ summary(logi[!is.na(logi)])
3098
+ summary(TRUE)
3099
+ ## was always showing counts for NA's even when 0 in 2.8.0 <= R <= 3.3.1
3100
+ ii <- as.integer(logi)
3101
+ summary(ii)
3102
+ summary(ii[!is.na(ii)])
3103
+ summary(1L)
3104
+
3105
+
3106
+ ## str.default() for "AsIs" arrays
3107
+ str(I(m <- matrix(pi*1:4, 2)))
3108
+ ## did look ugly (because of toString() for numbers) in R <= 3.3.1
3109
+
3110
+
3111
+ ## check automatic coercions from double to integer
3112
+ ##
3113
+ ## these should work due to coercion
3114
+ sprintf("%d", 1)
3115
+ sprintf("%d", NA_real_)
3116
+ sprintf("%d", c(1,2))
3117
+ sprintf("%d", c(1,NA))
3118
+ sprintf("%d", c(NA,1))
3119
+ ##
3120
+ ## these should fail
3121
+ assertErrorV( sprintf("%d", 1.1) )
3122
+ assertErrorV( sprintf("%d", c(1.1,1)) )
3123
+ assertErrorV( sprintf("%d", c(1,1.1)) )
3124
+ assertErrorV( sprintf("%d", NaN) )
3125
+ assertErrorV( sprintf("%d", c(1,NaN)) )
3126
+
3127
+
3128
+ ## formatting of named raws:
3129
+ setNames(as.raw(1:3), c("a", "bbbb", "c"))
3130
+ ## was quite ugly for R <= 3.4.2
3131
+
3132
+
3133
+ ## str(x) when is.vector(x) is false :
3134
+ str(structure(c(a = 1, b = 2:7), color = "blue"))
3135
+ ## did print " atomic [1:7] ..." in R <= 3.4.x
3136
+
3137
+
3138
+ ## check stopifnot(exprs = ....)
3139
+ tryCatch(stopifnot(exprs = {
3140
+ all.equal(pi, 3.1415927)
3141
+ 2 < 2
3142
+ cat("Kilroy was here!\n")
3143
+ all(1:10 < 12)
3144
+ "a" < "b"
3145
+ }), error = function(e) e$message) -> M ; cat("Error: ", M, "\n")
3146
+
3147
+ tryCatch(stopifnot(exprs = {
3148
+ all.equal(pi, 3.1415927)
3149
+ { cat("Kilroy was here!\n"); TRUE }
3150
+ pi < 3
3151
+ cat("whereas I won't be printed ...\n")
3152
+ all(1:10 < 12)
3153
+ "a" < "b"
3154
+ }), error = function(e) e$message) -> M2 ; cat("Error: ", M2, "\n")
3155
+
3156
+ stopifnot(exprs = {
3157
+ all.equal(pi, 3.1415927)
3158
+ { cat("\nKilroy was here! ... "); TRUE }
3159
+ pi > 3
3160
+ all(1:10 < 12)
3161
+ "a" < "b"
3162
+ { cat("and I'm printed as well ...\n"); TRUE}
3163
+ })
3164
+ ## without "{ .. }" :
3165
+ stopifnot(exprs = 2 == 2)
3166
+ try(stopifnot(exprs = 1 > 2))
3167
+ ## passing an expression object:
3168
+ stopifnot(exprObject = expression(2 == 2, pi < 4))
3169
+ tryCatch(stopifnot(exprObject = expression(
3170
+ 2 == 2,
3171
+ { cat("\n Kilroy again .."); TRUE },
3172
+ pi < 4,
3173
+ 0 == 1,
3174
+ { cat("\n no way..\n"); TRUE })),
3175
+ error = function(e) e$message) -> M3
3176
+ cat("Error: ", M3, "\n")
3177
+ ## was partly not ok for many weeks in R-devel, early 2018
3178
+
3179
+
3180
+ ## print.htest() with small 'digits'
3181
+ print(t.test(1:28), digits = 3)
3182
+ ## showed 'df = 30' from signif(*, digits=1) and too many digits for CI, in R <= 3.5.1
3183
+
3184
+
3185
+ ## str(<d.frame w/ attrib>):
3186
+ treeA <- trees
3187
+ attr(treeA, "someA") <- 1:77
3188
+ str(treeA)
3189
+ ## now shows the *length* of "someA"
3190
+
3191
+
3192
+ ## summaryRprof() bug PR#15886 + "Rprof() not enabled" PR#17836
3193
+ if(capabilities("Rprof")) {
3194
+ Rprof(tf <- tempfile("Rprof.out", tmpdir = getwd()), memory.profiling=TRUE, line.profiling=FALSE)
3195
+ out <- lapply(1:10000, rnorm, n= 512)
3196
+ Rprof(NULL)
3197
+ if(interactive())
3198
+ print(length(readLines(tf))) # ca. 10 .. 20 lines
3199
+ op <- options(warn = 2) # no warnings, even !
3200
+ for (cs in 1:21) s <- summaryRprof(tf, memory="tseries", chunksize=cs)
3201
+ ## "always" triggered an error (or a warning) in R <= 3.6.3
3202
+ options(op)
3203
+ unlink(tf)
3204
+ }
3205
+
3206
+
3207
+ ## printing *named* complex vectors (*not* arrays), PR#17868 (and PR#18019):
3208
+ a <- 1:12; (z <- a + a*1i); names(z) <- letters[seq_along(z)]; z
3209
+ ## fixed in R-devel in July 2020; R 4.0.3 patched on Dec 26, 2020
3210
+
3211
+
3212
+ ## identical(*) on "..." object
3213
+ (ddd <- (function(...) environment())(1)$...) # <...>
3214
+ dd2 <- (function(...) environment())(1)$...
3215
+ stopifnot( identical(ddd, dd2) )
3216
+ ## In R <= 4.0.3, printed to console (no warning, no message!):
3217
+ ## "Unknown Type: ... (11)"
3218
+
3219
+
3220
+ ## printCoefmat() should keep NaN values (PR#17336)
3221
+ ##cm <- summary(lm(c(0,0,0) ~ 1))$coefficients
3222
+ cm <- cbind(Estimate = 0, SE = 0, t = NaN, "Pr(>|t|)" = NaN)
3223
+ printCoefmat(cm) # NaN's were replaced by NA in R < 4.1.0
3224
+
3225
+
3226
+ ## deparse() wraps cflow bodies when deeply burried through a LHS (PR#18232)
3227
+ ##
3228
+ ## These didn't print the same before fix, the bquote() expression
3229
+ ## missed parentheses
3230
+ quote(1 + (if (TRUE) 2) + 3)
3231
+ bquote(1 + .(quote(if (TRUE) 2)) + 3)
3232
+ bquote(2 * .(quote(if (TRUE) 2 else 3)) / 4)
3233
+ ## From Suharto. Failed `left` state wasn't properly forwarded across operators
3234
+ bquote(1 + ++.(quote(if (TRUE) 2)) + 3)
3235
+ bquote(1^- . (quote(if (TRUE) 2)) + 3)
3236
+ ## (found when fiddling w/ cases below):
3237
+ quote(`-`(1 + if(L) 2, 3+4))# wrongly was 1 + if (L) 2 - (3 + 4)
3238
+ ##
3239
+ ##__ All the following were ok in R <= 4.1.x already __
3240
+ bquote(1 + .(quote(if (TRUE) 2)) ^ 3) # already correct previously
3241
+ ## other constructs cancel the LHS state ==> `if` call isn't wrapped:
3242
+ bquote(1 + .(quote( f(if (TRUE) 2))) + 3)
3243
+ bquote(1 + .(quote((2 + if (TRUE) 3))) + 4)
3244
+ ## cflow bodies are only wrapped if needed ==> no parentheses here :
3245
+ quote(a <- if (TRUE) 1)
3246
+ ## print the same
3247
+ quote(`^`(-1, 2))
3248
+ quote((-1)^2)
3249
+ ## no parentheses:
3250
+ quote(1^-2)
3251
+ quote(1^-2 + 3)
3252
+ ## The "formula" case of Adrian Dusa (maintainer of QCA); R-devel ML, Nov.15, 2021
3253
+ quote(A + ~B + C ~ D) # no parens
3254
+ ## 'simple' binary op
3255
+ quote(a$"b")
3256
+ ## When cflow body is burried deeply through the right, don't rewrap
3257
+ ## unnecessarily. There should be only one set of parentheses.
3258
+ ## Cases where R-devel 81211 still gave unneeded parens:
3259
+ quote(`^`(1 + if(L) 2, 3))
3260
+ quote(`*`(1 - if(L) 2 else 22, 3))
3261
+ quote(`^`(1 + repeat 2, 3))
3262
+ quote(`*`(1 + repeat 2, 3))
3263
+ quote(`=`(1 + repeat 2, 3))# *no* parens in R <= 4.1.x
3264
+ quote(`=`(1 + `+`(2, repeat 3), 4))
3265
+ quote(`+`(`<-`(1, `=`(2, repeat 3)), 4)) # (1 <- (2 = ..
3266
+ quote(`+`(`:`(1, `=`(2, repeat 3)), 4))
3267
+ ## No parentheses when the cflow form is trailing
3268
+ quote(1 + +repeat 2)
3269
+ quote(`<-`(1, +repeat 2))
3270
+ quote(1^+repeat 2)
3271
+ quote(`$`(1, +repeat 2))
3272
+ ## More cases where parens are needed
3273
+ quote(`^`(`+`(repeat 1, 2), 3))
3274
+ quote(`+`(`+`(repeat 1, 2), 3))
3275
+ quote(`+`(`+`(`+`(repeat 1, repeat 2), repeat 3), 4))
3276
+ ##__ end { all fine in older R }
3277
+
3278
+ ## Unary operators are parenthesised if needed; print the same:
3279
+ quote((-a)$b)
3280
+ quote(`$`(-a, b)) # no parens in R <= 4.1.x
3281
+ ## Binary operators are parenthesised on the LHS of `$`. ; the same:
3282
+ quote((1 + 1)$b)
3283
+ quote(`$`(1 + 1, b)) # no parens in R <= 4.1.x
3284
+ ##
3285
+ ## Unparseable expressions are deparsed in prefixed form
3286
+ quote(`$`(1)) # was 1$NULL in R <= 4.1.x
3287
+ quote(`$`(1, 2, 3)) # was 1$2
3288
+ quote(`$`(1, NA_character_)) # was 1$NA_char..
3289
+ quote(`$`(1, if(L) 2)) # was 1$if (L) 2
3290
+ quote(`$`(`$`(1, if(L) 2), 3))
3291
+ ## No parens because prefix form
3292
+ quote(`$`(1 + repeat 2, 3))
3293
+ quote(`=`(`$`(1, `$`(2, repeat 3)), 4))
3294
+ ## these were really bad in R <= 4.1.x
3295
+
3296
+
3297
+ ## Deparsing of ! -- PR#18284
3298
+ ## no parens in 3.5.0 <= R <= 4.1.x:
3299
+ quote(1 + `!`(2) + 3) -> x; x
3300
+ quote(1 + +`!`(2) + 3)
3301
+ quote(1 + `!`(!2) + 3)
3302
+ quote(1 + `!`(if(L) 2) + 3)
3303
+ ## ok in 3.5.0 <= R <= 4.1.x:
3304
+ quote(`&`(a < !b, d))
3305
+ ## deparse--parse roundtrip is stable (basically)
3306
+ stopifnot(eval(x) == 4, eval(parse(text = deparse(x))) == 4)
3307
+ ## eval()ed to 1 since R 3.5.0 {also because of the weak precedence of `!`}
3308
+
3309
+
3310
+ ## packageDate(<pkg>) w/o valid package
3311
+ dput(packageDate("foo"))
3312
+ ## gave *five* warnings* in R <= 4.2.x
3313
+
3314
+
3315
+ ## object not found error mentions lexical call
3316
+ if (exists("foo")) rm(foo)
3317
+ ## Should not mention call because called at top level
3318
+ try(identity(foo))
3319
+ try(do.call("identity", alist(foo)))
3320
+ ##
3321
+ ## Should mention `f()` call
3322
+ f <- function() identity(foo)
3323
+ try(f())
3324
+ f <- compiler::cmpfun(f)
3325
+ try(f())
3326
+ f <- function() do.call("identity", alist(foo))
3327
+ try(f())
3328
+ f <- compiler::cmpfun(f)
3329
+ try(f())
3330
+ ##
3331
+ ## Should not mention call because there is no matching execution env
3332
+ try(do.call("identity", alist(foo), envir = new.env()))
3333
+ f <- function() do.call("identity", alist(foo), envir = new.env())
3334
+ try(f())
3335
+ f <- compiler::cmpfun(f)
3336
+ try(f())
3337
+
3338
+
3339
+ ## Missing argument error mentions lexical call
3340
+ ## Local evaluation: Mentions `identity()`
3341
+ try(identity())
3342
+ f <- function() identity()
3343
+ try(f())
3344
+ f <- compiler::cmpfun(f)
3345
+ try(f())
3346
+ ##
3347
+ ## Promise evaluation: Mentions `f()` or `g()`
3348
+ f <- function(arg) is.factor(arg)
3349
+ g <- function(x) f(x)
3350
+ try(f())
3351
+ try(g())
3352
+ f <- compiler::cmpfun(f)
3353
+ g <- compiler::cmpfun(g)
3354
+ try(f())
3355
+ try(g())
3356
+ ##
3357
+ ## Direct evaluation, `eval()` wrapper: Mentions `eval()`
3358
+ f <- function() eval(quote(expr = ))
3359
+ try(f())
3360
+ f <- compiler::cmpfun(f)
3361
+ try(f())
3362
+ ##
3363
+ ## Direct evaluation, no `eval()` wrapper: Mentions `f()`
3364
+ f <- function() {
3365
+ eval(bquote(delayedAssign("go", .(quote(expr = )))))
3366
+ go
3367
+ }
3368
+ try(f())
3369
+ f <- compiler::cmpfun(f)
3370
+ try(f())