Skip to content

Commit

Permalink
fix naming conflict, add imports
Browse files Browse the repository at this point in the history
  • Loading branch information
katy-sadowski committed Oct 16, 2023
1 parent ceebb3e commit ca1a941
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ importFrom(jsonlite,fromJSON)
importFrom(jsonlite,parse_json)
importFrom(jsonlite,toJSON)
importFrom(magrittr,"%>%")
importFrom(readr,local_edition)
importFrom(readr,read_csv)
importFrom(rlang,.data)
importFrom(stats,na.omit)
Expand Down
1 change: 1 addition & 0 deletions R/convertResultsCase.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#' @importFrom SqlRender snakeCaseToCamelCase camelCaseToSnakeCase
#' @importFrom dplyr rename_with
#' @importFrom tools file_path_sans_ext
#' @importFrom readr local_edition
#'
#' @export

Expand Down
2 changes: 1 addition & 1 deletion R/executeDqChecks.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
#' @importFrom utils packageVersion write.table
#' @importFrom rlang .data
#' @importFrom tidyselect all_of
#' @importFrom readr read_csv
#' @importFrom readr read_csv local_edition
#' @importFrom dplyr mutate case_when
#'
#' @export
Expand Down
2 changes: 1 addition & 1 deletion R/listChecks.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#' @param fieldCheckThresholdLoc The location of the threshold file for evaluating the field checks. If not specified the default thresholds will be applied.
#' @param conceptCheckThresholdLoc The location of the threshold file for evaluating the concept checks. If not specified the default thresholds will be applied.
#'
#' @importFrom readr read_csv
#' @importFrom readr read_csv local_edition
#'
#' @export
listDqChecks <- function(cdmVersion = "5.3", tableCheckThresholdLoc = "default", fieldCheckThresholdLoc = "default", conceptCheckThresholdLoc = "default") {
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-executeDqChecks.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
library(testthat)
local_edition(3)
testthat::local_edition(3)

test_that("Execute a single DQ check on Synthea/Eunomia", {
outputFolder <- tempfile("dqd_")
Expand Down

0 comments on commit ca1a941

Please sign in to comment.