Skip to content

compareEandLCIResult not working - Possible software version error #332

Description

@rlieberthal

compareEandLCIResult() is generating the following error:

# Error in compareEandLCIResult(model, tolerance = 0.01) : 
#   could not find function "compareEandLCIResult"

This is my code (from https://github.com/USEPA/useeior?tab=readme-ov-file#validate-model)

library("useeior")
seeAvailableModels()
model <- buildModel('USEEIOv2.0.1-411')

modelval <- compareEandLCIResult(model, tolerance = 0.01)
print(paste("Number of flow totals by commodity passing:", modelval$N_Pass))
print(paste("Number of flow totals by commodity failing:", modelval$N_Fail))

And the result:

# Error in compareEandLCIResult(model, tolerance = 0.01) : 
#   could not find function "compareEandLCIResult"

I had similar issues with standardizeandcastSatelliteTable(), joinStringswithSlashes(), and joinStringswithSlashes().

When I go back and install v1.5.3, there is no error, and the example code works as expected.

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