CRAN Package Check Results for Package constants

Last updated on 2025-12-06 00:48:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2022.0 1.64 38.55 40.19 OK
r-devel-linux-x86_64-debian-gcc 2022.0 1.31 17.98 19.29 ERROR
r-devel-linux-x86_64-fedora-clang 2022.0 60.88 OK
r-devel-linux-x86_64-fedora-gcc 2022.0 54.95 OK
r-devel-windows-x86_64 2022.0 4.00 57.00 61.00 OK
r-patched-linux-x86_64 2022.0 1.27 34.17 35.44 OK
r-release-linux-x86_64 2022.0 1.59 35.55 37.14 OK
r-release-macos-arm64 2022.0 OK
r-release-macos-x86_64 2022.0 5.00 106.00 111.00 OK
r-release-windows-x86_64 2022.0 5.00 57.00 62.00 OK
r-oldrel-macos-arm64 2022.0 OK
r-oldrel-macos-x86_64 2022.0 8.00 95.00 103.00 OK
r-oldrel-windows-x86_64 2022.0 5.00 66.00 71.00 OK

Check Details

Version: 2022.0
Check: examples
Result: ERROR Running examples in ‘constants-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: syms > ### Title: Lists of Constants > ### Aliases: syms syms_with_errors syms_with_units syms_with_quantities > ### Keywords: datasets > > ### ** Examples > > # the speed of light > syms$c0 [1] 299792458 > # use the constants in a local environment > with(syms, c0) [1] 299792458 > > # attach only Planck-related constants > (lkp <- lookup("planck", ignore.case=TRUE)) symbol quantity 138 nah molar Planck constant 199 h Planck constant 200 hev Planck constant in eV/Hz 201 plkl Planck length 202 plkm Planck mass 203 plkmc2gev Planck mass energy equivalent in GeV 204 plktmp Planck temperature 205 plkt Planck time 231 hbar reduced Planck constant 232 hbarev reduced Planck constant in eV s 233 hbcmevf reduced Planck constant times c in MeV fm type value uncertainty unit 138 Physico-chemical 3.990313e-10 0.0e+00 J/Hz/mol 199 Universal, Adopted values 6.626070e-34 0.0e+00 J/Hz 200 Universal 4.135668e-15 0.0e+00 eV/Hz 201 Universal 1.616255e-35 1.8e-40 m 202 Universal 2.176434e-08 2.4e-13 kg 203 Universal 1.220890e+19 1.4e+14 GeV 204 Universal 1.416784e+32 1.6e+27 K 205 Universal 5.391247e-44 6.0e-49 s 231 Universal, Adopted values 1.054572e-34 0.0e+00 J*s 232 Universal 6.582120e-16 0.0e+00 eV*s 233 Universal, Non-SI units 1.973270e+02 0.0e+00 MeV*fm > idx <- as.integer(rownames(lkp)) > attach(syms[idx]) > h [1] 6.62607e-34 > plkl [1] 1.616255e-35 > > # the same with uncertainty > detach(syms[idx]) > attach(syms_with_errors[idx]) > h 6.62607(0)e-34 > plkl 1.61626(2)e-35 > > # the same with units > detach(syms_with_errors[idx]) > attach(syms_with_units[idx]) > h Error: object 'h' not found Execution halted Flavor: r-devel-linux-x86_64-debian-gcc