tests/testthat/_snaps/search_interactions.md

search_interactions() default works

Code
  res
Output
         id node_from node_to                     date  direction        type
  1   97641     24343   24344 1973-03-01T00:00:00.000Z undirected competition
  2   97652     24352   24351 1973-03-01T00:00:00.000Z undirected competition
  3   97709     24370   24378 1973-03-01T00:00:00.000Z undirected competition
  4   97679     24357   24358 1973-03-01T00:00:00.000Z undirected competition
  5  100173     25149   25149 1976-02-01T00:00:00.000Z undirected competition
  6  100174     25149   25150 1976-02-01T00:00:00.000Z undirected competition
  7  101348     25576   25577 1970-01-01T00:00:00.000Z undirected competition
  8  101349     25576   25578 1970-01-01T00:00:00.000Z undirected competition
  9  101350     25576   25571 1970-01-01T00:00:00.000Z undirected competition
  10 101351     25577   25578 1970-01-01T00:00:00.000Z undirected competition
  11 101352     25577   25571 1970-01-01T00:00:00.000Z undirected competition
  12 101353     25578   25571 1970-01-01T00:00:00.000Z undirected competition
                                            method attr_id value geom public
  1                   field observation/experiment       1     1   NA   TRUE
  2                   field observation/experiment       1     1   NA   TRUE
  3                   field observation/experiment       1     1   NA   TRUE
  4                   field observation/experiment       1     1   NA   TRUE
  5                   field observation/experiment       1     1   NA   TRUE
  6                   field observation/experiment       1     1   NA   TRUE
  7  field observation, gut content and literature       1     1   NA   TRUE
  8  field observation, gut content and literature       1     1   NA   TRUE
  9  field observation, gut content and literature       1     1   NA   TRUE
  10 field observation, gut content and literature       1     1   NA   TRUE
  11 field observation, gut content and literature       1     1   NA   TRUE
  12 field observation, gut content and literature       1     1   NA   TRUE
     network_id               created_at               updated_at attribute.id
  1        1477 2019-03-05T15:50:33.839Z 2021-11-02T20:02:59.869Z            1
  2        1478 2019-03-05T15:50:38.469Z 2021-11-02T20:03:00.081Z            1
  3        1480 2019-03-05T15:50:55.947Z 2021-11-02T20:23:04.312Z            1
  4        1479 2019-03-05T15:50:47.266Z 2021-11-02T19:43:54.143Z            1
  5        1502 2019-03-06T21:41:55.180Z 2021-11-02T19:53:36.096Z            1
  6        1502 2019-03-06T21:41:55.330Z 2021-11-02T19:53:36.124Z            1
  7        1523 2019-03-11T20:53:55.935Z 2021-11-02T20:14:20.933Z            1
  8        1523 2019-03-11T20:53:56.023Z 2021-11-02T20:14:20.956Z            1
  9        1523 2019-03-11T20:53:56.120Z 2021-11-02T20:14:20.980Z            1
  10       1523 2019-03-11T20:53:56.250Z 2021-11-02T20:14:21.004Z            1
  11       1523 2019-03-11T20:53:56.328Z 2021-11-02T20:14:21.027Z            1
  12       1523 2019-03-11T20:53:56.431Z 2021-11-02T20:14:21.050Z            1
       attribute.name
  1  presence/absence
  2  presence/absence
  3  presence/absence
  4  presence/absence
  5  presence/absence
  6  presence/absence
  7  presence/absence
  8  presence/absence
  9  presence/absence
  10 presence/absence
  11 presence/absence
  12 presence/absence
                                                                                                                                                                                                  attribute.description
  1  Presence or absence of an interaction; this is a unitless measurement that should be used as the default attribute when no further information is known. Paired wtih a value of 0, it can represent a true absence
  2  Presence or absence of an interaction; this is a unitless measurement that should be used as the default attribute when no further information is known. Paired wtih a value of 0, it can represent a true absence
  3  Presence or absence of an interaction; this is a unitless measurement that should be used as the default attribute when no further information is known. Paired wtih a value of 0, it can represent a true absence
  4  Presence or absence of an interaction; this is a unitless measurement that should be used as the default attribute when no further information is known. Paired wtih a value of 0, it can represent a true absence
  5  Presence or absence of an interaction; this is a unitless measurement that should be used as the default attribute when no further information is known. Paired wtih a value of 0, it can represent a true absence
  6  Presence or absence of an interaction; this is a unitless measurement that should be used as the default attribute when no further information is known. Paired wtih a value of 0, it can represent a true absence
  7  Presence or absence of an interaction; this is a unitless measurement that should be used as the default attribute when no further information is known. Paired wtih a value of 0, it can represent a true absence
  8  Presence or absence of an interaction; this is a unitless measurement that should be used as the default attribute when no further information is known. Paired wtih a value of 0, it can represent a true absence
  9  Presence or absence of an interaction; this is a unitless measurement that should be used as the default attribute when no further information is known. Paired wtih a value of 0, it can represent a true absence
  10 Presence or absence of an interaction; this is a unitless measurement that should be used as the default attribute when no further information is known. Paired wtih a value of 0, it can represent a true absence
  11 Presence or absence of an interaction; this is a unitless measurement that should be used as the default attribute when no further information is known. Paired wtih a value of 0, it can represent a true absence
  12 Presence or absence of an interaction; this is a unitless measurement that should be used as the default attribute when no further information is known. Paired wtih a value of 0, it can represent a true absence
     attribute.unit     attribute.created_at     attribute.updated_at
  1              NA 2019-02-21T21:17:01.496Z 2021-11-02T20:32:33.821Z
  2              NA 2019-02-21T21:17:01.496Z 2021-11-02T20:32:33.821Z
  3              NA 2019-02-21T21:17:01.496Z 2021-11-02T20:32:33.821Z
  4              NA 2019-02-21T21:17:01.496Z 2021-11-02T20:32:33.821Z
  5              NA 2019-02-21T21:17:01.496Z 2021-11-02T20:32:33.821Z
  6              NA 2019-02-21T21:17:01.496Z 2021-11-02T20:32:33.821Z
  7              NA 2019-02-21T21:17:01.496Z 2021-11-02T20:32:33.821Z
  8              NA 2019-02-21T21:17:01.496Z 2021-11-02T20:32:33.821Z
  9              NA 2019-02-21T21:17:01.496Z 2021-11-02T20:32:33.821Z
  10             NA 2019-02-21T21:17:01.496Z 2021-11-02T20:32:33.821Z
  11             NA 2019-02-21T21:17:01.496Z 2021-11-02T20:32:33.821Z
  12             NA 2019-02-21T21:17:01.496Z 2021-11-02T20:32:33.821Z

search_interactions() handles 404

Code
  res1 <- search_interactions(query = "this_is_wrong")
Message
  No interactions found.


Try the rmangal package in your browser

Any scripts or data that you put into this service are public.

rmangal documentation built on Jan. 23, 2026, 9:08 a.m.