GDPuc.warn
optionYou can silence all warnings thrown by convertGDP
by setting the option GDPuc.warn = FALSE
. This will affect all calls to convertGDP
in the active R-session.
options(GDPuc.warn = FALSE)
replace_NAs
argumentOne warning thrown by convertGDP
comes from the addition of NAs in the return object due to missing conversion factors. If NAs are explicitly desired set replace_NAs = NA
. This will silence the warning.