From 9405987be0d9c9f72b1d74a6cf63c37182584bf6 Mon Sep 17 00:00:00 2001 From: StefanThoma <40463122+StefanThoma@users.noreply.github.com> Date: Wed, 27 Nov 2024 16:20:47 +0100 Subject: [PATCH] Closes #251 general issue add link package to the template (#256) * add link to template * fixed typo * simplified text * remove renv --- inst/template/template.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/inst/template/template.txt b/inst/template/template.txt index 2f830b68..1c424b20 100644 --- a/inst/template/template.txt +++ b/inst/template/template.txt @@ -17,11 +17,16 @@ image: [IMG] ```{r setup, include=FALSE} long_slug <- [SLUG] -# renv::use(lockfile = "renv.lock") +library(link) +link::auto() ``` +Please use the {link} package to automatically link packages and functions. +To link to a package simply wrap it in curly braces: {dplyr}. +Link a function from a package like: dplyr::filter(). +For more information check out {link}.