Generates a template file that can be used to write new sl3 Learners. For more information, see the Defining New Learners vignette.
write_learner_template(file)
the path where the file should be written
the return from file.copy
. TRUE
if writing the
template was successful.