alan-turing-institute / eider

eider: an R package for processing health records declaratively
https://alan-turing-institute.github.io/eider/
Other
2 stars 0 forks source link

Quarto build #1

Closed yongrenjie closed 9 months ago

yongrenjie commented 9 months ago

Adds a minimal Quarto project which depends on the local files.

yongrenjie commented 9 months ago

@helendduncan, I added some really barebones instructions in quarto/README.md. Would you be able to run those commands and see if that's enough to get it working? Let me know if any issues :)

One other thing I discovered, which you'll see in the PR, is that to make a function visible, we need to prefix it with a comment

#' @export

and then (for me, I did this from the R REPL; maybe RStudio has a handy button for this)

library(devtools)
devtools::document()

This updates the NAMESPACE file in the package to make those functions visible.