Error in t(y) %*% x : non-conformable arguments for Summary function

Do all the example documented in ?pgmm work for you ?
If no, that would be interesting and might reveal something.

If yes, then I would think we need to see your p.data or something similar, or else how should we reproduce your issue ?

FAQ: How to do a minimal reproducible example ( reprex ) for beginners