MarkovChain in R version 4.2.2

Depends on what happened to invoke it. Without a reprex (see the FAQ), it's very hard to guess.