The mlr logos are stored at the following locations:
man/figures/logo_navbar.png
: Navbar + README logo (126x63 px)man/figures/logo.png
: Favicon for website in black (32x32 px)With the start of v2.13 we switched from mkdocs to pkgdown. With this change, all source files are now located in this repo under vignettes/tutorial
.
If you want to modify/add a tutorial section, please follow these steps:
task.Rmd
.
Follow the style guide while editing:makeLearner()
.package::function()
, e.g. kernlab::ksvm()
.vignettes/tutorial/devel/pdf/img/
and see the examples in resampling.Rmd
, nested_resampling.Rmd
or handling_of_spatial_data.Rmd
.
Make sure that the .Rmd file is working on its own, i.e. compile it as a single file (preferably using build_article("tutorial/devel/<vignette-name>"))
and see if everything works. Put required packages in the setup chunk at the beginning of the tutorial.If you want to view the complete pkgdown site locally, run pkgdown::build_site(lazy = TRUE)
. You don't have to render the complete site every time you change one tutorial. The lazy = TRUE
argument ensures that only pages are rebuilt that have changed. Also, if you have built the whole site once, you can just build the vignettes again by using build_articles(lazy = TRUE)
. More specific, if you are working on one vignette, you can run build_article("tutorial/devel/<vignette-name>")
. You do not need to pass the .Rmd extension when using build_article()
.