Skip to content

efficiency #2

@hrbrmstr

Description

@hrbrmstr
cleaner <- xml2::read_xml(system.file("xslt/justthetext.xslt", package="hgr"))

needs to be moved to .onLoad/.onAttach and put into the pkg env so it's not read every time.

the object needs a validity check before use in the event stuff got gnarly on the user-side and we're left with a dangling XPtr (thx, xml2).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions