From fe0601aa4c729466e9c4d3219aa6cf1bf0f96955 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Sat, 18 Apr 2020 01:06:22 +0200 Subject: Fix NOTE, prepare for release --- DESCRIPTION | 4 ++-- NAMESPACE | 1 + NEWS.md | 2 +- R/nlme.mmkin.R | 2 +- check.log | 26 +++----------------------- 5 files changed, 8 insertions(+), 27 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 722e6ff1..8273c7df 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: mkin Type: Package Title: Kinetic Evaluation of Chemical Degradation Data Version: 0.9.49.10 -Date: 2020-04-14 +Date: 2020-04-18 Authors@R: c(person("Johannes", "Ranke", role = c("aut", "cre", "cph"), email = "jranke@uni-bremen.de", comment = c(ORCID = "0000-0003-4371-6538")), @@ -27,4 +27,4 @@ Encoding: UTF-8 VignetteBuilder: knitr BugReports: http://github.com/jranke/mkin/issues URL: https://pkgdown.jrwb.de/mkin -RoxygenNote: 7.0.2 +RoxygenNote: 7.1.0 diff --git a/NAMESPACE b/NAMESPACE index c5528662..ef1ddca5 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -91,6 +91,7 @@ importFrom(purrr,map_dfr) importFrom(stats,AIC) importFrom(stats,BIC) importFrom(stats,aggregate) +importFrom(stats,as.formula) importFrom(stats,coef) importFrom(stats,coefficients) importFrom(stats,cov2cor) diff --git a/NEWS.md b/NEWS.md index 12b1a500..e1bfea58 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# mkin 0.9.49.10 (unreleased) +# mkin 0.9.49.10 (2020-04-18) - 'nlme.mmkin': An nlme method for mmkin row objects and an associated S3 class with print, plot, anova and endpoint methods diff --git a/R/nlme.mmkin.R b/R/nlme.mmkin.R index e58f11cb..355c3e34 100644 --- a/R/nlme.mmkin.R +++ b/R/nlme.mmkin.R @@ -39,7 +39,7 @@ get_deg_func <- function() { #' @param naPattern passed to nlme #' @param control passed to nlme #' @param verbose passed to nlme -#' @importFrom stats na.fail +#' @importFrom stats na.fail as.formula #' @return Upon success, a fitted nlme.mmkin object, which is an nlme object #' with additional elements #' @export diff --git a/check.log b/check.log index a50286a5..21279134 100644 --- a/check.log +++ b/check.log @@ -41,28 +41,12 @@ Maintainer: ‘Johannes Ranke ’ * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK -* checking R code for possible problems ... NOTE -get_deg_func: no visible global function definition for - ‘getFromNamespace’ -nlme.mmkin: no visible global function definition for - ‘getFromNamespace’ -nlme.mmkin: no visible global function definition for ‘as.formula’ -Undefined global functions or variables: - as.formula getFromNamespace -Consider adding - importFrom("stats", "as.formula") - importFrom("utils", "getFromNamespace") -to your NAMESPACE file. +* checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK -* checking for missing documentation entries ... WARNING -Undocumented code objects: - ‘get_deg_func’ -All user-level objects in a package should have documentation entries. -See chapter ‘Writing R documentation files’ in the ‘Writing R -Extensions’ manual. +* checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK @@ -82,9 +66,5 @@ Extensions’ manual. * checking for detritus in the temp directory ... OK * DONE -Status: 1 WARNING, 1 NOTE -See - ‘/home/jranke/git/mkin/mkin.Rcheck/00check.log’ -for details. - +Status: OK -- cgit v1.2.1