richelbilderbeek / Cer2016

Community Ecology Research course 2016
GNU General Public License v3.0
1 stars 0 forks source link

read_collected_parameters returns old values #105

Closed richelbilderbeek closed 8 years ago

richelbilderbeek commented 8 years ago

From a fresh Peregrine run, read_collected_parameters appears to only analyse the toy examples:

issue

When are the collected parameters analysed? Is this truely after the creation of those?

richelbilderbeek commented 8 years ago

The scripts/collect_times.R chokes on something.

richelbilderbeek commented 8 years ago

When I run it locally, it nicely produces the vignette, a.o. these graphs:

progress

richelbilderbeek commented 8 years ago

Run shell script from the command line:

p230198@fwn-biol-132-102:~/GitHubs/Cer2016/scripts$ ./collect_times.sh 
./collect_times.sh: line 10: module: command not found
Error in .setupMethodsTables(fdef, initialize = TRUE) : 
  trying to get slot "group" from an object of a basic class ("NULL") with no slots
Calls: <Anonymous> ... getMethodsForDispatch -> .getMethodsTable -> .setupMethodsTables
Execution halted

real    0m1.236s
user    0m0.333s
sys 0m0.108s
richelbilderbeek commented 8 years ago

Run R script from command line:

p230198@fwn-biol-132-102:~/GitHubs/Cer2016/scripts$ Rscript collect_times.R
Error in .setupMethodsTables(fdef, initialize = TRUE) : 
  trying to get slot "group" from an object of a basic class ("NULL") with no slots
Calls: <Anonymous> ... getMethodsForDispatch -> .getMethodsTable -> .setupMethodsTables
Execution halted
richelbilderbeek commented 8 years ago

From here I read the suggestion to use library(methods)