Always extract the RAR using dedicated software (WinRAR, The Unarchiver, or 7-Zip) before attempting to interact with the PKG.
But here is the immediate reality check: rar to pkg