Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

Issue with Locked Binding in driver_drake Function #1255

Description

@choiHenry

Hi I am currently watching a video named GCAM 6.0 gcamdata User Modified Functions and replicating the code shown in the video.

When I tried

driver_drake(user_modifications = c("usermod_fert"), xml_suffix = "_1")

I received this error message:

Error in xml.XML_SUFFIX <<- xml_suffix : 
  cannot change value of locked binding for 'xml.XML_SUFFIX'

I believe the reason for this error is that the xml.XML_SUFFIX variable is locked when I load gcamdata using:

devtools::load_all()

I'd appreciate any comments or suggestions on how to resolve this issue.

Thanks.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions