From 6dcc879037fd5c6667ddfc7150e5f0472329246e Mon Sep 17 00:00:00 2001 From: Leo Heidweiler Date: Sun, 14 Jul 2024 12:31:29 +0200 Subject: [PATCH] modified make_r_docs to run system command on poetry --- make_r_docs.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_r_docs.R b/make_r_docs.R index bddc5d8..ee9f2f8 100644 --- a/make_r_docs.R +++ b/make_r_docs.R @@ -69,7 +69,7 @@ rd_file_list <- dir_ls("man", type = "file") for (rd_file in rd_file_list) { # remove the man/ prefix and the .Rd name <- sub("^man/(.*)\\.Rd$", "\\1", rd_file) - system(paste('rd2md man', function_file_path, name)) + system(paste('poetry run rd2md man', function_file_path, name)) # read in the markdown file of the function/class function_markdown <- readLines(paste0(function_file_path, name, ".md"))