Skip to content

Commit

Permalink
update DESCRIPTION and yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dindiarto committed Apr 12, 2024
1 parent 7103957 commit c599421
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
6 changes: 5 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,15 @@ Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
Suggests:
quarto,
knitr,
testthat (>= 3.0.0)
Config/testthat/edition: 3
Depends:
R (>= 3.5.0)
LazyData: true
VignetteBuilder: knitr
VignetteBuilder:
knitr,
quarto
URL: https://icraf-indonesia.github.io/LUMENSR/
Config/Needs/website: rmarkdown
8 changes: 7 additions & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
url: https://icraf-indonesia.github.io/LUMENSR/
template:
bootstrap: 5

navbar:
components:
articles:
text: Articles
menu:
- text: Pre-QuES Report Example
href: articles/Pre-QUES.html
15 changes: 15 additions & 0 deletions inst/utilities/render_quarto_docs.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
library(quarto)

# Set the input file path
input_file <- "~/GitHub/LUMENSR/inst/docs/Pre-QuES.qmd"

# Set the working directory to the desired output directory
setwd("~/GitHub/LUMENSR/docs/articles")

# Render the Quarto document
quarto_render(
input = input_file,
output_format = "html"
)

setwd("~/GitHub/LUMENSR")

0 comments on commit c599421

Please sign in to comment.