On 19.01.2023 11:57, Tomas Kalibera wrote:
On 1/19/23 05:00, mai zhou wrote:
Hi,
In the process of adding examples to the .RD file, I noticed
Rcmd check seems to skip certain example code.
I put my example code x%*%y%*%z (matrix multiplication) in the
RD file. After running Rcmd check
(on windows) and look into the xxx.Rcheck directory,
xxx-EX.ROUT file, it seems that the example check stopped
at x (i.e. everything after % sign is ignored, like LaTeX).
That seems like a bug. Can anyone confirm on newer version?
Mine:
sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22621)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.1.2 emplikAUC_0.3 rootSolve_1.8.2.3 emplik2_1.32
Mm... I have Win11, why the sessionInfo() say W10 ? (but that is
something
else)
R 4.1.0 was released before Windows 11, but even in R-devel,
sessionInfo() reports "Windows 10" on "Windows 11". The problem is that
the information comes from win.version()/GetVersionEx() and, as also
documented in ?win.version, this may return "compatibility version".
With the already released versions of R and current R-devel, one can
tell Windows 11 from the build number (your 22621 is Windows 11 22H2,
22000 is Windows 11 21H2).
Indeed, the versions from 10.0.22000 are called Windows 11.
Windows 10 builds are expected to stay below 10.0.22000.
It is up to Microsoft why the label their version 10.x.y as Windows 11
(well, they labelled version 5.x.y as Windows 2000 etc., so nothing new
here).
Best,
Uwe Ligges
Thanks for spotting and reporting this.
Tomas
best,
Mai Zhou
[[alternative HTML version deleted]]
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel