From 2507de83235bf4ddb3d63fb43670cb71383ea36e Mon Sep 17 00:00:00 2001 From: mpadge Date: Fri, 26 Aug 2022 13:39:00 +0200 Subject: [PATCH] fix pkg_dir param in autotest_single_trace for #76 --- DESCRIPTION | 2 +- R/autotest-functions.R | 4 +++- codemeta.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 4a18960..0d6c89b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: autotest Title: Automatic Package Testing -Version: 0.0.2.200 +Version: 0.0.2.201 Authors@R: c( person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-2172-5265")), diff --git a/R/autotest-functions.R b/R/autotest-functions.R index c98def6..ef9f4e3 100644 --- a/R/autotest-functions.R +++ b/R/autotest-functions.R @@ -83,6 +83,7 @@ autotest_package <- function (package = ".", res <- rbind (res, autotest_single_trace (package, + pkg_dir, readRDS (trace_files [i]), fn_pars, test = test, @@ -157,7 +158,8 @@ get_package_loc <- function (package) { #' @return An `autotest_pkg` object, derived from a \pkg{tibble}, detailing #' instances of unexpected behaviour for every parameter of every function. #' @noRd -autotest_single_trace <- function (pkg_dir = NULL, +autotest_single_trace <- function (package, + pkg_dir = NULL, trace_data = NULL, fn_pars, test = TRUE, diff --git a/codemeta.json b/codemeta.json index 829d51e..19cd73f 100644 --- a/codemeta.json +++ b/codemeta.json @@ -8,7 +8,7 @@ "codeRepository": "https://github.com/ropensci-review-tools/autotest", "issueTracker": "https://github.com/ropensci-review-tools/autotest/issues", "license": "https://spdx.org/licenses/GPL-3.0", - "version": "0.0.2.200", + "version": "0.0.2.201", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R",