Open biencan1 opened 2 years ago
I am having the same issue:
ctr %>% pmx_report(
name="ggPMX",
save_dir=mlx_dir,
template=file.path("ggPMX0.Rmd")
)
pmx_report(
contr=theophylline(),
name="dummy",
save_dir="/tmp/",
template="/tmp/custom_report.Rmd"
)
Error in draft(template_file, template = template_dir, create_dir = FALSE, :
No template.yaml file found for template '/tmp/RtmpzatMrO/standing'
In addition: Warning message:
In file.create(to[okay]) :
cannot create file '/tmp/RtmpzatMrO/standing/skeleton/skeleton.Rmd', reason 'No such file or directory'
it has been possible to identify the source of the problem:
inst/rmarkdown/templates/standing/template.yaml
into the temporary directory used for report creationmerge request with fix forthcoming
As of latest tests, when trying to use custom template, there was no error, but the report generated was using the default template (instead of the custom one).
Unable to load custom template to create report with ggPMX 1.2.8. Error message as follows:
Generated with ggPMX 1.2.8
Code