Using listParts() from the partitions package immediately causes R and RStudio to crash, no matter the input. Below is a reproducible example and traceback with error message. I'm running R 4.2.0 GUI 1.78 High Sierra build and RStudio 2022.2.3.492 on macOS Monterey 12.2.1. The function runs fine on my coworker's PC. Any help appreciated!
> library(partitions)
> myVec <- c(1:3)
> partitions::listParts(length(myVec))
*** caught illegal operation ***
address 0x119c1cbfe, cause 'illegal opcode'
Traceback:
1: as.bigz(1)
2: .fac(sum(x))
3: setparts(x)
4: partitions::listParts(myVec)