diff --git a/.Rbuildignore b/.Rbuildignore index ff287c21..b050673d 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -8,3 +8,6 @@ ^codecov\.yml$ ^\.github$ ^docs +^_pkgdown\.yml$ +^docs$ +^pkgdown$ diff --git a/DESCRIPTION b/DESCRIPTION index 8723ea08..7f7ffae7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -31,6 +31,8 @@ Authors@R: role = "ctb")) Description: Report templates and helper functions for EPI. License: GPL-3 +BugReports: https://github.com/R4EPI/sitrep/issues +URL: https://r4epis.netlify.com, https://github.com/R4EPI/sitrep Depends: R (>= 3.2) Imports: anthro, diff --git a/_pkgdown.yml b/_pkgdown.yml new file mode 100644 index 00000000..9ce1b09c --- /dev/null +++ b/_pkgdown.yml @@ -0,0 +1,28 @@ +destination: docs +template: + params: + ganalytics: UA-149766533-1 + +navbar: + structure: + left: + - home + - intro + - reference + - articles + - tutorials + - news + right: github + components: + home: + icon: fas fa-home fa-lg + href: https://r4epis.netlify.com + reference: + text: Reference + href: reference/index.html + news: + text: Changelog + href: news/index.html + github: + icon: fab fa-github fa-lg + href: https://github.com/R4EPI/sitrep diff --git a/docs/404.html b/docs/404.html index eb697937..59343253 100644 --- a/docs/404.html +++ b/docs/404.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@
diff --git a/docs/CODE_OF_CONDUCT.html b/docs/CODE_OF_CONDUCT.html index 7c592b13..fbda17a9 100644 --- a/docs/CODE_OF_CONDUCT.html +++ b/docs/CODE_OF_CONDUCT.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@ diff --git a/docs/CONTRIBUTING.html b/docs/CONTRIBUTING.html index 68934cd8..25a3ebee 100644 --- a/docs/CONTRIBUTING.html +++ b/docs/CONTRIBUTING.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@ diff --git a/docs/ISSUE_TEMPLATE.html b/docs/ISSUE_TEMPLATE.html index 70cf0d91..d631f974 100644 --- a/docs/ISSUE_TEMPLATE.html +++ b/docs/ISSUE_TEMPLATE.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@ diff --git a/docs/LICENSE.html b/docs/LICENSE.html index ef12df4b..f9cc090a 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@ diff --git a/docs/SUPPORT.html b/docs/SUPPORT.html index ccc85e85..3032f725 100644 --- a/docs/SUPPORT.html +++ b/docs/SUPPORT.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@ diff --git a/docs/authors.html b/docs/authors.html index cbc5faa5..89b8f661 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -50,6 +50,16 @@ + + + + @@ -74,7 +84,7 @@ diff --git a/docs/index.html b/docs/index.html index b45f04d7..07c40a2e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -16,7 +16,13 @@ + @@ -145,7 +158,16 @@NEWS.md
R/add_weights_cluster.R
add_weights_cluster.Rd
R/add_weights_strata.R
add_weights_strata.Rd
R/check_templates.R
available_sitrep_templates.Rd
R/check_templates.R
check_sitrep_templates.Rd
# \dontrun{ -check_sitrep_templates("mortality")#> Building mortality#> Warning: cannot remove file '/tmp/RtmplQqfk3/mortality.docx', reason 'No such file or directory'#> here() starts at /tmp/RtmplQqfk3#> Loading required package: grid#> Loading required package: Matrix#> +check_sitrep_templates("mortality")#> Building mortality#> Warning: cannot remove file '/tmp/Rtmp3xpTJv/mortality.docx', reason 'No such file or directory'#> here() starts at /tmp/Rtmp3xpTJv#> Loading required package: grid#> Loading required package: Matrix#> #> Attaching package: 'Matrix'#> The following objects are masked from 'package:tidyr': #> #> expand, pack, unpack#> Loading required package: survival#> Warning: Given proportions (or counts) is not the same as #> groups multiplied by strata length, they will be repeated to match#> Warning: Given proportions (or counts) is not the same as -#> groups multiplied by strata length, they will be repeated to match#> Warning: Unknown levels in `f`: q114_q16_date_arrival_camp#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> [1] "/tmp/RtmplQqfk3"# } +#> groups multiplied by strata length, they will be repeated to match#> Warning: Unknown levels in `f`: q114_q16_date_arrival_camp#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> Warning: NaNs produced#> [1] "/tmp/Rtmp3xpTJv"# }
R/descriptive-table.R
descriptive.Rd
R/find_date_cause.R
find_date_cause.Rd
R/gen_polygon.R
gen_polygon.Rd
R/gen_population.R
gen_population.Rd
R/age-pyramid.R
plot_age_pyramid.Rd
R/relabel_proportions.R
rename_redundant.Rd
R/tab_univariate.R
tab_univariate.Rd
R/tabulate_survey.R
tabulate_survey.Rd