TNC-NMFO / NWLAND

carbon accounting model
0 stars 0 forks source link

solely NM | Error in melt_dataframe(data, as.integer(id.ind - 1), as.integer(measure.ind - : function 'Rcpp_precious_remove' not provided by package 'Rcpp' #155

Open sbassett opened 2 years ago

sbassett commented 2 years ago
Start plot_caland() at Sat Apr 02 23:56:49 2022 
Error in melt_dataframe(data, as.integer(id.ind - 1), as.integer(measure.ind -  : 
  function 'Rcpp_precious_remove' not provided by package 'Rcpp'
In addition: Warning messages:
1: In which(as.integer(names(scen_df_list[[i]])) > last_year) :
  NAs introduced by coercion
2: In if (lt == "All_land" & scen_sheets[i] == "Area") { :
  the condition has length > 1 and only the first element will be used
sbassett commented 2 years ago

I have this run set up on E:\Staging\NMFO\USCA\NWLAND\outputs\output_nm It's nested in a slightly different place on E:\Staging than where we were copying the repo previously.

@aj1s When you're working next, can you try to run runscript_plot_caland_NM.R (through the rcp 4.5 section) and see if this error pops up?

sbassett commented 2 years ago

Am going to try the guidance here: https://stackoverflow.com/questions/68416435/rcpp-package-doesnt-include-rcpp-precious-remove

sbassett commented 2 years ago

update.packages('Rcpp') seems to resolve the problem [R is currently "not responding" so inconclusive (2022-04-03-0018] image

sbassett commented 2 years ago

Still hanging this morning. Closed out and tried again. Same error progression as before. Now attempting on my local laptop.

Open Java version installed from here: https://adoptium.net/download/?link=https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2%2B8/OpenJDK17U-jre_x64_windows_hotspot_17.0.2_8.msi