From 545e9978e37cdc59b560131ad175cd97b736830b Mon Sep 17 00:00:00 2001 From: Hugo Gruson Date: Wed, 15 Nov 2023 14:53:14 +0100 Subject: [PATCH 1/3] Add simple test to make R CMD check pass --- tests/testthat/test-dev-utils.R | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/testthat/test-dev-utils.R diff --git a/tests/testthat/test-dev-utils.R b/tests/testthat/test-dev-utils.R new file mode 100644 index 0000000..4e0a9a6 --- /dev/null +++ b/tests/testthat/test-dev-utils.R @@ -0,0 +1,5 @@ +test_that("release_bullets() returns what usethis expects", { + + expect_type(release_bullets(), "character") + +}) From 1e7d4c9783814209127c12c3bf607c89bf6404e4 Mon Sep 17 00:00:00 2001 From: Hugo Gruson Date: Thu, 16 Nov 2023 17:06:38 +0100 Subject: [PATCH 2/3] Add pkg level docs --- R/package.R | 8 ++++++++ man/packagetemplate-package.Rd | 28 ++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 R/package.R create mode 100644 man/packagetemplate-package.Rd diff --git a/R/package.R b/R/package.R new file mode 100644 index 0000000..33c81e2 --- /dev/null +++ b/R/package.R @@ -0,0 +1,8 @@ +# https://usethis.r-lib.org/reference/use_package_doc.html + +#' @keywords internal +"_PACKAGE" + +## usethis namespace: start +## usethis namespace: end +NULL diff --git a/man/packagetemplate-package.Rd b/man/packagetemplate-package.Rd new file mode 100644 index 0000000..8499b1b --- /dev/null +++ b/man/packagetemplate-package.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/package.R +\docType{package} +\name{packagetemplate-package} +\alias{packagetemplate} +\alias{packagetemplate-package} +\title{packagetemplate: Your Package Title in Titlecase} +\description{ +Your package description. It must end with a period (".") and include relevant bibliographical references if applicable, using the following format: Author et al. (2023) \doi{10.5281/zenodo.6619350}. +} +\author{ +\strong{Maintainer}: Hugo Gruson \email{hugo@data.org} (\href{https://orcid.org/0000-0002-4094-1476}{ORCID}) + +Authors: +\itemize{ + \item James M. Azam \email{james.azam@lshtm.ac.uk} (\href{https://orcid.org/0000-0001-5782-7330}{ORCID}) + \item Pratik Gupte \email{pratik.gupte@lshtm.ac.uk} (\href{https://orcid.org/0000-0001-5294-7819}{ORCID}) + \item Joshua W. Lambert \email{joshua.lambert@lshtm.ac.uk} (\href{https://orcid.org/0000-0001-5218-3046}{ORCID}) + \item Karim Mané \email{karim.mane@lshtm.ac.uk} (\href{https://orcid.org/0000-0002-9892-2999}{ORCID}) +} + +Other contributors: +\itemize{ + \item Jaime A. Pavlich-Mariscal \email{jpavlich@javeriana.edu.co} (\href{https://orcid.org/0000-0002-3892-6680}{ORCID}) [contributor] +} + +} +\keyword{internal} From 1ff9e2814a6b02457d01773de783c1dc2790db2a Mon Sep 17 00:00:00 2001 From: Hugo Gruson Date: Wed, 15 Nov 2023 14:53:36 +0100 Subject: [PATCH 3/3] Update WORDLIST --- inst/WORDLIST | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inst/WORDLIST b/inst/WORDLIST index 11bc4fe..29c7adc 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -2,6 +2,9 @@ CMD Codecov Epiverse Lifecycle +Mariscal +ORCID +Pavlich Titlecase al codecov @@ -15,5 +18,6 @@ lifecycle packagename repo svg +tidyverse yaml zenodo