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


##########
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";)

Review Comment:
   How about reading local `r/pkgdown/assets/versions.json` instead of 
`https://arrow.apache.org/docs/r/versions.json`?
   It seems that we don't need to use 
https://arrow.apache.org/docs/r/versions.json here.
   



-- 
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