tests/testthat/_snaps/synwin.md

Default behavior works

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["score_total", "score_aud", "score_mem", "score_vis"]
    },
    "row.names": {
      "type": "integer",
      "attributes": {},
      "value": [1]
    },
    "class": {
      "type": "character",
      "attributes": {},
      "value": ["tbl_df", "tbl", "data.frame"]
    }
  },
  "value": [
    {
      "type": "double",
      "attributes": {},
      "value": [59.65]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [12.75]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [14]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [32.9]
    }
  ]
}

Works with grouping variable

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["id", "score_total", "score_aud", "score_mem", "score_vis"]
    },
    "row.names": {
      "type": "integer",
      "attributes": {},
      "value": [1, 2]
    },
    "class": {
      "type": "character",
      "attributes": {},
      "value": ["tbl_df", "tbl", "data.frame"]
    }
  },
  "value": [
    {
      "type": "integer",
      "attributes": {},
      "value": [1, 2]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [59.65, 50.55]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [12.75, 8.25]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [14, 16.5]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [32.9, 25.8]
    }
  ]
}


psychelzh/dataproc.iquizoo documentation built on Oct. 20, 2024, 6:26 p.m.