Hi, I want to test ALASCA on my longidutinal data but it fails even with the dummy example provided in the examples (https://andjar.github.io/ALASCA/articles/ALASCA.html). after running:
df[, time := paste0("t_", time)]
res <- ALASCA(
+ df,
+ value ~ time + (1|id)
+ )
INFO [2026-03-13 17:50:17] Initializing ALASCA (v1.0.19, 2026-01-16)
WARN [2026-03-13 17:50:17] Guessing effects: time
INFO [2026-03-13 17:50:17] Will use linear mixed models!
INFO [2026-03-13 17:50:17] Will use Rfast!
WARN [2026-03-13 17:50:17] The time column is used for stratification
WARN [2026-03-13 17:50:17] Converting character columns to factors
INFO [2026-03-13 17:50:17] Scaling data with sdall ...
INFO [2026-03-13 17:50:17] Calculating LMM coefficients
I get the following error:
Error in :=(pvalue, NA) :
Check that is.data.table(DT) == TRUE. Otherwise, := is defined for use in j, once only and in particular ways. See help(":=", "data.table"). A common reason for this error is allocating a new column in j and using <- instead of :=; e.g., DT[, new_col <- 1] should be DT[, new_col := 1]. Another is using := in a multi-statement {...} block; please use := as the only statement in j.
have you encountered something like this before? thanks in advance for your help!
Hi, I want to test ALASCA on my longidutinal data but it fails even with the dummy example provided in the examples (https://andjar.github.io/ALASCA/articles/ALASCA.html). after running:
INFO [2026-03-13 17:50:17] Initializing ALASCA (v1.0.19, 2026-01-16)
WARN [2026-03-13 17:50:17] Guessing effects:
timeINFO [2026-03-13 17:50:17] Will use linear mixed models!
INFO [2026-03-13 17:50:17] Will use Rfast!
WARN [2026-03-13 17:50:17] The
timecolumn is used for stratificationWARN [2026-03-13 17:50:17] Converting
charactercolumns to factorsINFO [2026-03-13 17:50:17] Scaling data with sdall ...
INFO [2026-03-13 17:50:17] Calculating LMM coefficients
I get the following error:
Error in
:=(pvalue, NA) :Check that is.data.table(DT) == TRUE. Otherwise,
:=is defined for use in j, once only and in particular ways. See help(":=", "data.table"). A common reason for this error is allocating a new column injand using<-instead of:=; e.g.,DT[, new_col <- 1]should beDT[, new_col := 1]. Another is using:=in a multi-statement{...}block; please use:=as the only statement inj.have you encountered something like this before? thanks in advance for your help!