The sampsizer package is currently only available via GitHub. To install, run the following commands in R:
sampsizer
R
if(!require(devtools)) install.packages("devtools") devtools::install_github("ernestguevarra/sampsizer")