I recently did the update for the vistime package but since, I cannot change the colors anymore. If I run this code:
pres <- data.frame(Position = rep(c("President", "Vice"), each = 3),
Name = c("Washington", rep(c("Adams", "Jefferson"), 2), "Burr"),
start = c("1789-03-29", "1797-02-03", "1801-02-03"),
end = c("1797-02-03", "1801-02-03", "1809-02-03"),
color = c('#cbb69d', '#603913', '#c69c6e'),
fontcolor = c("black", "white", "black"))
vistime::vistime(pres, events="Position", groups="Name", title="Presidents of the USA")
I have like the "default" colors (6 colors in total instead of the 3 mentioned in the code) that appear on the timeline.
Does somebody else have the same problem?