I had similar experiences asking rstats questions. ChatGPT would provide R package names, and syntax to use the packages that make total sense (even using "R puns"). If these packages were real, that's what they would be called. But they weren't real-- ChatGPT made them up.