seankross / mario

🍄 But our princess is in another castle!
Other
21 stars 1 forks source link

summarise + across leads to strange-looking 'cell' entries #46

Open pgbovine opened 2 years ago

pgbovine commented 2 years ago

to trigger it, try a summarise with across (not sure if this particular one makes sense, but it does trigger it):

library(dplyr)
mtcars %>%
  group_by(cyl) %>%
  summarise(across(disp))

it produces some cell-to-cell entries like this where index is a single number and not a list of 2 numbers:

        {
          "illustrate": "outline",
          "select": "cell",
          "from": {
            "anchor": "lhs",
            "index": [32, 3]
          },
          "to": {
            "anchor": "rhs",
            "index": 11
          }
        },

that currently breaks my canonicalization script. we could punt and just ignore those for now, it's up to you

pgbovine commented 2 years ago

defer across() to later

pgbovine commented 2 years ago

note: my canonicalization script currently issues a warning but keeps on processing this properly (defer to later to fix)