@@ -87,7 +87,6 @@ init_diyabcrf_env <- function() {
8787 assign(" ap" , tmp , env )
8888}
8989
90-
9190# ' Initialize environment for data generation pipeline
9291# ' @keywords internal
9392# ' @author Ghislain Durif
@@ -118,6 +117,45 @@ init_datagen_env <- function() {
118117 assign(" dp" , tmp , env )
119118}
120119
120+ # ' Print content of diyabc-rf project sub-environment for debugging purpose
121+ # ' @keywords internal
122+ # ' @author Ghislain Durif
123+ debug_ap <- function () {
124+ pprint(reactiveValuesToList(env $ ap ))
125+ }
126+
127+ # ' Print content of metadata inside diyabc-rf project sub-environment
128+ # ' for debugging purpose
129+ # ' @keywords internal
130+ # ' @author Ghislain Durif
131+ debug_ap_metadata <- function () {
132+ pprint(reactiveValuesToList(env $ ap $ metadata ))
133+ }
134+
135+ # ' Print content of training set simulation setup inside diyabc-rf project
136+ # ' sub-environment for debugging purpose
137+ # ' @keywords internal
138+ # ' @author Ghislain Durif
139+ debug_ap_ts <- function () {
140+ pprint(reactiveValuesToList(env $ ap $ ts ))
141+ }
142+
143+ # ' Print content of random forest setup inside diyabc-rf project
144+ # ' sub-environment for debugging purpose
145+ # ' @keywords internal
146+ # ' @author Ghislain Durif
147+ debug_ap_rf <- function () {
148+ pprint(reactiveValuesToList(env $ ap $ rf ))
149+ }
150+
151+ # ' Print content of data generation project sub-environment for debugging
152+ # ' purpose
153+ # ' @keywords internal
154+ # ' @author Ghislain Durif
155+ debug_dp <- function () {
156+ pprint(reactiveValuesToList(env $ dp ))
157+ }
158+
121159
122160# ' Get value from named list in diyabc local environment
123161# ' @keywords internal
0 commit comments