You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does not seem to be used in mrremind::fullREMIND(), s it's not urgent. But it should either be fixed, or the subtype removed if it is not used anymore.
The problem is here:
There is no column Emission factor factor anymore, but one called Emission factor (kg of CO2 per TJ) , probably due to the data update.
One gets a rather cryptic error
Error in `filter()` at magrittr/R/pipe.R:136:2:
ℹ In argument: `... & !is.na(`Emission factor`)`.
Caused by error:
! `..1` must be of size 13641 or 1, not size 0.
because filter(), not being able to find a Emission factor column, checks against Emission factor in the environment, where one was handily deposited, but with the value NULL, which is of length zero.
Does not seem to be used in
mrremind::fullREMIND()
, s it's not urgent. But it should either be fixed, or the subtype removed if it is not used anymore.The problem is here:
mrremind/R/readGCPT.R
Lines 966 to 970 in baa8d38
There is no column
Emission factor
factor anymore, but one calledEmission factor (kg of CO2 per TJ)
, probably due to the data update.One gets a rather cryptic error
because
filter()
, not being able to find aEmission factor
column, checks againstEmission factor
in the environment, where one was handily deposited, but with the valueNULL
, which is of length zero.I suggest to get rid of this entire section
mrremind/R/readGCPT.R
Lines 57 to 108 in baa8d38
and use explicit pronouns for data masking functions (e.g.
filter(!is.na(.data$
Emission factor))
.The text was updated successfully, but these errors were encountered: