Skip to content

Character strings that are only digits are not getting wrapped in single quotes if they end in 8 or 9 #153

@Mosk915

Description

@Mosk915

This has downsteam impacts on other packages, noteably quarto in my case. If the single quotes are missing, the string ends up getting converted to a numeric.

> yaml::as.yaml("027")
[1] "'027'\n"
> yaml::as.yaml("028")
[1] "028\n"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions