[R-pkg-team] Bug#1121090: unittest test suite will never run
Daniel Leidert
dleidert at debian.org
Thu Nov 20 20:42:29 GMT 2025
Source: r-cran-gh
Version: 1.5.0-1
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
while examining r-cran-gh for LTS, I found that the test suite actually doesn't
run any tests. In tests/testthat.R, there is a check for the value of the
NOT_CRAN environment variable. Because that one is not set, the test will
always return false and not run any tests.
After setting that variable, the testsuite will run, but fail at least one step
due to the test setup (tests/testthat/test-spelling.R), and skip other tests.
However, it would still improve the situation to actually run the remaining
tests.
Regards, Daniel
- -- System Information:
Debian Release: forky/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldoldstable-updates'), (500, 'oldoldstable-security'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.17.7+deb14+1-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmkffTQACgkQS80FZ8KW
0F0HTA//WEgcdmpvC36LhfWF9mIszNOGhgOHShx+M1vKU8Lb64Fe79I1TkOxdiu8
Jv4jhcfxSLf0+MHxtjMcqbe3IqNcQa/Xm7Guyu4usse283tnLq4m8xMazmNpvLd1
TFaVLxDM0lCkdrEzMO4TulgIaDGGuXo6+sRvMs4CEl2XxIJ9WPs4vJ89OOJ1Wfba
+pgVP87jiVJiqH5zgXIVILRyH6+3rs+n80AZw628yqCFv9TXSIJY1wOEErgvMoMH
qmZEzE3Z8bCEhk8WbNpiXgiApPJpfUMoePQo62Fwy2BzJOINcAw/T/UvwPDy+uwk
9UZzije7iXGleQlFithujT+/YcZNbmqTzMJUg5+mObGHqERq/Os3JurgPWljf+2g
XF0hfLlVcLy3K52lrNfodXWSptgwr0lrAj81kNiLPi40yxEdFe7C3en9L0MI/5XQ
Pz/P9gXdPXGXmN5M1JxES7mXluC2miGKMLPicS0kNepU1w6XGJjTZ9en+Jkr13nF
KClhMm5Zb/upXOK6yt0pXKZaRadMlIHbErPKCw4ZHFWScC2DF7ERgZ83FiPJZtpN
vyfkFqhg4wWBZUt4Njq/X1FLihnc8HqIxKtJUXiNJlL+WtOqKqEIEf7297NqgOzl
J3vMp/rcJMnB9sNa6LVM5PXn9pNvYxn2ZUH5jsMk3LJuMvMwe0w=
=E4r7
-----END PGP SIGNATURE-----
More information about the R-pkg-team
mailing list