@@ -493,7 +493,7 @@ convergence_plot <- function(
493493 HTML1 <- " <span style='color:blue;'><b>"
494494 HTML2 <- " </b></span><span style='color:grey;'>"
495495 HTML3 <- " </span>"
496- HTML4 <- " & mdash;   ; "
496+ HTML4 <- " \n — "
497497 VarsDesc <- tibble :: tribble(
498498 ~ Variable , ~ VarDesc ,
499499 " bio1" , " annual mean temperature" ,
@@ -571,7 +571,7 @@ convergence_plot <- function(
571571
572572 # # |||||||||||||||||||||||||||||||||||||||||||||||||||||||| ##
573573
574- IASDT.R :: cat_time(" Starting preparing data for plotting" , level = 2 )
574+ IASDT.R :: cat_time(" Preparing data for plotting" , level = 2 )
575575 Cols2remove <- c(
576576 " CI_025" , " CI_975" , " Var_Min" , " Var_Max" , " Class" , " Order" , " Family" )
577577 Beta_DF <- Beta_DF %> %
@@ -619,15 +619,14 @@ convergence_plot <- function(
619619
620620 # Prepare working on parallel
621621 IASDT.R :: cat_time(" Prepare working on parallel" , level = 2 )
622- IASDT.R :: set_parallel(n_cores = min(n_cores , nrow(Beta_DF )), level = 2 )
622+ IASDT.R :: set_parallel(n_cores = min(n_cores , nrow(Beta_DF )), level = 3 )
623623 withr :: defer(future :: plan(" future::sequential" , gc = TRUE ))
624624
625625 # # |||||||||||||||||||||||||||||||||||||||||||||||||||||||| ##
626626
627- # Save a small file for each of variables and species combination
627+ # Split data for each of variables and species combination
628628 IASDT.R :: cat_time(
629- " Save a small file for each of variables and species combination" ,
630- level = 2 )
629+ " Split data for each of variables and species combination" , level = 2 )
631630
632631 Beta_DF <- Beta_DF %> %
633632 dplyr :: mutate(
@@ -856,10 +855,7 @@ convergence_plot <- function(
856855 " dplyr" , " ggplot2" , " ggtext" , " magrittr" , " stringr" , " ggExtra" ,
857856 " coda" , " IASDT.R" , " qs2" , " tibble" ))
858857
859- PlotObj_Beta <- PlotObj_Beta %> %
860- dplyr :: bind_rows() %> %
861- dplyr :: left_join(Beta_DF , . , by = " Var_Sp" ) %> %
862- dplyr :: left_join(VarsDesc , by = " Variable" )
858+ PlotObj_Beta <- dplyr :: left_join(Beta_DF , VarsDesc , by = " Variable" )
863859
864860 # # |||||||||||||||||||||||||||||||||||||||||||||||||||||||| ##
865861
0 commit comments