All works behind the scenes, but the panel setup of the data.table doesn't print to show contents:
library(fixest)
data(base_did)
base_dt <- data.table::as.data.table(base_did)
# Setting a data set as a panel...
pdat = panel(base_dt, ~id+period)
pdat
#> Error in `[.data.table`:
#> ! 'idx' is not found in calling scope and it is not a column name either. When the first argument inside DT[...] is a single symbol (e.g. DT[var]), data.table looks for var in calling scope.