vasishth / Freq_CogSci

Linear mixed models in Linguistics and Psychology: A Comprehensive Introduction
MIT License
23 stars 14 forks source link

Compiling book fails: data/powerbeta1mean.Rda missing #29

Open tmalsburg opened 2 years ago

tmalsburg commented 2 years ago

Compiling the book fails because the file data/powerbeta1mean.Rda is missing, see here.

There is a line that creates this file on disk but it's commented out, see here.

Not clear why the file is created and then immediately loaded. The detour via disk may not be necessary.

Same problem here.

vasishth commented 2 years ago

I will recompile the book, i have activated this code that was set to eval=FALSE. These later chapters are under construction, so not been used much yet in teaching (too advanced).

You will now probably need a lot of time to compile the book, as the power analyses take a lot of time. Also, delete your cache directory if you recompile. The cache gets corrupted. Probably the book will not compile now :) so I am leaving this open for now.

tmalsburg commented 2 years ago

You will now probably need a lot of time to compile the book,

Just measured it and it takes approx. 6 minutes from scratch.

vasishth commented 2 years ago

i pushed a bunch of changes yesterday night following your suggestions. on my mac it took only a few mins, to my surprise, making me think something might be wrong in chapters 8 or 9. will check.

anyway, you are not using this book yet, right? i will be making a major revision between now and April.

tmalsburg commented 2 years ago

anyway, you are not using this book yet, right? i will be making a major revision between now and April.

I don't know what I'm going to do in the course yet. But don't delay your revisions because of me. I can always go back in the git history if the current version at that time is too much under construction.