• using R version 4.5.1 (2025-06-13)
  • using platform: x86_64-apple-darwin20
  • R was compiled by     Apple clang version 14.0.0 (clang-1400.0.29.202)     GNU Fortran (GCC) 14.2.0
  • running under: macOS Ventura 13.3.1
  • using session charset: UTF-8
  • checking for file ‘Tivy/DESCRIPTION’ ... OK
  • checking extension type ... Package
  • this is package ‘Tivy’ version ‘0.1.0’
  • package encoding: UTF-8
  • checking package namespace information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking if there is a namespace ... OK
  • checking for executable files ... OK
  • checking for hidden files and directories ... OK
  • checking for portable file names ... OK
  • checking for sufficient/correct file permissions ... OK
  • checking whether package ‘Tivy’ can be installed ... [7s/17s] OK See the install log for details.
  • checking installed package size ... OK
  • checking package directory ... OK
  • checking ‘build’ directory ... OK
  • checking DESCRIPTION meta-information ... OK
  • checking top-level files ... OK
  • checking for left-over files ... OK
  • checking index information ... OK
  • checking package subdirectories ... OK
  • checking code files for non-ASCII characters ... OK
  • checking R files for syntax errors ... OK
  • checking whether the package can be loaded ... [1s/2s] OK
  • checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
  • checking whether the package can be unloaded cleanly ... [1s/2s] OK
  • checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
  • checking whether the namespace can be unloaded cleanly ... [1s/2s] OK
  • checking loading without being on the library search path ... [1s/2s] OK
  • checking dependencies in R code ... OK
  • checking S3 generic/method consistency ... OK
  • checking replacement functions ... OK
  • checking foreign function calls ... OK
  • checking R code for possible problems ... [7s/10s] OK
  • checking Rd files ... [0s/1s] OK
  • checking Rd metadata ... OK
  • checking Rd cross-references ... OK
  • checking for missing documentation entries ... OK
  • checking for code/documentation mismatches ... OK
  • checking Rd \usage sections ... OK
  • checking Rd contents ... OK
  • checking for unstated dependencies in examples ... OK
  • checking contents of ‘data’ directory ... OK
  • checking data for non-ASCII characters ... [0s/0s] OK
  • checking LazyData ... OK
  • checking data for ASCII and uncompressed saves ... OK
  • checking installed files from ‘inst/doc’ ... OK
  • checking files in ‘vignettes’ ... OK
  • checking examples ... [2s/3s] OK
  • checking for unstated dependencies in ‘tests’ ... OK
  • checking tests ... [13s/81s] ERROR   Running ‘testthat.R’ [13s/81s] Running the tests in ‘tests/testthat.R’ failed. Complete output:   > library(testthat)   > library(Tivy)   >   > test_check("Tivy")   [ FAIL 11 | WARN 172 | SKIP 0 | PASS 383 ]      ══ Failed tests ════════════════════════════════════════════════════════════════   ── Failure ('test-coordinate-functions.R:27:3'): dms_to_decimal handles different formats ──   all(!is.na(result)) is not TRUE      `actual`: FALSE   `expected`: TRUE   ── Failure ('test-coordinate-functions.R:28:3'): dms_to_decimal handles different formats ──   all(result < 0) is not TRUE      `actual`: <NA>   `expected`: TRUE   ── Failure ('test-coordinate-functions.R:41:3'): dms_to_decimal corrects coordinate errors ──   `dms_to_decimal(coords_with_errors, correct_errors = FALSE)` did not produce any warnings.   ── Failure ('test-coordinate-functions.R:262:3'): coordinate functions work together ──   `distance` has type 'logical', not 'double'.   ── Failure ('test-coordinate-functions.R:264:3'): coordinate functions work together ──   !is.na(distance) is not TRUE      `actual`: FALSE   `expected`: TRUE   ── Failure ('test-coordinate-functions.R:265:3'): coordinate functions work together ──   distance >= 0 is not TRUE      `actual`: <NA>   `expected`: TRUE   ── Error ('test-visualization.R:55:3'): plot_fishing_zones creates static plots correctly ──   Error in `if (abs(first_point[[lat_name]] - lat_min) > 1e-04) {       min_point <- interpolate_point(line, lat_min, lat_name, lon_name)       limit_points <- rbind(limit_points, min_point)   }`: missing value where TRUE/FALSE needed   Backtrace:       ▆    1. └─Tivy::plot_fishing_zones(...) at test-visualization.R:55:3    2. └─Tivy:::prepare_polygons(data = data, coastline = coastline, coast_parallels = parallels)    3. └─Tivy:::extract_points_between_latitudes(...)   ── Error ('test-visualization.R:72:3'): plot_fishing_zones creates interactive plots correctly ──   Error in `if (abs(first_point[[lat_name]] - lat_min) > 1e-04) {       min_point <- interpolate_point(line, lat_min, lat_name, lon_name)       limit_points <- rbind(limit_points, min_point)   }`: missing value where TRUE/FALSE needed   Backtrace:       ▆    1. └─Tivy::plot_fishing_zones(...) at test-visualization.R:72:3    2. └─Tivy:::prepare_polygons(data = data, coastline = coastline, coast_parallels = parallels)    3. └─Tivy:::extract_points_between_latitudes(...)   ── Error ('test-visualization.R:108:3'): plot_fishing_zones handles custom parameters ──   Error in `if (abs(first_point[[lat_name]] - lat_min) > 1e-04) {       min_point <- interpolate_point(line, lat_min, lat_name, lon_name)       limit_points <- rbind(limit_points, min_point)   }`: missing value where TRUE/FALSE needed   Backtrace:       ▆    1. └─Tivy::plot_fishing_zones(...) at test-visualization.R:108:3    2. └─Tivy:::prepare_polygons(data = data, coastline = coastline, coast_parallels = parallels)    3. └─Tivy:::extract_points_between_latitudes(...)   ── Error ('test-visualization.R:127:3'): plot_fishing_zones uses default coastline when NULL ──   Error in `if (abs(first_point[[lat_name]] - lat_min) > 1e-04) {       min_point <- interpolate_point(line, lat_min, lat_name, lon_name)       limit_points <- rbind(limit_points, min_point)   }`: missing value where TRUE/FALSE needed   Backtrace:       ▆    1. └─Tivy::plot_fishing_zones(...) at test-visualization.R:127:3    2. └─Tivy:::prepare_polygons(data = data, coastline = coastline, coast_parallels = parallels)    3. └─Tivy:::extract_points_between_latitudes(...)   ── Error ('test-visualization.R:506:3'): visualization workflow integration ────   Error in `if (abs(first_point[[lat_name]] - lat_min) > 1e-04) {       min_point <- interpolate_point(line, lat_min, lat_name, lon_name)       limit_points <- rbind(limit_points, min_point)   }`: missing value where TRUE/FALSE needed   Backtrace:       ▆    1. └─Tivy::plot_fishing_zones(...) at test-visualization.R:506:3    2. └─Tivy:::prepare_polygons(data = data, coastline = coastline, coast_parallels = parallels)    3. └─Tivy:::extract_points_between_latitudes(...)      [ FAIL 11 | WARN 172 | SKIP 0 | PASS 383 ]   Error: Test failures   Execution halted
  • checking for unstated dependencies in vignettes ... OK
  • checking package vignettes ... OK
  • checking re-building of vignette outputs ... [13s/13s] OK
  • checking PDF version of manual ... [5s/5s] OK
  • DONE Status: 1 ERROR
  • using check arguments '--no-clean-on-error '