Error in readGDX(gdx, "f10_land", "f_land", format = "first_found") : could not find function "readGDX" #709
-
Dear All, I have been trying to run the default model but encountered this error every time I ran the model, with some subsequent errors in output. Any idea what is going on? Below is the code generated: NPI/NDC recalculation successful! Starting MAgPIE... MAgPIE run finished! output_check.R -> D:/magpie/output/default_2024-08-05_11.27.31Output looks good, no problems found! extra/disaggregation.R -> D:/magpie/output/default_2024-08-05_11.27.31Attaching package: 'dplyr' The following object is masked from 'package:magclass':
The following objects are masked from 'package:stats':
The following objects are masked from 'package:base':
Error in readGDX(gdx, "f10_land", "f_land", format = "first_found") : rds_report.R -> D:/magpie/output/default_2024-08-05_11.27.31Start getReport(gdx)... Warning message: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, thanks for the error report. We recently replaced the gdx package dependency in magpie4 with gdx2. With this update the I created now a PR #710 adressing this issue. You can either wait for having this PR merged or just manually add |
Beta Was this translation helpful? Give feedback.
Hi,
thanks for the error report. We recently replaced the gdx package dependency in magpie4 with gdx2. With this update the
readGDX
function is not automatically exported anymore by themagpie4
package. It seems that the disaggregation script was usingreadGDX
from these packages without explicitly loading any of these.I created now a PR #710 adressing this issue. You can either wait for having this PR merged or just manually add
library(gdx2)
to the disaggregation output script as done here