Skip to content

taylor 1.0.0

Compare
Choose a tag to compare
@wjakethompson wjakethompson released this 16 Dec 15:09

Breaking changes

  • Red (Taylor's Version) has replaced Red in taylor_album_songs (#9).

  • The type argument of color_palette() is deprecated and will be removed in
    a future release. Previously, if you wanted to interpolate more colors between
    those originally specified, you needed to specify type = "continuous". This
    was misleading, because color_palette() still returned a discrete number of
    colors (n). Now, interpolation happens automatically if n is greater than
    length(pal).

    my_colors <- c(ku_blue = "#0051ba", "firebrick", "#ffc82d")
    my_palette <- color_palette(my_colors)
    
    # old
    color_palette(my_palette, n = 10, type = "continuous")
    color_palette(my_palette, n = 2, type = "discrete")
    
    # new
    color_palette(my_palette, n = 10)
    color_palette(my_palette, n = 2)

Minor improvements and fixes

  • New color palette added to album_palettes for Red (Taylor's Version).

  • New single color added to album_compare for Red (Taylor's Version).

  • Metacritic score for Red (Taylor's Version) has been added to
    taylor_albums.

  • Wildest Dreams (Taylor's Version) has been added as a non-album single.
    Presumably this will eventually move to 1989 (Taylor's Version).

  • Hex logo and pkgdown website have been updated to have a
    Red (Taylor's Version) theme.

  • Fix the majority of non-ASCII characters in song lyrics. Remaining characters
    are en/em dashes and letters with accent marks.

  • color_palette() now preserves color names, either through R color
    specifications (i.e., colors()) or a named vector supplied to pal (#12).

    my_colors <- c(ku_blue = "#0051ba", "firebrick", "#ffc82d")
    color_palette(my_colors)