Skip to content

Commit

Permalink
remove blanket data.table import
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Dec 5, 2024
1 parent 336ea55 commit 5494572
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export(survey)
export(survey_countries)
export(wpp_age)
export(wpp_countries)
import(data.table)
import(wpp2017)
importFrom(checkmate,assert_character)
importFrom(checkmate,assert_data_frame)
Expand All @@ -31,10 +30,12 @@ importFrom(data.table,copy)
importFrom(data.table,data.table)
importFrom(data.table,dcast)
importFrom(data.table,fcase)
importFrom(data.table,fifelse)
importFrom(data.table,fread)
importFrom(data.table,melt)
importFrom(data.table,setkey)
importFrom(data.table,setkeyv)
importFrom(data.table,tstrsplit)
importFrom(grDevices,heat.colors)
importFrom(graphics,axis)
importFrom(graphics,image)
Expand Down
2 changes: 1 addition & 1 deletion R/clean.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ clean <- function(x, ...) UseMethod("clean")
#' @param x A [survey()] object
#' @param participant.age.column the column in `x$participants` containing participants' age
#' @param ... ignored
#' @importFrom data.table fcase
#' @importFrom data.table fcase fifelse tstrsplit fifelse
#' @importFrom countrycode countrycode
#' @importFrom lubridate period_to_seconds period years
#' @return a cleaned survey in the correct format
Expand Down
1 change: 0 additions & 1 deletion R/contact_matrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#' @importFrom utils data globalVariables
#' @importFrom data.table copy
#' @importFrom countrycode countrycode
#' @import data.table
#' @export
#' @autoglobal
#' @examples
Expand Down

0 comments on commit 5494572

Please sign in to comment.