Running ‘testthat.R’ [17s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(fcaR)
  > 
  > test_check("fcaR")
  An empty set of concepts.
  \begin{longtable*}{lll}
  1: &$\left(\,\left\{\mathrm{O1}, \mathrm{O2}, \mathrm{O3}, \mathrm{O4}, \mathrm{O5}, \mathrm{O6}\right\},\right.$&$\left.\ensuremath{\varnothing}\,\right)$\\
  2: &$\left(\,\left\{\mathrm{O2}, \mathrm{O3}, \mathrm{O6}\right\},\right.$&$\left.\left\{\el{\mathrm{P1}}{0.5}, \el{\mathrm{P2}}{0.5}\right\}\,\right)$\\
  3: &$\left(\,\left\{\mathrm{O2}, \el{\mathrm{O3}}{0.5}, \el{\mathrm{O6}}{0.5}\right\},\right.$&$\left.\left\{\mathrm{P1}, \mathrm{P2}\right\}\,\right)$\\
  4: &$\left(\,\left\{\mathrm{O1}, \mathrm{O2}, \mathrm{O5}\right\},\right.$&$\left.\left\{\el{\mathrm{P3}}{0.5}\right\}\,\right)$\\
  5: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}, \mathrm{O2}, \mathrm{O5}\right\},\right.$&$\left.\left\{\mathrm{P3}\right\}\,\right)$\\
  6: &$\left(\,\left\{\mathrm{O1}, \mathrm{O4}, \mathrm{O5}\right\},\right.$&$\left.\left\{\el{\mathrm{P4}}{0.5}\right\}\,\right)$\\
  7: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}, \mathrm{O4}, \el{\mathrm{O5}}{0.5}\right\},\right.$&$\left.\left\{\mathrm{P4}\right\}\,\right)$\\
  8: &$\left(\,\left\{\mathrm{O3}, \mathrm{O6}\right\},\right.$&$\left.\left\{\el{\mathrm{P1}}{0.5}, \el{\mathrm{P2}}{0.5}, \mathrm{P6}\right\}\,\right)$\\
  9: &$\left(\,\left\{\mathrm{O2}\right\},\right.$&$\left.\left\{\mathrm{P1}, \mathrm{P2}, \mathrm{P3}\right\}\,\right)$\\
  10: &$\left(\,\left\{\el{\mathrm{O3}}{0.5}, \el{\mathrm{O6}}{0.5}\right\},\right.$&$\left.\left\{\mathrm{P1}, \mathrm{P2}, \mathrm{P6}\right\}\,\right)$\\
  11: &$\left(\,\left\{\mathrm{O1}, \mathrm{O5}\right\},\right.$&$\left.\left\{\el{\mathrm{P3}}{0.5}, \el{\mathrm{P4}}{0.5}\right\}\,\right)$\\
  12: &$\left(\,\left\{\mathrm{O1}\right\},\right.$&$\left.\left\{\el{\mathrm{P3}}{0.5}, \el{\mathrm{P4}}{0.5}, \mathrm{P5}\right\}\,\right)$\\
  13: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}, \mathrm{O5}\right\},\right.$&$\left.\left\{\mathrm{P3}, \el{\mathrm{P4}}{0.5}\right\}\,\right)$\\
  14: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}, \el{\mathrm{O5}}{0.5}\right\},\right.$&$\left.\left\{\mathrm{P3}, \mathrm{P4}\right\}\,\right)$\\
  15: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}\right\},\right.$&$\left.\left\{\mathrm{P3}, \mathrm{P4}, \mathrm{P5}\right\}\,\right)$\\
  16: &$\left(\,\left\{\mathrm{O1}, \mathrm{O4}\right\},\right.$&$\left.\left\{\el{\mathrm{P4}}{0.5}, \el{\mathrm{P5}}{0.5}\right\}\,\right)$\\
  17: &$\left(\,\left\{\mathrm{O1}, \el{\mathrm{O4}}{0.5}\right\},\right.$&$\left.\left\{\el{\mathrm{P4}}{0.5}, \mathrm{P5}\right\}\,\right)$\\
  18: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}, \mathrm{O4}\right\},\right.$&$\left.\left\{\mathrm{P4}, \el{\mathrm{P5}}{0.5}\right\}\,\right)$\\
  19: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}, \el{\mathrm{O4}}{0.5}\right\},\right.$&$\left.\left\{\mathrm{P4}, \mathrm{P5}\right\}\,\right)$\\
  20: &$\left(\,\ensuremath{\varnothing},\right.$&$\left.\left\{\mathrm{P1}, \mathrm{P2}, \mathrm{P3}, \mathrm{P4}, \mathrm{P5}, \mathrm{P6}\right\}\,\right)$\\
  \end{longtable*}
  \begin{longtable*}{l}
  $\left(\,\left\{\mathrm{O1}, \mathrm{O2}, \mathrm{O3}, \mathrm{O4}, \mathrm{O5}, \mathrm{O6}\right\},\right.$\,$\left.\ensuremath{\varnothing}\,\right)$\\
  $\left(\,\left\{\mathrm{O2}, \mathrm{O3}, \mathrm{O6}\right\},\right.$\,$\left.\left\{\el{\mathrm{P1}}{0.5}, \el{\mathrm{P2}}{0.5}\right\}\,\right)$\\
  $\left(\,\left\{\mathrm{O2}, \el{\mathrm{O3}}{0.5}, \el{\mathrm{O6}}{0.5}\right\},\right.$\,$\left.\left\{\mathrm{P1}, \mathrm{P2}\right\}\,\right)$\\
  $\left(\,\left\{\mathrm{O1}, \mathrm{O2}, \mathrm{O5}\right\},\right.$\,$\left.\left\{\el{\mathrm{P3}}{0.5}\right\}\,\right)$\\
  $\left(\,\left\{\el{\mathrm{O1}}{0.5}, \mathrm{O2}, \mathrm{O5}\right\},\right.$\,$\left.\left\{\mathrm{P3}\right\}\,\right)$\\
  $\left(\,\left\{\mathrm{O1}, \mathrm{O4}, \mathrm{O5}\right\},\right.$\,$\left.\left\{\el{\mathrm{P4}}{0.5}\right\}\,\right)$\\
  $\left(\,\left\{\el{\mathrm{O1}}{0.5}, \mathrm{O4}, \el{\mathrm{O5}}{0.5}\right\},\right.$\,$\left.\left\{\mathrm{P4}\right\}\,\right)$\\
  $\left(\,\left\{\mathrm{O3}, \mathrm{O6}\right\},\right.$\,$\left.\left\{\el{\mathrm{P1}}{0.5}, \el{\mathrm{P2}}{0.5}, \mathrm{P6}\right\}\,\right)$\\
  $\left(\,\left\{\mathrm{O2}\right\},\right.$\,$\left.\left\{\mathrm{P1}, \mathrm{P2}, \mathrm{P3}\right\}\,\right)$\\
  $\left(\,\left\{\el{\mathrm{O3}}{0.5}, \el{\mathrm{O6}}{0.5}\right\},\right.$\,$\left.\left\{\mathrm{P1}, \mathrm{P2}, \mathrm{P6}\right\}\,\right)$\\
  $\left(\,\left\{\mathrm{O1}, \mathrm{O5}\right\},\right.$\,$\left.\left\{\el{\mathrm{P3}}{0.5}, \el{\mathrm{P4}}{0.5}\right\}\,\right)$\\
  $\left(\,\left\{\mathrm{O1}\right\},\right.$\,$\left.\left\{\el{\mathrm{P3}}{0.5}, \el{\mathrm{P4}}{0.5}, \mathrm{P5}\right\}\,\right)$\\
  $\left(\,\left\{\el{\mathrm{O1}}{0.5}, \mathrm{O5}\right\},\right.$\,$\left.\left\{\mathrm{P3}, \el{\mathrm{P4}}{0.5}\right\}\,\right)$\\
  $\left(\,\left\{\el{\mathrm{O1}}{0.5}, \el{\mathrm{O5}}{0.5}\right\},\right.$\,$\left.\left\{\mathrm{P3}, \mathrm{P4}\right\}\,\right)$\\
  $\left(\,\left\{\el{\mathrm{O1}}{0.5}\right\},\right.$\,$\left.\left\{\mathrm{P3}, \mathrm{P4}, \mathrm{P5}\right\}\,\right)$\\
  $\left(\,\left\{\mathrm{O1}, \mathrm{O4}\right\},\right.$\,$\left.\left\{\el{\mathrm{P4}}{0.5}, \el{\mathrm{P5}}{0.5}\right\}\,\right)$\\
  $\left(\,\left\{\mathrm{O1}, \el{\mathrm{O4}}{0.5}\right\},\right.$\,$\left.\left\{\el{\mathrm{P4}}{0.5}, \mathrm{P5}\right\}\,\right)$\\
  $\left(\,\left\{\el{\mathrm{O1}}{0.5}, \mathrm{O4}\right\},\right.$\,$\left.\left\{\mathrm{P4}, \el{\mathrm{P5}}{0.5}\right\}\,\right)$\\
  $\left(\,\left\{\el{\mathrm{O1}}{0.5}, \el{\mathrm{O4}}{0.5}\right\},\right.$\,$\left.\left\{\mathrm{P4}, \mathrm{P5}\right\}\,\right)$\\
  $\left(\,\ensuremath{\varnothing},\right.$\,$\left.\left\{\mathrm{P1}, \mathrm{P2}, \mathrm{P3}, \mathrm{P4}, \mathrm{P5}, \mathrm{P6}\right\}\,\right)$\\
  \end{longtable*}
  \begin{longtable*}{llllll}
  1: &$\left(\,\left\{\mathrm{O1}, \mathrm{O2}, \mathrm{O3}, \mathrm{O4}, \mathrm{O5}, \mathrm{O6}\right\},\right.$&$\left.\ensuremath{\varnothing}\,\right)$ & 11: &$\left(\,\left\{\mathrm{O1}, \mathrm{O5}\right\},\right.$&$\left.\left\{\el{\mathrm{P3}}{0.5}, \el{\mathrm{P4}}{0.5}\right\}\,\right)$\\
  2: &$\left(\,\left\{\mathrm{O2}, \mathrm{O3}, \mathrm{O6}\right\},\right.$&$\left.\left\{\el{\mathrm{P1}}{0.5}, \el{\mathrm{P2}}{0.5}\right\}\,\right)$ & 12: &$\left(\,\left\{\mathrm{O1}\right\},\right.$&$\left.\left\{\el{\mathrm{P3}}{0.5}, \el{\mathrm{P4}}{0.5}, \mathrm{P5}\right\}\,\right)$\\
  3: &$\left(\,\left\{\mathrm{O2}, \el{\mathrm{O3}}{0.5}, \el{\mathrm{O6}}{0.5}\right\},\right.$&$\left.\left\{\mathrm{P1}, \mathrm{P2}\right\}\,\right)$ & 13: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}, \mathrm{O5}\right\},\right.$&$\left.\left\{\mathrm{P3}, \el{\mathrm{P4}}{0.5}\right\}\,\right)$\\
  4: &$\left(\,\left\{\mathrm{O1}, \mathrm{O2}, \mathrm{O5}\right\},\right.$&$\left.\left\{\el{\mathrm{P3}}{0.5}\right\}\,\right)$ & 14: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}, \el{\mathrm{O5}}{0.5}\right\},\right.$&$\left.\left\{\mathrm{P3}, \mathrm{P4}\right\}\,\right)$\\
  5: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}, \mathrm{O2}, \mathrm{O5}\right\},\right.$&$\left.\left\{\mathrm{P3}\right\}\,\right)$ & 15: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}\right\},\right.$&$\left.\left\{\mathrm{P3}, \mathrm{P4}, \mathrm{P5}\right\}\,\right)$\\
  6: &$\left(\,\left\{\mathrm{O1}, \mathrm{O4}, \mathrm{O5}\right\},\right.$&$\left.\left\{\el{\mathrm{P4}}{0.5}\right\}\,\right)$ & 16: &$\left(\,\left\{\mathrm{O1}, \mathrm{O4}\right\},\right.$&$\left.\left\{\el{\mathrm{P4}}{0.5}, \el{\mathrm{P5}}{0.5}\right\}\,\right)$\\
  7: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}, \mathrm{O4}, \el{\mathrm{O5}}{0.5}\right\},\right.$&$\left.\left\{\mathrm{P4}\right\}\,\right)$ & 17: &$\left(\,\left\{\mathrm{O1}, \el{\mathrm{O4}}{0.5}\right\},\right.$&$\left.\left\{\el{\mathrm{P4}}{0.5}, \mathrm{P5}\right\}\,\right)$\\
  8: &$\left(\,\left\{\mathrm{O3}, \mathrm{O6}\right\},\right.$&$\left.\left\{\el{\mathrm{P1}}{0.5}, \el{\mathrm{P2}}{0.5}, \mathrm{P6}\right\}\,\right)$ & 18: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}, \mathrm{O4}\right\},\right.$&$\left.\left\{\mathrm{P4}, \el{\mathrm{P5}}{0.5}\right\}\,\right)$\\
  9: &$\left(\,\left\{\mathrm{O2}\right\},\right.$&$\left.\left\{\mathrm{P1}, \mathrm{P2}, \mathrm{P3}\right\}\,\right)$ & 19: &$\left(\,\left\{\el{\mathrm{O1}}{0.5}, \el{\mathrm{O4}}{0.5}\right\},\right.$&$\left.\left\{\mathrm{P4}, \mathrm{P5}\right\}\,\right)$\\
  10: &$\left(\,\left\{\el{\mathrm{O3}}{0.5}, \el{\mathrm{O6}}{0.5}\right\},\right.$&$\left.\left\{\mathrm{P1}, \mathrm{P2}, \mathrm{P6}\right\}\,\right)$ & 20: &$\left(\,\ensuremath{\varnothing},\right.$&$\left.\left\{\mathrm{P1}, \mathrm{P2}, \mathrm{P3}, \mathrm{P4}, \mathrm{P5}, \mathrm{P6}\right\}\,\right)$\\
  \end{longtable*}
  \begin{longtable*}{lll}
  1: &$\left(\,\left\{\mathrm{O2}, \mathrm{O3}, \mathrm{O6}\right\},\right.$&$\left.\left\{\el{\mathrm{P1}}{0.5}, \el{\mathrm{P2}}{0.5}\right\}\,\right)$\\
  \end{longtable*}
  \begin{longtable*}{lll}
  1: &$\left(\,\left\{\mathrm{O1}, \mathrm{O2}, \mathrm{O3}, \mathrm{O4}, \mathrm{O5}, \mathrm{O6}\right\},\right.$&$\left.\ensuremath{\varnothing}\,\right)$\\
  2: &$\left(\,\left\{\mathrm{O2}, \mathrm{O3}, \mathrm{O6}\right\},\right.$&$\left.\left\{\el{\mathrm{P1}}{0.5}, \el{\mathrm{P2}}{0.5}\right\}\,\right)$\\
  3: &$\left(\,\left\{\mathrm{O2}, \el{\mathrm{O3}}{0.5}, \el{\mathrm{O6}}{0.5}\right\},\right.$&$\left.\left\{\mathrm{P1}, \mathrm{P2}\right\}\,\right)$\\
  \end{longtable*}
  Apriori
  
  Parameter specification:
   confidence minval smax arem  aval originalSupport maxtime support minlen
            1    0.1    1 none FALSE            TRUE       5     0.1      1
   maxlen target  ext
        4  rules TRUE
  
  Algorithmic control:
   filter tree heap memopt load sort verbose
      0.1 TRUE TRUE  FALSE TRUE    2    TRUE
  
  Absolute minimum support count: 812 
  
  set item appearances ...[0 item(s)] done [0.00s].
  set transactions ...[114 item(s), 8124 transaction(s)] done [0.01s].
  sorting and recoding items ... [53 item(s)] done [0.00s].
  creating transaction tree ... done [0.00s].
  checking subsets of size 1 2 3 4 done [0.12s].
  writing ... [20219 rule(s)] done [0.00s].
  creating S4 object  ... done [0.01s].
  \begin{table} \caption{}\label{} \centering \begin{tabular}{r|cccccc}
    & $\mathrm{P1}$ & $\mathrm{P2}$ & $\mathrm{P3}$ & $\mathrm{P4}$ & $\mathrm{P5}$ & $\mathrm{P6}$\\ 
   \hline 
   $\mathrm{O1}$ & $0$ & $1$ & $0.5$ & $0.5$ & $1$ & $0$ \\
  $\mathrm{O2}$ & $1$ & $1$ & $1$ & $0$ & $0$ & $0$ \\
  $\mathrm{O3}$ & $0.5$ & $1$ & $0$ & $0$ & $0$ & $0$ \\
  $\mathrm{O4}$ & $0$ & $1$ & $0$ & $1$ & $0.5$ & $0$ \\
  $\mathrm{O5}$ & $0$ & $1$ & $1$ & $0.5$ & $0$ & $0$ \\
  $\mathrm{O6}$ & $0.5$ & $1$ & $0$ & $0$ & $0$ & $0$ 
   \end{tabular}
   \end{table}\begin{table} \caption{}\label{} \centering \begin{tabular}{r|cccccc}
    & $\mathrm{P1}$ & $\mathrm{P2}$ & $\mathrm{P3}$ & $\mathrm{P4}$ & $\mathrm{P5}$ & $\mathrm{P6}$\\ 
   \hline 
   $\mathrm{O1}$ & $0$ & $1$ & $\sfrac{1}{2}$ & $\sfrac{1}{2}$ & $1$ & $0$ \\
  $\mathrm{O2}$ & $1$ & $1$ & $1$ & $0$ & $0$ & $0$ \\
  $\mathrm{O3}$ & $\sfrac{1}{2}$ & $1$ & $0$ & $0$ & $0$ & $0$ \\
  $\mathrm{O4}$ & $0$ & $1$ & $0$ & $1$ & $\sfrac{1}{2}$ & $0$ \\
  $\mathrm{O5}$ & $0$ & $1$ & $1$ & $\sfrac{1}{2}$ & $0$ & $0$ \\
  $\mathrm{O6}$ & $\sfrac{1}{2}$ & $1$ & $0$ & $0$ & $0$ & $0$ 
   \end{tabular}
   \end{table}\begin{table} \caption{}\label{} \centering \begin{tabulary}{R|CCCCCCC}
    & $\mathrm{small}$ & $\mathrm{medium}$ & $\mathrm{large}$ & $\mathrm{near}$ & $\mathrm{far}$ & $\mathrm{moon}$ & $\mathrm{no\_moon}$\\ 
   \hline 
   $\mathrm{Mercury}$ & $\times$ &  &  & $\times$ &  &  & $\times$ \\
  $\mathrm{Venus}$ & $\times$ &  &  & $\times$ &  &  & $\times$ \\
  $\mathrm{Earth}$ & $\times$ &  &  & $\times$ &  & $\times$ &  \\
  $\mathrm{Mars}$ & $\times$ &  &  & $\times$ &  & $\times$ &  \\
  $\mathrm{Jupiter}$ &  &  & $\times$ &  & $\times$ & $\times$ &  \\
  $\mathrm{Saturn}$ &  &  & $\times$ &  & $\times$ & $\times$ &  \\
  $\mathrm{Uranus}$ &  & $\times$ &  &  & $\times$ & $\times$ &  \\
  $\mathrm{Neptune}$ &  & $\times$ &  &  & $\times$ & $\times$ &  \\
  $\mathrm{Pluto}$ & $\times$ &  &  &  & $\times$ & $\times$ &  
   \end{tabulary}
   \end{table}Added concept:
  {}
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  10
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Finished.
  Added concept:
  {}
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Finished.
  Added concept:
  {}
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  10
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Added concept:
  Finished.
  FormalContext with 20 objects and 20 attributes.
       ATT_1  ATT_2  ATT_3  ATT_4  ATT_5  ATT_6  ATT_7  ATT_8  ATT_9  ATT_10  ATT_11  ATT_12  
    O1          X      X             X      X             X      X       X               X    
    O2                                      X                                            X    
    O3                 X                                  X              X       X            
    O4   X                    X             X                            X               X    
    O5   X      X      X             X      X      X      X                      X       X    
    O6                 X      X             X             X      X               X       X    
    O7          X      X             X             X      X      X       X               X    
    O8                 X      X             X             X      X       X               X    
    O9   X      X                    X      X                            X                    
   O10          X                           X      X                                          
  Other attributes are: ATT_13, ATT_14, ATT_15, ATT_16, ATT_17, ATT_18, ... 
  Apriori
  
  Parameter specification:
   confidence minval smax arem  aval originalSupport maxtime support minlen
            1    0.1    1 none FALSE            TRUE       5     0.1      1
   maxlen target  ext
        4  rules TRUE
  
  Algorithmic control:
   filter tree heap memopt load sort verbose
      0.1 TRUE TRUE  FALSE TRUE    2    TRUE
  
  Absolute minimum support count: 812 
  
  set item appearances ...[0 item(s)] done [0.00s].
  set transactions ...[114 item(s), 8124 transaction(s)] done [0.01s].
  sorting and recoding items ... [53 item(s)] done [0.00s].
  creating transaction tree ... done [0.00s].
  checking subsets of size 1 2 3 4 done [0.13s].
  writing ... [20219 rule(s)] done [0.00s].
  creating S4 object  ... done [0.01s].
  Implication set with 10 implications.
  Rule 1: {P6 [0.5]} -> {P1 [0.5], P2 [0.5], P6}
  Rule 2: {P5 [0.5]} -> {P4 [0.5]}
  Rule 3: {P3 [0.5], P4 [0.5], P5 [0.5]} -> {P2, P5}
  Rule 4: {P3 [0.5], P4} -> {P3}
  Rule 5: {P2 [0.5], P4 [0.5]} -> {P2, P3 [0.5], P5}
  Rule 6: {P2 [0.5], P3 [0.5]} -> {P2}
  Rule 7: {P2, P3, P4 [0.5], P5} -> {P4}
  Rule 8: {P1 [0.5], P4 [0.5]} -> {P1, P2, P3, P4, P5, P6}
  Rule 9: {P1 [0.5], P3 [0.5]} -> {P1, P2, P3}
  Rule 10: {P1 [0.5], P2} -> {P1}
  \begin{longtable*}{rrcl}
  1: &\left\{\el{\mathrm{P6}}{0.5}\right\}&\ensuremath{\Rightarrow}&\left\{\el{\mathrm{P1}}{0.5}, \el{\mathrm{P2}}{0.5}, \mathrm{P6}\right\}\\
  2: &\left\{\el{\mathrm{P5}}{0.5}\right\}&\ensuremath{\Rightarrow}&\left\{\el{\mathrm{P4}}{0.5}\right\}\\
  3: &\left\{\el{\mathrm{P3}}{0.5}, \el{\mathrm{P4}}{0.5}, \el{\mathrm{P5}}{0.5}\right\}&\ensuremath{\Rightarrow}&\left\{\mathrm{P2}, \mathrm{P5}\right\}\\
  4: &\left\{\el{\mathrm{P3}}{0.5}, \mathrm{P4}\right\}&\ensuremath{\Rightarrow}&\left\{\mathrm{P3}\right\}\\
  5: &\left\{\el{\mathrm{P2}}{0.5}, \el{\mathrm{P4}}{0.5}\right\}&\ensuremath{\Rightarrow}&\left\{\mathrm{P2}, \el{\mathrm{P3}}{0.5}, \mathrm{P5}\right\}\\
  6: &\left\{\el{\mathrm{P2}}{0.5}, \el{\mathrm{P3}}{0.5}\right\}&\ensuremath{\Rightarrow}&\left\{\mathrm{P2}\right\}\\
  7: &\left\{\mathrm{P2}, \mathrm{P3}, \el{\mathrm{P4}}{0.5}, \mathrm{P5}\right\}&\ensuremath{\Rightarrow}&\left\{\mathrm{P4}\right\}\\
  8: &\left\{\el{\mathrm{P1}}{0.5}, \el{\mathrm{P4}}{0.5}\right\}&\ensuremath{\Rightarrow}&\left\{\mathrm{P1}, \mathrm{P2}, \mathrm{P3}, \mathrm{P4}, \mathrm{P5}, \mathrm{P6}\right\}\\
  9: &\left\{\el{\mathrm{P1}}{0.5}, \el{\mathrm{P3}}{0.5}\right\}&\ensuremath{\Rightarrow}&\left\{\mathrm{P1}, \mathrm{P2}, \mathrm{P3}\right\}\\
  10: &\left\{\el{\mathrm{P1}}{0.5}, \mathrm{P2}\right\}&\ensuremath{\Rightarrow}&\left\{\mathrm{P1}\right\}\\
  \end{longtable*}Pass # 1 
  numeric(0)
  {CapColor=white, GillAttached=free, ColorAboveRing=white, ColorBelowRing=white,
    VeilType=partial, VeilColor=white}
  
  Pass # 1 
  [1] 89 90 91 92
  {CapColor=white, GillAttached=free, ColorAboveRing=white, ColorBelowRing=white,
    VeilType=partial, VeilColor=white}
  
  Pass # 2 
  numeric(0)
  {CapColor=white, GillAttached=free, ColorAboveRing=white, ColorBelowRing=white,
    VeilType=partial, VeilColor=white}
  
  Testing Composition 
  Testing Generalization 
  Testing Reduction 
  Testing Simplification 
  Testing Right Simplification 
  Testing Reorder 
  
  
  ==================
  --- DO-SP Pass #1 ---
  ==================
  Before Saturation:
    - {d} -> {c}
    - {b} -> {a}
    - {a, c, d} -> {b}
  Before Pruning:
    - {d} -> {c}
    - {b} -> {a}
    - {a, d} -> {b}
    - {a, c, d} -> {b}
  After pass:
    - {d} -> {c}
    - {b} -> {a}
    - {a, d} -> {b}
  Algorithm finished using logic: Zadeh 
  $execution_time
  [1] 0.000308674
  
  $iterations
  [1] 1
  
  $iterations_saturate
  [1] 2
  
  $iterations_prune
  [1] 2
  
  $pi_calculations
  [1] 34
  
  $add_derived_calls
  [1] 16
  
  $final_implication_count
  [1] 3
  
  $worklist_max_size
  [1] 0
  
  Algorithm finished using logic: Zadeh 
  $execution_time
  [1] 0.000119069
  
  $iterations
  [1] 0
  
  $iterations_saturate
  [1] 2
  
  $iterations_prune
  [1] 2
  
  $pi_calculations
  [1] 34
  
  $add_derived_calls
  [1] 16
  
  $final_implication_count
  [1] 3
  
  $worklist_max_size
  [1] 0
  
  Algorithm finished using logic: Zadeh 
  $execution_time
  [1] 0.008171534
  
  $iterations
  [1] 6
  
  $iterations_saturate
  [1] 0
  
  $iterations_prune
  [1] 1
  
  $pi_calculations
  [1] 59
  
  $add_derived_calls
  [1] 28
  
  $final_implication_count
  [1] 3
  
  $worklist_max_size
  [1] 3
  
  Algorithm finished using logic: Zadeh 
  $execution_time
  [1] 8.2754e-05
  
  $iterations
  [1] 5
  
  $iterations_saturate
  [1] 0
  
  $iterations_prune
  [1] 1
  
  $pi_calculations
  [1] 27
  
  $add_derived_calls
  [1] 12
  
  $final_implication_count
  [1] 3
  
  $worklist_max_size
  [1] 3
  
  FormalContext with 5 objects and 5 attributes.
  # A tibble: 5 × 5
    Grant Intern Agreement                  Attitude     Score
    <chr>  <dbl> <chr>                      <chr>        <dbl>
  1 yes        7 agree                      working        2.7
  2 yes       10 strongly agree             hard working   4.1
  3 no         5 neither agree nor disagree working        3.6
  4 yes        8 agree                      working        4  
  5 no         4 disagree                   lazy           3.6
        [,1]
   [1,]    1
   [2,]    1
   [3,]    1
   [4,]    1
   [5,]    1
   [6,]    1
   [7,]    1
   [8,]    1
   [9,]    1
  [10,]    1
  Saving _problems/test-visualization-6.R
  Saving _problems/test-visualization-9.R
  Saving _problems/test-visualization-27.R
  Saving _problems/test-visualization-28.R
  [ FAIL 4 | WARN 0 | SKIP 4 | PASS 621 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-concept_lattice.R:39:3', 'test-concept_lattice.R:53:3',
    'test-coverage_sniper.R:9:3', 'test-formal_context.R:261:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-visualization.R:6:3'): Lattice plotting runs without error ───
  `fc$concepts$plot(mode = "reduced", method = "sugiyama")` threw an error.
  Message: The package 'ggraph' is required for plotting the lattice.
  Please install it using: install.packages('ggraph')
  Class:   simpleError/error/condition
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-visualization.R:6:3
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─fc$concepts$plot(mode = "reduced", method = "sugiyama")
   7.   └─fcaR::lattice_plot(...)
   8.     └─fcaR:::check_needed_pkg("ggraph", "plotting the lattice")
  ── Failure ('test-visualization.R:9:3'): Lattice plotting runs without error ───
  `fc$concepts$plot(mode = "empty", method = "force")` threw an error.
  Message: The package 'ggraph' is required for plotting the lattice.
  Please install it using: install.packages('ggraph')
  Class:   simpleError/error/condition
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-visualization.R:9:3
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─fc$concepts$plot(mode = "empty", method = "force")
   7.   └─fcaR::lattice_plot(...)
   8.     └─fcaR:::check_needed_pkg("ggraph", "plotting the lattice")
  ── Failure ('test-visualization.R:26:5'): Lattice plotting handles all modes and methods ──
  `p <- fc$concepts$plot(mode = m, method = "sugiyama")` threw an error.
  Message: The package 'ggraph' is required for plotting the lattice.
  Please install it using: install.packages('ggraph')
  Class:   simpleError/error/condition
  Failed plotting with mode: reduced
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-visualization.R:26:5
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─fc$concepts$plot(mode = m, method = "sugiyama")
   7.   └─fcaR::lattice_plot(...)
   8.     └─fcaR:::check_needed_pkg("ggraph", "plotting the lattice")
  ── Error ('test-visualization.R:28:5'): Lattice plotting handles all modes and methods ──
  <objectNotFoundError/error/condition>
  Error in `eval(code, test_env)`: object 'p' not found
  Backtrace:
      ▆
   1. └─testthat::expect_s3_class(p, "ggplot") at test-visualization.R:28:5
   2.   └─testthat::quasi_label(enquo(object))
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  
  [ FAIL 4 | WARN 0 | SKIP 4 | PASS 621 ]
  Error:
  ! Test failures.
  Execution halted