diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 271d466..e23739c 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -31,16 +31,16 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: r-lib/actions/setup-pandoc@v1 + - uses: r-lib/actions/setup-pandoc@v2 - - uses: r-lib/actions/setup-r@v1 + - uses: r-lib/actions/setup-r@v2 with: r-version: ${{ matrix.config.r }} http-user-agent: ${{ matrix.config.http-user-agent }} use-public-rspm: true - - uses: r-lib/actions/setup-r-dependencies@v1 + - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: rcmdcheck - - uses: r-lib/actions/check-r-package@v1 + - uses: r-lib/actions/check-r-package@v2 diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 3c0da1c..d3989c2 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -15,13 +15,13 @@ jobs: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: r-lib/actions/setup-r@v1 + - uses: r-lib/actions/setup-r@v2 with: use-public-rspm: true - - uses: r-lib/actions/setup-r-dependencies@v1 + - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: covr diff --git a/DESCRIPTION b/DESCRIPTION index 800de94..a206f88 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,14 +1,16 @@ Type: Package Package: naflex Title: Flexible Options for Handling Missing Values -Version: 0.1.0.9000 +Version: 0.1.1 Authors@R: c( person("Danny", "Parsons", email = "danny@idems.international", role = c("aut", "cre"), comment = c(ORCID = "https://orcid.org/0000-0002-8333-9880")), person("Shadrack", "Kibet", - role = "aut")) + role = "aut"), + person("Lily", "Clements", + role = "ctb")) Description: For use in summary functions to omit missing values conditionally using specified checks. License: LGPL (>= 3) @@ -25,4 +27,4 @@ VignetteBuilder: knitr Encoding: UTF-8 LazyData: true -RoxygenNote: 7.1.2 +RoxygenNote: 7.2.3 diff --git a/NEWS.md b/NEWS.md index dd7bdd8..158cd35 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,9 @@ +# naflex 0.1.1 + +* Internal updates and bug fixes: +* Added "_PACKAGE" to naflex.R, ensuring proper package structure. +* Updated the package testing and build checks, which were out of date and causing failures. Now using the standard checks recommended for R packages. + # naflex 0.1.0 * Initial CRAN release diff --git a/R/naflex.R b/R/naflex.R index 220140e..1e1395b 100644 --- a/R/naflex.R +++ b/R/naflex.R @@ -32,4 +32,5 @@ #' within summary functions. #' @docType package #' @name naflex +"_PACKAGE" NULL diff --git a/man/naflex.Rd b/man/naflex.Rd index ce58042..5cc9e69 100644 --- a/man/naflex.Rd +++ b/man/naflex.Rd @@ -3,6 +3,7 @@ \docType{package} \name{naflex} \alias{naflex} +\alias{naflex-package} \title{naflex: Flexible Options for Handling Missing Values} \description{ The \code{naflex} package provides additional flexibility for handling @@ -37,3 +38,20 @@ In particular \code{naflex} provides four types of missing value checks: These checks can be used individually or in combination with each other within summary functions. } +\seealso{ +Useful links: +\itemize{ + \item \url{https://github.com/dannyparsons/naflex} + \item Report bugs at \url{https://github.com/dannyparsons/naflex/issues} +} + +} +\author{ +\strong{Maintainer}: Danny Parsons \email{danny@idems.international} (\href{https://orcid.org/0000-0002-8333-9880}{ORCID}) + +Authors: +\itemize{ + \item Shadrack Kibet +} + +}