I just found this paper, which basically is a description of the methods implemented in R. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2896087
I couldn't find any information on the code and the authors have not yet responded to my question. Additionally, there's another question here: Panel vector autoregression models in R?