if(!require("hierfstat")) install.packages('hierfstat', repos = c('https://plasmogenepi.r-universe.dev', 'https://cloud.r-project.org'))Installing hierfstat
We can easily install hierfstat from the plasmogenepi repository
We will also need vcfR to load some data. Install this with:
if(!require("vcfR")) install.packages("vcfR")Once this finishes, check that the library loads ok
library(hierfstat)