diff --git a/.github/workflows/packagedown.yaml b/.github/workflows/packagedown.yaml index 50de1a59..4f181bfa 100644 --- a/.github/workflows/packagedown.yaml +++ b/.github/workflows/packagedown.yaml @@ -6,13 +6,15 @@ on: branches: - main - test-pkgdown-workflow + tags: + - "v*" + workflow_dispatch: jobs: docs: name: Pkgdown Docs uses: insightsengineering/r.pkg.template/.github/workflows/pkgdown.yaml@main secrets: - REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} - # with: - # install-system-dependencies: true - # upgrade-remotes: true + REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + default-landing-page: "latest-tag" diff --git a/DESCRIPTION b/DESCRIPTION index 548127af..eddf145f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -5,7 +5,7 @@ Authors@R: c( person("Craig", "Gower-Page", email = "craig.gower-page@roche.com", role = c("aut", "cre")), person("Alessandro", "Noci", email = "alessandro.noci@roche.com", role = c("aut")), person("Marcel", "Wolbers", email = "marcel.wolbers@roche.com", role = "ctb"), - person("Roche", role = c("cph", "fnd")) + person("F. Hoffmann-La Roche AG", role = c("cph", "fnd")) ) Description: Implements standard and reference based multiple imputation methods for continuous longitudinal endpoints (Gower-Page et al. (2022) ). In particular, @@ -18,7 +18,7 @@ LazyData: true Roxygen: list(markdown = TRUE) URL: https://insightsengineering.github.io/rbmi/, https://github.com/insightsengineering/rbmi BugReports: https://github.com/insightsengineering/rbmi/issues -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.2 Suggests: dplyr, tidyr, diff --git a/inst/CITATION b/inst/CITATION new file mode 100644 index 00000000..389abf8f --- /dev/null +++ b/inst/CITATION @@ -0,0 +1,26 @@ +# Workaround for pkgdown so that year information is made available. +# When on CRAN this field is automatically added / made available +# in the DESCRIPTION file +if (is.null(meta[["Date/Publication"]])) { + meta["Date/Publication"] <- as.character(Sys.time()) +} + +citation(auto = meta) + +bibentry( + bibtype = "article", + title = "rbmi: A R package for standard and reference-based multiple imputation methods", + author = c( + person("Craig", "Gower-Page"), + person("Alessandro", "Noci"), + person("Marcel", "Wolbers") + ), + year = "2022", + publisher = "The Open Journal", + doi = "10.21105/joss.04251", + url = "https://doi.org/10.21105/joss.04251", + volume = "7", + number = "74", + pages = "4251", + journal = "Journal of Open Source Software" +) diff --git a/man/rbmi-package.Rd b/man/rbmi-package.Rd index ab2a9ef8..6deacb29 100644 --- a/man/rbmi-package.Rd +++ b/man/rbmi-package.Rd @@ -42,7 +42,7 @@ Authors: Other contributors: \itemize{ \item Marcel Wolbers \email{marcel.wolbers@roche.com} [contributor] - \item Roche [copyright holder, funder] + \item F. Hoffmann-La Roche AG [copyright holder, funder] } }