Using the bfpwr package
z-test Bayes factor | t-test Bayes factor | Normal moment prior Bayes factor