Matthijs Berends
6a7e8ce036
fix: convert Python lists to R vectors in wrapper to prevent R list coercion errors
...
Fixes #267 . Python lists passed to R functions via rpy2 are received as
R lists, not R character/numeric vectors. This causes is.mic(), is.sir(),
is.disk() etc. to return length > 1 logicals, which break R's && operator.
Added convert_to_r() helper that maps Python list/tuple to the appropriate
typed R vector (StrVector, IntVector, FloatVector) based on element types.
The r_to_python decorator now applies this to all args and kwargs before
calling the R function.
2026-03-29 14:34:58 +02:00
..
2026-03-09 11:57:36 +01:00
2026-03-09 11:57:36 +01:00
2025-04-20 12:55:31 +02:00
2026-03-29 14:34:58 +02:00
2025-05-02 19:25:19 +02:00
2026-03-09 11:57:36 +01:00
2026-03-09 11:57:36 +01:00
2024-12-06 18:01:54 +01:00
2024-02-25 14:20:43 +01:00
2024-04-24 09:58:24 +02:00
2024-02-24 15:16:52 +01:00
2024-07-16 14:53:17 +02:00
2025-04-08 15:54:30 +01:00
2025-04-08 15:54:30 +01:00
2025-04-08 15:54:30 +01:00
2025-04-08 15:54:30 +01:00
2025-04-08 15:54:30 +01:00
2025-04-08 15:54:30 +01:00
2023-10-20 14:51:48 +02:00
2024-07-16 14:53:17 +02:00
2022-12-17 14:31:33 +01:00
2025-04-20 12:55:31 +02:00
2023-01-23 15:01:21 +01:00
2025-04-20 12:55:31 +02:00
2021-01-12 22:08:04 +01:00
2022-11-14 15:20:39 +01:00
2022-11-14 15:20:39 +01:00
2023-06-22 15:10:59 +02:00
2023-06-22 15:10:59 +02:00
2025-04-20 12:55:31 +02:00
2025-03-26 17:19:17 +01:00
2025-03-18 16:35:22 +01:00
2021-11-28 23:01:26 +01:00
2021-12-11 13:41:31 +01:00
2025-03-28 11:17:49 +01:00
2024-02-25 14:20:43 +01:00
2024-09-30 18:46:55 +02:00
2023-10-20 14:51:48 +02:00
2025-04-12 11:46:42 +02:00
2025-05-04 18:50:25 +02:00
2025-03-26 17:19:17 +01:00
2025-09-18 13:58:34 +01:00
2022-08-19 12:33:14 +02:00
2025-04-20 12:55:31 +02:00
2025-04-12 11:46:42 +02:00
2024-07-16 14:53:17 +02:00
2025-07-17 17:05:41 +02:00
2025-04-12 11:46:42 +02:00
2023-02-06 11:57:22 +01:00
2023-02-12 17:10:48 +01:00
2025-05-04 16:40:08 +02:00
2025-05-04 18:50:25 +02:00
2021-03-11 21:42:30 +01:00
2023-07-08 17:30:05 +02:00
2023-07-08 17:30:05 +02:00
2024-09-29 22:17:56 +02:00
2024-09-29 22:17:56 +02:00
2024-09-29 22:17:56 +02:00
2024-09-29 22:17:56 +02:00
2024-09-29 22:17:56 +02:00
2024-09-29 22:17:56 +02:00
2024-09-29 22:17:56 +02:00
2024-09-29 22:17:56 +02:00
2024-09-29 22:17:56 +02:00
2024-09-29 22:17:56 +02:00
2024-07-16 14:53:17 +02:00
2024-07-16 14:53:17 +02:00
2024-07-16 14:53:17 +02:00
2022-08-28 10:31:50 +02:00
2026-02-08 23:15:40 +01:00
2020-02-10 14:18:15 +01:00
2021-01-12 22:08:04 +01:00
2022-05-11 10:10:31 +02:00
2023-06-22 15:10:59 +02:00
2025-03-14 10:10:35 +01:00
2025-03-14 10:10:35 +01:00
2025-04-20 12:55:31 +02:00
2021-10-05 14:00:35 +02:00
2025-03-12 15:09:28 +01:00
2025-04-29 16:15:18 +02:00
2025-03-12 15:09:28 +01:00