unhelpful error message w

12 views
Skip to first unread message

Steve Cumming

unread,
Mar 12, 2018, 4:24:03 PM3/12/18
to SpaDES Users
Hi all

after a successful mySim<-simInit(stuff)
spades(mySim) generates this error:
Error in get(moduleCall, envir = sim@.envir[[cur[["moduleName"]]]])(sim,  : 
  unused argument (FALSE)

it seems to be an issue with the development vs the CRAN version; the CRAN version fails. 


Eliot McIntire

unread,
Mar 12, 2018, 5:22:30 PM3/12/18
to SpaDES Users
Can you type 

traceback()

immediately after getting that error?  Since the error could be occurring at *ANY* level within the call stack, it is hard to diagnose with just the error message. That is what traceback() can help with...

Steve Cumming

unread,
Mar 12, 2018, 5:53:25 PM3/12/18
to SpaDES Users
4: get(moduleCall, envir = sim@.envir[[cur[["moduleName"]]]])(sim, 
       cur[["eventTime"]], cur[["eventType"]], FALSE)
3: doEvent(sim, debug = debug, notOlderThan = notOlderThan)
2: spades(mySim)
1: spades(mySim)


Reply all
Reply to author
Forward
0 new messages