Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(Wmisc)
  > 
  > test_check("Wmisc")
  1. Error: visualization of empty automat works (@test-automat.R#131) -----------
  'create_nodes' is not an exported object from 'namespace:DiagrammeR'
  1: expect_equal_to_reference(A$visualize(), "automat-visual-0.rds") at testthat/test-automat.R:131
  2: compare(object, reference, ...)
  3: A$visualize()
  4: DiagrammeR::create_nodes
  5: getExportedValue(pkg, name)
  6: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)), 
         call. = FALSE, domain = NA)
  
  2. Error: visualization without set state works (@test-automat.R#139) ----------
  'create_nodes' is not an exported object from 'namespace:DiagrammeR'
  1: expect_equal_to_reference(A$visualize(), "automat-visual-nostate.rds") at testthat/test-automat.R:139
  2: compare(object, reference, ...)
  3: A$visualize()
  4: DiagrammeR::create_nodes
  5: getExportedValue(pkg, name)
  6: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)), 
         call. = FALSE, domain = NA)
  
  3. Error: visualization with implicit state works (@test-automat.R#148) --------
  'create_nodes' is not an exported object from 'namespace:DiagrammeR'
  1: expect_equal_to_reference(A$visualize(), "automat-visual-implicit.rds") at testthat/test-automat.R:148
  2: compare(object, reference, ...)
  3: A$visualize()
  4: DiagrammeR::create_nodes
  5: getExportedValue(pkg, name)
  6: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)), 
         call. = FALSE, domain = NA)
  
  4. Error: visualization works (@test-automat.R#163) ----------------------------
  'create_nodes' is not an exported object from 'namespace:DiagrammeR'
  1: expect_equal_to_reference(A$visualize(), "automat-visual-1.rds") at testthat/test-automat.R:163
  2: compare(object, reference, ...)
  3: A$visualize()
  4: DiagrammeR::create_nodes
  5: getExportedValue(pkg, name)
  6: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)), 
         call. = FALSE, domain = NA)
  
  testthat results ================================================================
  OK: 132 SKIPPED: 0 FAILED: 4
  1. Error: visualization of empty automat works (@test-automat.R#131) 
  2. Error: visualization without set state works (@test-automat.R#139) 
  3. Error: visualization with implicit state works (@test-automat.R#148) 
  4. Error: visualization works (@test-automat.R#163) 
  
  Error: testthat unit tests failed
  Execution halted