Skip to content

Commit

Permalink
Remove data.table dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Oct 24, 2023
1 parent f495483 commit 00d6845
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ URL: https://epiverse-trace.github.io/readepi,
BugReports: https://github.com/epiverse-trace/readepi/issues
Imports:
checkmate,
data.table,
DBI,
dplyr,
fingertipsR (>= 1.0.10.9001),
Expand Down
8 changes: 5 additions & 3 deletions R/show_example_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
#' show_example_file()
#' }
#' @export
#'
#' @importFrom utils read.table
show_example_file <- function() {
example_data <- data.table::fread(system.file("extdata", "test.ini",
package = "readepi"))
example_data <- read.table(
system.file("extdata", "test.ini", package = "readepi"),
header = TRUE
)
print(example_data)
}

0 comments on commit 00d6845

Please sign in to comment.