From 5961a60616157815766af052bfe6b9c2dd49e112 Mon Sep 17 00:00:00 2001 From: Kevin Ushey Date: Tue, 24 Sep 2024 10:26:04 -0700 Subject: [PATCH] document .ipynb support in dependencies (closes #1995) --- R/dependencies.R | 7 ++++--- man/dependencies.Rd | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/R/dependencies.R b/R/dependencies.R index 203d67955..21241650b 100644 --- a/R/dependencies.R +++ b/R/dependencies.R @@ -11,10 +11,11 @@ #' [pacman](https://cran.r-project.org/package=pacman) (`pacman::p_load(...)`) #' . #' -#' For \R package projects, dependencies expressed in the `DESCRIPTION` file -#' will also be discovered. +#' For \R package projects, `renv` will also detect dependencies expressed +#' in the `DESCRIPTION` file. For projects using Python, \R dependencies within +#' the \R code chunks of your project's `.ipynb` files will also be used. #' -#' Note that the rmarkdown package is required in order to crawl dependencies +#' Note that the [rmarkdown] package is required in order to crawl dependencies #' in R Markdown files. #' #' # Missing dependencies diff --git a/man/dependencies.Rd b/man/dependencies.Rd index a3777fc28..532385873 100644 --- a/man/dependencies.Rd +++ b/man/dependencies.Rd @@ -69,10 +69,11 @@ renv also supports package loading with \href{https://cran.r-project.org/package=pacman}{pacman} (\code{pacman::p_load(...)}) . -For \R package projects, dependencies expressed in the \code{DESCRIPTION} file -will also be discovered. +For \R package projects, \code{renv} will also detect dependencies expressed +in the \code{DESCRIPTION} file. For projects using Python, \R dependencies within +the \R code chunks of your project's \code{.ipynb} files will also be used. -Note that the rmarkdown package is required in order to crawl dependencies +Note that the \link{rmarkdown} package is required in order to crawl dependencies in R Markdown files. } \section{Missing dependencies}{