diff --git a/DESCRIPTION b/DESCRIPTION index f082713..06ba41f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -17,7 +17,9 @@ Suggests: UpSetR (>= 1.4.0), caret, ranger, - Boruta + Boruta, + knitr, + rmarkdown Config/testthat/edition: 3 Depends: R (>= 3.6.0) Roxygen: list(markdown = TRUE) @@ -49,3 +51,4 @@ Collate: 'weightedMeanLearner.R' 'predict.bestSpecificLearner.R' 'predict.weightedMeanLearner.R' +VignetteBuilder: knitr diff --git a/vignettes/vignette.Rmd b/vignettes/vignette.Rmd new file mode 100644 index 0000000..baa773b --- /dev/null +++ b/vignettes/vignette.Rmd @@ -0,0 +1,19 @@ +--- +title: "vignette" +output: rmarkdown::html_vignette +vignette: > + %\VignetteIndexEntry{vignette} + %\VignetteEngine{knitr::rmarkdown} + %\VignetteEncoding{UTF-8} +--- + +```{r, include = FALSE} +knitr::opts_chunk$set( + collapse = TRUE, + comment = "#>" +) +``` + +```{r setup} +library(fuseMLR) +```