This function takes a TreePPL object (the model) and/or a json object (the data) and writes them in base::tempdir as a .tppl and a .json file, respectively.
This function takes a TreePPL object (the model) and/or a json object (the data) and writes them in base::tempdir as a .tppl and a .json file, respectively.