Install older mlogit package in Mac OS

Hi, I am running Version 1.2.5042 of R studio and R version 4.0.0 and need to downgrade mlogit package from mlogit 1.1 to 1.0-1
I have tried the following code:

install.packages(c("devtools", "lmtest", "statmod"))
install_version("mlogit", version="1.0-1", repos="")

But I get this:

Downloading package from url:
tar: Failed to set default locale
tar: Failed to set default locale
Error: (converted from warning) Setting LC_CTYPE failed, using "C"
Execution halted
Error: Failed to install 'unknown package' from URL:
(converted from warning) installation of package '/var/folders/fv/tjw5xx097l7471dvdlpgkw540000gn/T//Rtmpo0eEEg/remotesa0c03fa5dd5/mlogit' had non-zero exit status

Any idea on how to do it on Mac?

Thank you in Advance!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.