Skip to content

Potential bug using permutest?  #369

@ecologyjh

Description

@ecologyjh

I am not an R wizard yet but I just spent 3 hours trying to figure out why my permutest code stopped working. Maybe there's a way to fix this to save other people spending 3 hours on it in the future! Not sure if this would be reproduced on other machines as have not been able to test.

I ran the following rstan code to increase computing power:

rstan_options(auto_write = TRUE)
options(mc.cores = parallel::detectCores())

I then ran betadisper followed by permutest (the code from the example in the permutest.betadisper R documentation returns the same result for me - which can be used to test this) to be returned with the error:

Pstats [,1]:incorrect number of dimensions

When I restarted without running the cores code, there were no issues again. I read somewhere that this was supposed to have been fixed in a previous version - but I still had problems! Hope this is useful.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions