Running ‘test-all.r’
Running the tests in ‘tests/test-all.r’ failed.
Complete output:
  > library(testthat)
  > library(dendextendRcpp)
  Loading required package: Rcpp
  Loading required package: dendextend
  
  ---------------------
  Welcome to dendextend version 1.4.0
  Type citation('dendextend') for how to cite the package.
  
  Type browseVignettes(package = 'dendextend') for the package vignette.
  The github page is: https://github.com/talgalili/dendextend/
  
  Suggestions and bug-reports can be submitted at: https://github.com/talgalili/dendextend/issues
  Or contact: <tal.galili@gmail.com>
  
  	To suppress this message use:  suppressPackageStartupMessages(library(dendextend))
  ---------------------
  
  
  Attaching package: 'dendextend'
  
  The following object is masked from 'package:stats':
  
      cutree
  
  > 
  > test_package("dendextendRcpp")
  cut_lower_fun works: .......
  get_branches_heights works: .
  heights_per_k.dendrogram works: .
  labels.dendrogram with and without Rcpp: .12.
  
  Failed -------------------------------------------------------------------------
  1. Error: Rcpp_labels_dendrogram works (@test-labels_dendrogram.r#20) ----------
  'labels.dendrogram' is not an exported object from 'namespace:dendextendRcpp'
  1: expect_identical(stats_labels.dendrogram(dend), dendextendRcpp::labels.dendrogram(dend)) at /data/gannet/ripley/R/packages/tests-devel/dendextendRcpp.Rcheck/dendextendRcpp/tests/test-labels_dendrogram.r:20
  2: identical(object, expected)
  3: dendextendRcpp::labels.dendrogram
  4: getExportedValue(pkg, name)
  5: stop(gettextf("'%s' is not an exported object from 'namespace:%s'", name, getNamespaceName(ns)), 
         call. = FALSE, domain = NA)
  
  2. Error: NA acts differently for stats vs dendextendRcpp (@test-labels_dendrogram.r#52) 
  dendrogram entries must be 1,2,..,6 (in any order), to be coercible to "hclust"
  1: as.hclust(sub_dend_iris) at /data/gannet/ripley/R/packages/tests-devel/dendextendRcpp.Rcheck/dendextendRcpp/tests/test-labels_dendrogram.r:52
  2: as.hclust.dendrogram(sub_dend_iris)
  3: stop(gettextf("dendrogram entries must be 1,2,..,%d (in any order), to be coercible to \"hclust\"", 
         n), domain = NA)
  
  DONE ===========================================================================
  Error: Test failures
  In addition: Warning message:
  Placing tests in `inst/tests/` is deprecated. Please use `tests/testthat/` instead 
  Execution halted