CRAN Package Check Results for Package envvar

Last updated on 2024-08-16 21:48:59 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 1.99 29.88 31.87 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 1.27 22.17 23.44 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 51.62 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.1 49.64 ERROR
r-devel-windows-x86_64 0.1.1 3.00 48.00 51.00 ERROR
r-patched-linux-x86_64 0.1.1 1.66 27.72 29.38 ERROR
r-release-linux-x86_64 0.1.1 1.87 28.40 30.27 ERROR
r-release-macos-arm64 0.1.1 20.00 OK
r-release-macos-x86_64 0.1.1 44.00 OK
r-release-windows-x86_64 0.1.1 4.00 49.00 53.00 OK
r-oldrel-macos-arm64 0.1.1 24.00 OK
r-oldrel-macos-x86_64 0.1.1 42.00 OK
r-oldrel-windows-x86_64 0.1.1 4.00 55.00 59.00 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘envvar-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: envvar_get_integer > ### Title: Get the value of an environment variable as a particular type > ### Aliases: envvar_get_integer envvar_get_numeric envvar_get_logical > ### envvar_get_version envvar_get_date envvar_get_datetime > > ### ** Examples > > > # Get and use an integer value > envvar_set("MYNUMBER" = 12) > envvar_get_integer("MYNUMBER") + 5 [1] 17 > > # Get and use a numeric value > envvar_set("MYNUMBER" = 12.34) > envvar_get_numeric("MYNUMBER") + 5 [1] 17.34 > > # Check a logical value > isTRUE(envvar_get_logical("RSTUDIO_CLI_HYPERLINKS", default = FALSE)) ℹ Environment variable `RSTUDIO_CLI_HYPERLINKS` is not set. Using default value FALSE. [1] FALSE > > # Get an IP address value and ensure that it is IPv4 > envvar_set("MY_VER" = "4.3.1") > envvar_get_version("MY_VER", validate = \(x) x > as.numeric_version("4.3")) [1] ‘4.3.1’ > # Get a date and make sure it's in the future > envvar_set("LAUNCH_DATE" = "2024-08-08") > envvar_get_date("LAUNCH_DATE", validate = \(x) x > Sys.Date()) Error in `envvar_get()`: ! "2024-08-08" is not a valid value for `LAUNCH_DATE` Backtrace: ▆ 1. └─envvar::envvar_get_date(...) 2. └─envvar::envvar_get(...) 3. └─cli::cli_abort("{.val {value_raw}} is not a valid value for {.envvar {x}}") 4. └─rlang::abort(...) Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘envvar-Ex.R’ failed The error most likely occurred in: > ### Name: envvar_get_integer > ### Title: Get the value of an environment variable as a particular type > ### Aliases: envvar_get_integer envvar_get_numeric envvar_get_logical > ### envvar_get_version envvar_get_date envvar_get_datetime > > ### ** Examples > > > # Get and use an integer value > envvar_set("MYNUMBER" = 12) > envvar_get_integer("MYNUMBER") + 5 [1] 17 > > # Get and use a numeric value > envvar_set("MYNUMBER" = 12.34) > envvar_get_numeric("MYNUMBER") + 5 [1] 17.34 > > # Check a logical value > isTRUE(envvar_get_logical("RSTUDIO_CLI_HYPERLINKS", default = FALSE)) ℹ Environment variable `RSTUDIO_CLI_HYPERLINKS` is not set. Using default value FALSE. [1] FALSE > > # Get an IP address value and ensure that it is IPv4 > envvar_set("MY_VER" = "4.3.1") > envvar_get_version("MY_VER", validate = \(x) x > as.numeric_version("4.3")) [1] ‘4.3.1’ > # Get a date and make sure it's in the future > envvar_set("LAUNCH_DATE" = "2024-08-08") > envvar_get_date("LAUNCH_DATE", validate = \(x) x > Sys.Date()) Error in `envvar_get()`: ! "2024-08-08" is not a valid value for `LAUNCH_DATE` Backtrace: ▆ 1. └─envvar::envvar_get_date(...) 2. └─envvar::envvar_get(...) 3. └─cli::cli_abort("{.val {value_raw}} is not a valid value for {.envvar {x}}") 4. └─rlang::abort(...) Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.