CRAN Package Check Results for Package dm

Last updated on 2021-09-26 07:50:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.3 12.52 302.75 315.27 OK
r-devel-linux-x86_64-debian-gcc 0.2.3 11.57 223.67 235.24 OK
r-devel-linux-x86_64-fedora-clang 0.2.3 368.81 OK
r-devel-linux-x86_64-fedora-gcc 0.2.3 382.42 OK
r-devel-windows-x86_64 0.2.3 17.00 262.00 279.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.2.3 OK
r-patched-linux-x86_64 0.2.3 17.64 312.86 330.50 ERROR
r-patched-solaris-x86 0.2.3 318.70 OK
r-release-linux-x86_64 0.2.3 9.39 334.61 344.00 OK
r-release-macos-arm64 0.2.3 OK
r-release-macos-x86_64 0.2.3 OK
r-release-windows-ix86+x86_64 0.2.3 24.00 300.00 324.00 OK
r-oldrel-macos-x86_64 0.2.3 OK
r-oldrel-windows-ix86+x86_64 0.2.3 16.00 299.00 315.00 OK

Check Details

Version: 0.2.3
Check: examples
Result: ERROR
    Running examples in ‘dm-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: dm_add_fk
    > ### Title: Add foreign keys
    > ### Aliases: dm_add_fk
    >
    > ### ** Examples
    >
    > ## Don't show:
    > if (rlang::is_installed("nycflights13") && rlang::is_installed("DiagrammeR")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
    + ## End(Don't show)
    + nycflights_dm <- dm(
    + planes = nycflights13::planes,
    + flights = nycflights13::flights,
    + weather = nycflights13::weather
    + )
    +
    + nycflights_dm %>%
    + dm_draw()
    +
    + # Create foreign keys:
    + nycflights_dm %>%
    + dm_add_pk(planes, tailnum) %>%
    + dm_add_fk(flights, tailnum, planes) %>%
    + dm_add_pk(weather, c(origin, time_hour)) %>%
    + dm_add_fk(flights, c(origin, time_hour), weather) %>%
    + dm_draw()
    +
    + # Keys can be checked during creation:
    + try(
    + nycflights_dm %>%
    + dm_add_pk(planes, tailnum) %>%
    + dm_add_fk(flights, tailnum, planes, check = TRUE)
    + )
    + ## Don't show:
    + }) # examplesIf
    > nycflights_dm <- dm(planes = nycflights13::planes, flights = nycflights13::flights,
    + weather = nycflights13::weather)
    Warning: call dbDisconnect() when finished working with a connection
    Error in (function (hash = TRUE, parent = parent.frame(), size = 29L) :
     use of NULL environment is defunct
    Calls: <Anonymous> ... withVisible -> eval -> eval -> dm -> map -> .f -> <Anonymous>
    Execution halted
Flavor: r-patched-linux-x86_64