Skip to content

Error: "Error in valid_numeric_matrix(x): !anyNA(x) is not TRUE" #5

@aklohr

Description

@aklohr

I am getting this error repeatedly even after trying different app settings. I can confirm the previous app passed on 138 events. I'm using 1 animal that has very continuous data acquisition (avg. fix rate is ~1 hr).

Settings:
Radius for cluster search: I've tried 50 all the way up to 500 with no success
Time window: 3 days
Minimum location: 2

Image

Screenshot of my workflow:
Image

Could this be a move2 --> moveStack compatibility issue, or is it something specific to my dataset? (This dataset is private, but maybe you can reproduce the error with a different dataset?)

Logs:
2026-01-14 22:19:29.427 ERROR:
2026-01-14 22:19:29.433 ERROR: Attaching package: ‘plyr’
2026-01-14 22:19:29.434 ERROR:
2026-01-14 22:19:29.434 ERROR: The following object is masked from ‘package:purrr’:
2026-01-14 22:19:29.434 ERROR:
2026-01-14 22:19:29.434 ERROR: compact
2026-01-14 22:19:29.435 ERROR:
2026-01-14 22:19:29.435 ERROR: Loading required package: sp
2026-01-14 22:19:29.435 ERROR: Loading required package: raster
2026-01-14 22:19:33.286 ERROR: Loading required package: rgdal
2026-01-14 22:19:33.341 ERROR: Please note that rgdal will be retired during 2023,
2026-01-14 22:19:33.342 ERROR: plan transition to sf/stars/terra functions using GDAL and PROJ
2026-01-14 22:19:33.343 ERROR: at your earliest convenience.
2026-01-14 22:19:33.344 ERROR: See https://r-spatial.org/r/2022/04/12/evolution.html and https://github.com/r-spatial/evolution
2026-01-14 22:19:33.344 ERROR: rgdal: version: 1.6-5, (SVN revision 1199)
2026-01-14 22:19:33.345 ERROR: Geospatial Data Abstraction Library extensions to R successfully loaded
2026-01-14 22:19:33.345 ERROR: Loaded GDAL runtime: GDAL 3.4.1, released 2021/12/27
2026-01-14 22:19:33.346 ERROR: Path to GDAL shared files: /usr/share/gdal
2026-01-14 22:19:33.346 ERROR: GDAL binary built with GEOS: TRUE
2026-01-14 22:19:33.347 ERROR: Loaded PROJ runtime: Rel. 8.2.1, January 1st, 2022, [PJ_VERSION: 821]
2026-01-14 22:19:33.347 ERROR: Path to PROJ shared files: /home/moveapps/.local/share/proj:/usr/share/proj
2026-01-14 22:19:33.347 ERROR: PROJ CDN enabled: FALSE
2026-01-14 22:19:33.347 ERROR: Linking to sp version:1.6-0
2026-01-14 22:19:33.348 ERROR: To mute warnings of possible GDAL/OSR exportToProj4() degradation,
2026-01-14 22:19:33.349 ERROR: use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
2026-01-14 22:19:34.127 ERROR: Linking to GEOS 3.10.2, GDAL 3.4.1, PROJ 8.2.1; sf_use_s2() is TRUE
2026-01-14 22:19:34.770 ERROR:
2026-01-14 22:19:34.771 ERROR: Attaching package: ‘dplyr’
2026-01-14 22:19:34.772 ERROR:
2026-01-14 22:19:34.773 ERROR: The following objects are masked from ‘package:raster’:
2026-01-14 22:19:34.774 ERROR:
2026-01-14 22:19:34.775 ERROR: intersect, select, union
2026-01-14 22:19:34.776 ERROR:
2026-01-14 22:19:34.776 ERROR: The following objects are masked from ‘package:plyr’:
2026-01-14 22:19:34.777 ERROR:
2026-01-14 22:19:34.777 ERROR: arrange, count, desc, failwith, id, mutate, rename, summarise,
2026-01-14 22:19:34.778 ERROR: summarize
2026-01-14 22:19:34.778 ERROR:
2026-01-14 22:19:34.779 ERROR: The following objects are masked from ‘package:stats’:
2026-01-14 22:19:34.779 ERROR:
2026-01-14 22:19:34.780 ERROR: filter, lag
2026-01-14 22:19:34.780 ERROR:
2026-01-14 22:19:34.781 ERROR: The following objects are masked from ‘package:base’:
2026-01-14 22:19:34.782 ERROR:
2026-01-14 22:19:34.782 ERROR: intersect, setdiff, setequal, union
2026-01-14 22:19:34.782 ERROR:
2026-01-14 22:19:34.800 INFO : app will be started with configuration:
2026-01-14 22:19:34.802 INFO : {
2026-01-14 22:19:34.802 INFO : "search_radius": 200,
2026-01-14 22:19:34.803 INFO : "window_days": 3,
2026-01-14 22:19:34.803 INFO : "clus_min_locs": 2
2026-01-14 22:19:34.803 INFO : }
2026-01-14 22:19:36.694 INFO : [1] "ERROR: Error in valid_numeric_matrix(x): !anyNA(x) is not TRUE\n"
2026-01-14 22:19:36.694 ERROR: Error in valid_numeric_matrix(x) : !anyNA(x) is not TRUE
2026-01-14 22:19:36.696 ERROR: Calls: tryCatch -> tryCatchList -> tryCatchOne ->
2026-01-14 22:19:36.696 ERROR: In addition: Warning message:
2026-01-14 22:19:36.697 ERROR: In (function (data, search_radius, window_days, clus_min_locs, centroid_calc = "mean", :
2026-01-14 22:19:36.697 ERROR: LF060 shows no missed locations. Ensure 'failed' fix attempts are included for accurate cluster attributes.
2026-01-14 22:19:36.698 ERROR: Execution halted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions