Your code is not a reprex, so I'm not sure what the issue might be, but one guess is that calling rawdata needs to be done with parentheses because it's a reactive variable:
esquisse_res <- callModule(
module = esquisserServer,
id = "esquisse",
data = rawdata()
)
If this does not help, please create a Shiny Reprex using this guide: