Skip to content

Commit

Permalink
simplify data.table pkg requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
klau506 committed Oct 4, 2024
1 parent e13e93f commit 2cd284e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,4 @@ export(start_with_pattern)
export(transform_to_xml)
export(update_user_choices_plot)
import(ggplot2)
importFrom(data.table,":=")
importFrom(magrittr,"%>%")
3 changes: 0 additions & 3 deletions R/functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ options(summarise.inform = FALSE)
#'
#' @param dt dataset with the following columns: scenario, region, var (reporting variable), year, value
#' @return dataset with `reg_sec_weight` column.
#' @importFrom data.table :=
#' @export
compute_reg_sec_weight <- function(dt) {

Expand Down Expand Up @@ -82,7 +81,6 @@ compute_reg_sec_weight <- function(dt) {
#'
#' @param dt dataset with the following columns: scenario, region, var (reporting variable), year, value
#' @return dataset with `sec_prevsec_weight` column.
#' @importFrom data.table :=
#' @export
compute_sec_prevsec_weight <- function(dt) {

Expand Down Expand Up @@ -2887,7 +2885,6 @@ get_resource_investment <- function(GCAM_version = "v7.0") {
#' @keywords internal process
#' @return Saved results in an output file.
#' @importFrom magrittr %>%
#' @importFrom data.table :=
#' @export
do_bind_results <- function(GCAM_version = "v7.0") {
region <- var <- scenario <- year <- value <- . <- na.omit <- Region <- Variable <- NULL
Expand Down

0 comments on commit 2cd284e

Please sign in to comment.