[R-pkg-devel] Rcmd check skip example

mai zhou m@|zhou @end|ng |rom gm@||@com
Thu Jan 19 05:00:35 CET 2023


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)

best,

Mai Zhou

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list