If you have the R code or a copy of the VBA please share it, since I haven’t seen it and it’s not in the links you post above. The FDA doc has some formula’s but no code and the BEBAC threads above comment;
“Note, though, that FDA’s equations require that there are no missing values (not even a single one!) and that ideally the number of units per lot is the same between T and R”