tests/testthat/_snaps/VL_rolodex.md

vl_rolodex output format as intended

Code
  vl_rolodex(c(0, 2, 3, 5, 7, 9, 11))
Output
  $`0`
  [1] 0 0 0 0 0 0 0

  $`2`
  [1] 1 0 1 0 0 0 0

  $`10`
  [1]  0 -1  0  0  0  0 -1

  $`3`
  [1]  0  0  0  0 -1 -1 -1

  $`5`
  [1]  0  0  1  0  0 -1 -1

  $`7`
  [1]  0  0  1  1  0  0 -1

  $`9`
  [1] 0 0 1 1 1 0 0

  $`4`
  [1] 1 1 1 1 0 0 0

  $`8`
  [1] -1 -1  0  0  0 -1 -1

  $`1`
  [1]  0 -1  0 -1 -1 -1 -1

  $`11`
  [1] 1 0 1 1 1 1 0

  $`6`
       [,1] [,2] [,3] [,4] [,5] [,6] [,7]
  [1,]    1    1    2    1    1    0    0
  [2,]   -1   -1    0    0   -1   -1   -2
Code
  vl_rolodex(c(0, 4, 7, 10), c(0, 0, 4, 7))
Output
  $`0`
  [1] 0 0 0 2

  $`3`
  [1]  3 -1  0  0

  $`5`
  [1]  0  1 -2 -1

  $`6`
  [1]  1  2 -1  0

  $`8`
  [1]  0 -1  1 -2

  $`9`
  [1]  1  0  2 -1

  $`11`
  [1] -1 -1 -1  1

  $`1`
  [1] 1 1 1 3

  $`2`
  [1]  2 -2 -1 -1

  $`4`
       [,1] [,2] [,3] [,4]
  [1,]    4    0    1    1
  [2,]   -1    0   -3   -2

  $`7`
       [,1] [,2] [,3] [,4]
  [1,]    2    3    0    1
  [2,]   -1   -2    0   -3

  $`10`
       [,1] [,2] [,3] [,4]
  [1,]    2    1    3    0
  [2,]   -2   -2   -2    0


Try the musicMCT package in your browser

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

musicMCT documentation built on June 21, 2026, 9:06 a.m.