Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [22s/32s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(iRfcb)
  > 
  > test_check("iRfcb")
  Installed 15 packages in 177ms
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpNXKkMj/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpuwXdnP/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmp3AuBty/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpLTwPKe/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpVXKMn4/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpY1hAr0/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmp3hzCPP/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpuSgD47/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpa7d8vv/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpLbPRea/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpinw0VI/bin/python': No such file.
  MANIFEST.txt has been created at /tmp/RtmppHY18S/mock_dir/test_data/MANIFEST.txt 
  MANIFEST.txt has been created at /tmp/RtmppHY18S/mock_dir/test_data/MANIFEST.txt 
  MANIFEST.txt has been created at /tmp/RtmppHY18S/mock_dir/test_data/MANIFEST.txt 
  Download and extraction complete.
  Reading feature files...
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmp1Qs2xs/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmplHilOm/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpjrSFyx/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmp78Fpel/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpirxbUj/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpSDeSfg/bin/python': No such file.
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpEXnU4t/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpGXWP0t/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpQJQ2k1/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpVM3Itc/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmpVAXt5i/bin/python': No such file.
  Error in python_config_impl(python) : 
    Error running '/tmp/check-CRAN-regular-hornik/cache/R/reticulate/uv/cache/builds-v0/.tmppZvLh1/bin/python': No such file.
  Listing all files...
  Copying manual files...
  
  [==================================================] 100%
  Copying feature files...
  
  [==================================================] 100%
  Copying data files...
  
  [==================================================] 100%
  Copying class2use file...
  Creating README file...
  Creating MANIFEST.txt...
  Creating zip archive...
  Zip archive created successfully: /tmp/RtmppHY18S/ifcb_zip_matlab/output/test_output.zip 
  The zip file is already smaller than the specified max size (500 MB).
  
  [==================================================] 100%
  Creating README file...
  Creating MANIFEST.txt...
  Creating zip archive...
  Zip archive created successfully: /tmp/RtmppHY18S/ifcb_zip_pngs/test_output.zip 
  
  [==================================================] 100%
  Creating README file...
  Creating MANIFEST.txt...
  Creating zip archive...
  Zip archive created successfully: /tmp/RtmppHY18S/ifcb_zip_pngs/test_output.zip 
  /tmp/RtmppHY18S/ifcb_zip_pngs/test_output.zip is larger than 1e-07 MB. Splitting the zip file into smaller parts...
  Successfully created 1 smaller zip files:
  /tmp/RtmppHY18S/ifcb_zip_pngs/test_output_part_1.zip 
  
  [==================================================] 100%
  Creating README file...
  Creating MANIFEST.txt...
  Creating zip archive...
  Zip archive created successfully: /tmp/RtmppHY18S/ifcb_zip_pngs/test_output.zip 
  [ FAIL 23 | WARN 23 | SKIP 29 | PASS 212 ]
  
  ══ Skipped tests (29) ══════════════════════════════════════════════════════════
  • On CRAN (29): 'test-ifcb_download_dashboard_data.R:4:3',
    'test-ifcb_download_test_data.R:3:3',
    'test-ifcb_extract_annotated_images.R:2:3',
    'test-ifcb_extract_annotated_images.R:60:3',
    'test-ifcb_extract_biovolumes.R:18:3', 'test-ifcb_extract_biovolumes.R:95:3',
    'test-ifcb_extract_biovolumes.R:112:3',
    'test-ifcb_extract_biovolumes.R:146:3',
    'test-ifcb_extract_biovolumes.R:182:3',
    'test-ifcb_extract_classified_images.R:2:3',
    'test-ifcb_extract_classified_images.R:67:3',
    'test-ifcb_extract_classified_images.R:103:3',
    'test-ifcb_extract_classified_images.R:138:3',
    'test-ifcb_extract_classified_images.R:172:3',
    'test-ifcb_extract_classified_images.R:211:3',
    'test-ifcb_extract_pngs.R:2:3', 'test-ifcb_get_runtime.R:60:3',
    'test-ifcb_is_diatom.R:3:3', 'test-ifcb_is_diatom.R:21:3',
    'test-ifcb_is_near_land.R:3:3', 'test-ifcb_is_near_land.R:22:3',
    'test-ifcb_is_near_land.R:42:3', 'test-ifcb_match_taxa_names.R:3:3',
    'test-ifcb_match_taxa_names.R:21:3', 'test-ifcb_py_install.R:3:3',
    'test-ifcb_py_install.R:35:3', 'test-ifcb_summarize_biovolumes.R:13:3',
    'test-ifcb_summarize_biovolumes.R:64:3', 'test-ifcb_which_basin.R:37:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-ifcb_adjust_classes.R:3:3'): ifcb_adjust_classes correctly updates the .mat classlist files ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_adjust_classes.R:3:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_annotate_batch.R:4:3'): ifcb_annotate_batch creates and updates mat files as expected ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_annotate_batch.R:4:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_annotate_batch.R:66:3'): ifcb_annotate_batch handles errors gracefully ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_annotate_batch.R:66:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_correct_annotation.R:3:3'): ifcb_correct_annotation updates class IDs correctly ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_correct_annotation.R:3:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_correct_annotation.R:67:3'): ifcb_correct_annotation works with character vector input ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_correct_annotation.R:67:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_correct_annotation.R:122:3'): ifcb_correct_annotation handles deprecated arguments correctly ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_correct_annotation.R:122:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_correct_annotation.R:181:3'): ifcb_correct_annotation handles errors gracefully ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_correct_annotation.R:181:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_create_class2use.R:3:3'): ifcb_create_class2use creates .mat file correctly ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_create_class2use.R:3:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_create_empty_manual_file.R:3:3'): ifcb_create_empty_manual_file creates MAT file with correct parameters ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_create_empty_manual_file.R:3:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_create_empty_manual_file.R:25:3'): ifcb_create_empty_manual_file handles a custom classlist correctly ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_create_empty_manual_file.R:25:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_create_empty_manual_file.R:50:3'): ifcb_create_empty_manual_file handles deprecated arguments correctly ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_create_empty_manual_file.R:50:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_get_mat_names.R:28:3'): ifcb_get_mat_names correctly retrieves variable names from a MAT file using python ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_get_mat_names.R:28:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_merge_manual.R:3:3'): ifcb_merge_manual correctly updates the .mat classlist files ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_merge_manual.R:3:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_merge_manual.R:68:3'): ifcb_merge_manual throws the correct error messages ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_merge_manual.R:68:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_prepare_whoi_plankton.R:3:3'): ifcb_prepare_whoi_plankton works ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_prepare_whoi_plankton.R:3:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_prepare_whoi_plankton.R:118:3'): ifcb_prepare_whoi_plankton throws errors ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_prepare_whoi_plankton.R:118:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_psd.R:3:3'): ifcb_psd works correctly ─────────────────────
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_psd.R:3:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_read_summary.R:40:3'): ifcb_read_summary correctly reads and processes the summary file with python ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_read_summary.R:40:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_replace_mat_values.R:3:3'): ifcb_replace_mat_values correctly updates the .mat classlist files ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_replace_mat_values.R:3:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_replace_mat_values.R:46:3'): ifcb_replace_mat_values handles missing manual folder gracefully ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_replace_mat_values.R:46:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_replace_mat_values.R:59:3'): ifcb_replace_mat_values handles missing files in manual folder gracefully ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_replace_mat_values.R:59:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_replace_mat_values.R:82:3'): ifcb_replace_mat_values creates output directory if it does not exist ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_replace_mat_values.R:82:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  ── Error ('test-ifcb_replace_mat_values.R:108:3'): ifcb_replace_mat_values handles different column indices correctly ──
  Error in `path.expand(path)`: invalid 'path' argument
  Backtrace:
      ▆
   1. └─iRfcb:::skip_if_no_scipy() at test-ifcb_replace_mat_values.R:108:3
   2.   └─reticulate::py_list_packages(python = reticulate::py_discover_config()$python) at tests/testthat/helper.R:87:3
   3.     └─reticulate:::python_info(python)
   4.       └─base::path.expand(path)
  
  [ FAIL 23 | WARN 23 | SKIP 29 | PASS 212 ]
  Error: Test failures
  Execution halted