Running ‘testthat.R’ [8s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(ontophylo)
  > 
  > test_check("ontophylo")
  [ FAIL 1 | WARN 0 | SKIP 24 | PASS 57 ]
  
  ══ Skipped tests (24) ══════════════════════════════════════════════════════════
  • Skipped. This is just an internal wrapper function. (3):
    'test_KDE_unnorm_trunc_Markov.R:5:5',
    'test_KDE_unnormalized_scalar_Markov_kernel.R:5:5', 'test_join_edges.R:5:5'
  • This function cannot be appropriately unit tested in a reasonable amount of
    time. (14): 'test_MultiScale.simmap.R:5:5', 'test_add_noise_MD.R:5:5',
    'test_derivative_KDE.R:5:5', 'test_edge_profiles4plotting.R:5:5',
    'test_estimate_band_W.R:5:5', 'test_estimate_edge_KDE.R:5:5',
    'test_estimate_edge_KDE_Markov_kernel_unnorm.R:5:5',
    'test_integrate_edge_KDE.R:5:5', 'test_loess_smoothing_KDE.R:5:5',
    'test_make_contMap_KDE.R:5:5', 'test_make_postPois_KDE.R:5:5',
    'test_normalize_KDE.R:5:5', 'test_path_hamming_over_all_edges.R:5:5',
    'test_path_hamming_over_trees_KDE.R:5:5'
  • This is a complex visualization function that cannot be appropriately unit
    tested. (4): 'test_anat_plot.R:4:5', 'test_edgeplot.R:4:5',
    'test_make_pic.R:4:5', 'test_mds_plot.R:5:5'
  • This is a plotting function that cannot be appropriately unit tested. (1):
    'test_color.bar.R:5:5'
  • This is just a simple function for reading a text file that cannot be
    appropriately unit tested. (1): 'test_Read_Simmap_Rev.R:4:5'
  • This is just a wrapper function. All dependent functions were already unit
    tested. (1): 'test_pNHPP.R:4:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_make_colors.R:15:5'): Testing make_colors() ──────────────────
  anyDuplicated(cols_maps) == 0 is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 1 | WARN 0 | SKIP 24 | PASS 57 ]
  Error: Test failures
  Execution halted