Since this is a common need, it is being functionalized to ensure consistency.
fill_prob_subprob_method(
xpdb,
.problem,
.subprob,
.method,
envir = parent.frame()
)<xpose_data> or related object
NULL or missing
NULL or missing
NULL or missing
<environment> in which to assign the problem info.