Skip to content

Commit

Permalink
should be compatible with older R versions now
Browse files Browse the repository at this point in the history
  • Loading branch information
nbruder committed Apr 11, 2024
1 parent 7644f7d commit a60baa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/MetaNLP.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ MetaNLP <- function(path, bounds = c(2, Inf), word_length = c(3, Inf)) {

suppressWarnings({file |>
# select the columns "abstract" and "title"
_[c("title", "abstract")] |>
(`[`)(c("title", "abstract")) |>
# add new column x where Title and Abstract are pasted
within(x <- paste(title, abstract)) |>
_$x |>
Expand Down

0 comments on commit a60baa3

Please sign in to comment.