Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Would it be possible to use a custom RMarkdown template from an internal package in Dataiku?
Hi @DataR11 ,
This is not possible, unfortunately.
thanks,
I have found a solution to do it
1: Import the package containing the Rmarkdown template into a folder
2: call the package with load_all
library(dataiku)
Packages <- dkuManagedFolderPath("nki5z2ng")
devtools::load_all(paste0(Packages,"/Template"))
3. create your Rmardown "test.Rmd" using the template.
---
title: "test"
output:
Template::template_name:
self_contained: True
number_sections: False
knit: pagedown::chrome_print
---
4.rmarkdown::render(paste0(Packages,"/test.Rmd"),
output_dir = paste0(Packages,"/"),
output_file="test")