Skip to content

Commit

Permalink
modified make_r_docs to run system command on poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoHeidweiler committed Jul 14, 2024
1 parent 563d512 commit 6dcc879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make_r_docs.R
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 6dcc879

Please sign in to comment.