eitsupi commented on code in PR #35103:
URL: https://github.com/apache/arrow/pull/35103#discussion_r1165713754


##########
r/vignettes/prevdocs.Rmd:
##########
@@ -0,0 +1,12 @@
+---
+title: "Current and Older Versions of this Documentation"
+output: rmarkdown::html_vignette
+---
+
+```{r, echo=FALSE}
+versions <- 
jsonlite::read_json("https://arrow.apache.org/docs/r/versions.json";)
+```
+
+`r paste(purrr::map(versions, ~paste("[",.x$name, "](../", .x$version, 
"r/)\n\n", sep=""), collapse = ""), collapse = "")`

Review Comment:
   If this is the intent, please ignore it, but I think using `results="asis"` 
r code chunk here would make it easier to see this code.
   https://bookdown.org/yihui/rmarkdown-cookbook/results-asis.html



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to