Skip to content

labeling functions need to explicitly convert to character #4

Description

@camille-s

As of purrr v1.0.0, conversions from numeric to character need to be explicit:

Warning message:
There was 1 warning in dplyr::mutate().
ℹ In argument: lbl = tidyr::replace_na(purrr::map_chr(share, fun), na).
Caused by warning:
! Automatic coercion from double to character was deprecated in purrr 1.0.0.
ℹ Please use an explicit call to as.character() within map_chr() instead.
ℹ The deprecated feature was likely used in the stylehaven package.
Please report the issue at https://github.com/CT-Data-Haven/stylehaven/issues.

Functions affected:

  • offset_lbls
  • endpoint_lbls

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions