Here is a list of R packages.
Robust Instrumental Variable Methods in Linear Models [CRAN] [GitHub]
Control Function Methods with Possibly Invalid Instrumental Variables [CRAN] [GitHub]
Design-based Causal Inference for Incomplete Block Designs [CRAN] [GitHub]