Skip to content

Commit 3e670bf

Browse files
committed
replaced [x] with [[x]]
1 parent 0dcc3f3 commit 3e670bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/netzschleuder.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ ns_df <- function(name, token = NULL, size_limit = 1) {
195195
nodes_df_raw <- utils::read.csv(unz(temp, node_file_name))
196196
#suppress warning if no character columns found
197197
nodes_df <- suppressWarnings(minty::type_convert(nodes_df_raw))
198-
names(nodes_df)[1] <- "id"
198+
names(nodes_df)[[1]] <- "id"
199199

200200
# netzschleuder uses 0-indexing, igraph uses 1-indexing
201201
nodes_df[["id"]] <- nodes_df[["id"]] + 1L

0 commit comments

Comments
 (0)