Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ importFrom(intervals,Intervals)
importFrom(intervals,distance_to_nearest)
importFrom(intervals,which_nearest)
importFrom(readr,read_lines)
importFrom(readr,read_table2)
importFrom(readr,read_table)
importFrom(readr,read_tsv)
importFrom(stats,median)
importFrom(stringi,stri_count_fixed)
Expand Down
2 changes: 1 addition & 1 deletion R/eyelink_parser.R
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ process_events <- function(rows, blocks, colnames) {
if (length(rows) == 1) rows <- c(rows, "")
colnames <- c('type', colnames) # first col is event type, which we drop later
coltypes <- get_coltypes(colnames)
df <- read_table2(rows, col_names = colnames, col_types = coltypes, na = ".")[, -1]
df <- read_table(rows, col_names = colnames, col_types = coltypes, na = ".")[, -1]

# Move eye col to end & make factor, append block numbers to beginning of data frame
if ("eye" %in% colnames) {
Expand Down
2 changes: 1 addition & 1 deletion R/eyelinker.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ NULL
#' @importFrom utils tail
#' @importFrom stringr str_sub<- str_detect fixed
#' @importFrom tibble as_tibble add_column
#' @importFrom readr read_lines read_tsv read_table2
#' @importFrom readr read_lines read_tsv read_table
#' @importFrom stringi stri_enc_toascii stri_split_regex stri_split_fixed stri_count_fixed
#' @importFrom intervals which_nearest distance_to_nearest Intervals
NULL