Skip to content
Merged
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
Binary file not shown.
2 changes: 1 addition & 1 deletion imotionsApi/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: imotionsApi
Type: Package
Title: iMotions R library
Version: 2.9.4-0000000000
Version: 2.9.5-0000000000
Date: 2026-07-08
Authors@R: c(
person("Amandine", "Grappe", role = "aut"),
Expand Down
6 changes: 3 additions & 3 deletions imotionsApi/R/imotionsApi.R
Original file line number Diff line number Diff line change
Expand Up @@ -1497,11 +1497,11 @@ privateDownloadData <- function(study, sensor, signalsName = NULL) {

# Accessing fileInfos corresponding to this sensor (can be a list of files)
fileInfos <- getJSON(study$connection, dataUrl, message = paste("Retrieving data for sensor:", sensor$name))
data <- read_parquet(fileInfos$binFile, col_select = !!enquo(signalsName))
data <- read_parquet(fileInfos$binFile, col_select = !!enquo(signalsName), mmap = FALSE)

# if corrected timestamps are available - correct the original timestamps
if (nchar(fileInfos$timestampBinFile) > 0) {
tmp <- read_parquet(fileInfos$timestampBinFile)
tmp <- read_parquet(fileInfos$timestampBinFile, mmap = FALSE)
data$Timestamp <- tmp$Timestamp
}

Expand Down Expand Up @@ -1588,7 +1588,7 @@ getAoiRespondentData <- function(study, AOI, respondent) {
if (file.info(AOIDetails$fileId)$size == 0) {
notActivatedAOI <- TRUE
} else {
data <- read_parquet(AOIDetails$fileId)
data <- read_parquet(AOIDetails$fileId, mmap = FALSE)
data <- data |> mutate_at(namesInout, as.logical)
setDT(data)
}
Expand Down
Loading