pik-piam / quitte

Bits and pieces of code to use with quitte-style data frames
0 stars 10 forks source link

let as.quitte support lists #68

Closed orichters closed 1 year ago

orichters commented 1 year ago

old:

data <- as.quitte(readGDX("fulldata.gdx",c("vm_Mport","vm_prodPe"), types = c("variables"),  field = "l" ))                                                                                Error in `UseMethod()`:
! no applicable method for 'as.quitte' applied to an object of class "list"
Run `rlang::last_trace()` to see where the error occurred.

new:

Feel free to improve in any way if needed.