Skip to content

Issue with Locked Binding in driver_drake Function #1255

Open
@choiHenry

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.

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