Skip to content

Commit

Permalink
Updating pkgdown site #666
Browse files Browse the repository at this point in the history
  • Loading branch information
kassambara committed Oct 30, 2024
1 parent e2dc4a6 commit 18ed508
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
^doc$
^Meta$
^\.github$
^pkgdown$
^Makefile$
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
.Rhistory
.RData
.DS_Store
docs/.DS_Store
inst/doc
doc
Meta
/doc/
/Meta/
/docs/
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
test:
Rscript -e "devtools::test()"

check:
Rscript -e "devtools::check()"

build_site:
Rscript -e "pkgdown::build_site()"
cp pkgdown/cheatsheet/survminer_cheatsheet.pdf docs/
cp -r tools docs/tools
26 changes: 20 additions & 6 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
templates:
params:
bootswatch: lumen
ganalytics: UA-54921687-5
url: https://rpkgs.datanovia.com/survminer/index.html

template:
bootstrap: 5
bootswatch: lumen
ganalytics: UA-54921687-5

development:
mode: "auto"

copy:
- pkgdown/cheatsheet/survminer_cheatsheet.pdf
- tools

reference:
- title: Fit survival curves
Contents:
desc: Fit survival curves and compute p-values as well as median survival times.
contents:
- surv_group_by
- surv_fit
- surv_median
Expand Down Expand Up @@ -48,13 +59,15 @@ reference:
contents:
- theme_survminer
- add_ggsurvplot
- ggsurvplot_arguments
- BRCAOV.survInfo


navbar:
title: "survminer"
left:
- text: Cheatsheet
href: survminer_cheatsheet.pdf
href: https://rpkgs.datanovia.com/survminer/survminer_cheatsheet.pdf
- text: Reference
href: reference/index.html
- text: Articles
Expand All @@ -64,6 +77,7 @@ navbar:
right:
- icon: fa-github
href: https://github.com/kassambara/survminer
text: GitHub



Expand Down
Binary file added pkgdown/cheatsheet/survminer_cheatsheet.pdf
Binary file not shown.

0 comments on commit 18ed508

Please sign in to comment.