tests/testthat/_snaps/jlo.md

Default behavior works

{
  "type": "list",
  "attributes": {
    "class": {
      "type": "character",
      "attributes": {},
      "value": ["tbl_df", "tbl", "data.frame"]
    },
    "row.names": {
      "type": "integer",
      "attributes": {},
      "value": [1]
    },
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["nc", "mean_ang_err", "mean_log_err"]
    }
  },
  "value": [
    {
      "type": "integer",
      "attributes": {},
      "value": [0]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [56.25]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.67644898]
    }
  ]
}

Works with grouping variable

{
  "type": "list",
  "attributes": {
    "names": {
      "type": "character",
      "attributes": {},
      "value": ["id", "nc", "mean_ang_err", "mean_log_err"]
    },
    "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": "integer",
      "attributes": {},
      "value": [0, 0]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [56.25, 52.5]
    },
    {
      "type": "double",
      "attributes": {},
      "value": [0.67644898, 0.64847183]
    }
  ]
}


psychelzh/preproc.iquizoo documentation built on Oct. 20, 2024, 6:27 p.m.