Closed RobinL closed 7 years ago
Because a list can be accessed by number or by index, this overwrites a style if value is a number
So for instance, if a cell anywhere has the number 3 in it, and the 3rd item in the list is title, then the title will be overwritten
Note the underlying problem was essentialy this
> a <- list()
> a[[1]] <- 100
> a[["1"]] <- 20
> a
[[1]]
[1] 100
$`1`
[1] 20
> a <- list()
> a[["1"]] <- 20
> a[[1]] <- 100
> a
$`1`
[1] 100
Closed by #89
This file doesn't work:
https://github.com/moj-analytical-services/OMSQ_Tables_/blob/b92577d6a58de2739ebeb63773e901f2443a04ce/STYLES.xlsx
Reproduce the problem with this code: