Running examples in ‘autodb-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gv
> ### Title: Generate Graphviz input text to plot objects
> ### Aliases: gv
> 
> ### ** Examples
> 
> # simple data.frame example
> txt_df <- gv(ChickWeight, "chick")
> cat(txt_df)
digraph "chick" {
  rankdir = "LR"
  node [shape=plaintext];

  "chick" [label = <
    <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
    <TR><TD COLSPAN="2">chick (578 rows)</TD></TR>
    <TR><TD PORT="TO_weight">weight</TD><TD PORT="FROM_weight">numeric</TD></TR>
    <TR><TD PORT="TO_time">Time</TD><TD PORT="FROM_time">numeric</TD></TR>
    <TR><TD PORT="TO_chick">Chick</TD><TD PORT="FROM_chick">ordered</TD></TR>
    <TR><TD PORT="TO_diet">Diet</TD><TD PORT="FROM_diet">factor</TD></TR>
    </TABLE>>];
}
> if (requireNamespace("DiagrammeR", quietly = TRUE)) {
+   DiagrammeR::grViz(txt_df)
+ }
> # simple database example
> db <- autodb(ChickWeight)
> txt_db <- gv(db)
> cat(txt_db)
digraph {
  rankdir = "LR"
  node [shape=plaintext];

  "Chick" [label = <
    <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
    <TR><TD COLSPAN="3">Chick (50 records)</TD></TR>
    <TR><TD PORT="TO_chick">Chick</TD><TD BGCOLOR="black"></TD><TD PORT="FROM_chick">ordered</TD></TR>
    <TR><TD PORT="TO_diet">Diet</TD><TD></TD><TD PORT="FROM_diet">factor</TD></TR>
    </TABLE>>];
  "Time_Chick" [label = <
    <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
    <TR><TD COLSPAN="3">Time_Chick (578 records)</TD></TR>
    <TR><TD PORT="TO_time">Time</TD><TD BGCOLOR="black"></TD><TD PORT="FROM_time">numeric</TD></TR>
    <TR><TD PORT="TO_chick">Chick</TD><TD BGCOLOR="black"></TD><TD PORT="FROM_chick">ordered</TD></TR>
    <TR><TD PORT="TO_weight">weight</TD><TD></TD><TD PORT="FROM_weight">numeric</TD></TR>
    </TABLE>>];

  "Time_Chick":FROM_chick -> "Chick":TO_chick;
}
> if (requireNamespace("DiagrammeR", quietly = TRUE)) {
+   DiagrammeR::grViz(txt_db)
+ }
> # simple relation schemas
> rschema <- synthesise(discover(ChickWeight))
> txt_rschema <- gv(rschema)
> cat(txt_rschema)
digraph {
  rankdir = "LR"
  node [shape=plaintext];

  "Chick" [label = <
    <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
    <TR><TD COLSPAN="2">Chick</TD></TR>
    <TR><TD PORT="TO_chick">Chick</TD><TD PORT="FROM_chick" BGCOLOR="black"></TD></TR>
    <TR><TD PORT="TO_diet">Diet</TD><TD PORT="FROM_diet"></TD></TR>
    </TABLE>>];
  "Time_Chick" [label = <
    <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
    <TR><TD COLSPAN="2">Time_Chick</TD></TR>
    <TR><TD PORT="TO_time">Time</TD><TD PORT="FROM_time" BGCOLOR="black"></TD></TR>
    <TR><TD PORT="TO_chick">Chick</TD><TD PORT="FROM_chick" BGCOLOR="black"></TD></TR>
    <TR><TD PORT="TO_weight">weight</TD><TD PORT="FROM_weight"></TD></TR>
    </TABLE>>];
}
> if (requireNamespace("DiagrammeR", quietly = TRUE)) {
+   DiagrammeR::grViz(txt_rschema)
+ }
> # simple database schema
> dschema <- normalise(discover(ChickWeight))
> txt_dschema <- gv(dschema)
> cat(txt_dschema)
digraph {
  rankdir = "LR"
  node [shape=plaintext];

  "Chick" [label = <
    <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
    <TR><TD COLSPAN="2">Chick</TD></TR>
    <TR><TD PORT="TO_chick">Chick</TD><TD PORT="FROM_chick" BGCOLOR="black"></TD></TR>
    <TR><TD PORT="TO_diet">Diet</TD><TD PORT="FROM_diet"></TD></TR>
    </TABLE>>];
  "Time_Chick" [label = <
    <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
    <TR><TD COLSPAN="2">Time_Chick</TD></TR>
    <TR><TD PORT="TO_time">Time</TD><TD PORT="FROM_time" BGCOLOR="black"></TD></TR>
    <TR><TD PORT="TO_chick">Chick</TD><TD PORT="FROM_chick" BGCOLOR="black"></TD></TR>
    <TR><TD PORT="TO_weight">weight</TD><TD PORT="FROM_weight"></TD></TR>
    </TABLE>>];

  "Time_Chick":FROM_chick -> "Chick":TO_chick;
}
> DiagrammeR::grViz(txt_dschema)
Error in loadNamespace(x) : there is no package called ‘DiagrammeR’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted