I can successfully create plots of power vs. sample size in R using the pwr package. Example code below.
library(pwr) library(tidyverse) plot.out <- pwr.t2n.t