Closed
Description
Hello,
When rendering the book (quarto render --to pdf
) there is a failure in scales-other.qmd as per:
Error in `discrete_scale()`:
! formal argument "palette" matched by multiple actual arguments
Backtrace:
1. ggplot2::scale_linetype(palette = linetypes)
Quitting from lines 259-266 [unnamed-chunk-18] (scales-other.qmd)
Execution halted
The offending lines are:
linetypes <- function(n) {
types <- c("55", "75", "95", "1115", "111115", "11111115",
"5158", "9198", "c1c8")
return(types[seq_len(n)])
}
base + scale_linetype(palette = linetypes)
I guess this is due to some of the changes in discrete_scale()
?
Thanks.