From 7c6339356d9346baa86faaf3402a53cdde5b6bac Mon Sep 17 00:00:00 2001 From: Bill Denney Date: Fri, 28 Apr 2023 05:49:47 -0400 Subject: [PATCH] Prepare for CRAN submission --- R/pk.calc.urine.R | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/pk.calc.urine.R b/R/pk.calc.urine.R index 3f48a750..a72b0c2c 100644 --- a/R/pk.calc.urine.R +++ b/R/pk.calc.urine.R @@ -32,7 +32,7 @@ pk.calc.ae <- function(conc, volume, check=TRUE) { } else if (any(mask_missing_vol)) { message_vol <- sprintf("%g of %g volumes are missing", sum(mask_missing_vol), length(conc)) } - message_all <- na.omit(c(message_both, message_conc, message_vol)) + message_all <- stats::na.omit(c(message_both, message_conc, message_vol)) ret <- sum(conc*volume) if (length(message_all) != 0) { message <- paste(message_all, collapse = "; ") diff --git a/README.md b/README.md index 6d1d65a6..13088be1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/PKNCA)](https://cran.r-project.org/package=PKNCA) [![R-CMD-check](https://github.com/billdenney/pknca/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/billdenney/pknca/actions/workflows/R-CMD-check.yaml) -[![Code_Coverage_Badge](https://codecov.io/github/billdenney/pknca/coverage.svg?branch=main)](https://codecov.io/github/billdenney/pknca?branch=main) +[![Code_Coverage_Badge](https://codecov.io/github/billdenney/pknca/coverage.svg?branch=main)](https://app.codecov.io/github/billdenney/pknca?branch=main) [![CodeFactor](https://www.codefactor.io/repository/github/billdenney/pknca/badge?style=plastic)](https://www.codefactor.io/repository/github/billdenney/pknca) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/2054/badge)](https://bestpractices.coreinfrastructure.org/projects/2054)