Skip to content

Consider putting the precious list in the package namespace rather than a global option. #151

Closed

Description

@jimhester

This would potentially allow easier debugging when tracking down memory issues.

Basically you would need to add a call to a function in .onLoad() that initializes the precious list for that package.

For rmarkdown use cases we would use the cpp11 namespace to hold the list.

Activity

  1. added
    feature
    on Mar 31, 2021
  2. DavisVaughan commented on Jul 28, 2024

    @DavisVaughan
    Member

    #331 moved us towards one preserve list per compilation unit, and removed our reliance on a global option, which had caused issues over the years (in particular, if we ever change the structure of it, we can completely bork anyone who vendored cpp11 and still used the old structure)

    #364 moves us towards one preserve list per package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions