These messages seem relevant:
>Error: package ?CVXR? could not be loaded
>Warning messages:
>1: In i.p(...) : installation of package ?gmp? had non-zero exit status
You need to make sure these packages are installed successfully before the
package you are interested will install.
Please don't send formatted email to this list ... as the Posting Guide
indicates, the list is for plain text and others may receive a garbled version
of what you sent it your email program is not configured properly.
On February 24, 2022 11:43:05 AM PST, Tariq Khasiri <tariqkhasiri at
gmail.com> wrote:>Hello everyone,
>
>I'm trying to install a package honestdid and following the commands of
the
>developer of that package
>
># Install some packages
>library(devtools)
>install_github("bcallaway11/BMisc", dependencies = TRUE)
>install_github("bcallaway11/did", dependencies = TRUE)
>install_github("asheshrambachan/HonestDiD", dependencies = TRUE)
>
>
>But, the error message is saying:
>
>* installing *source* package ?HonestDiD? ...
>** using staged installation
>** R
>** data
>*** moving datasets to lazyload DB
>** inst
>** byte-compile and prepare package for lazy loading
>Error: package or namespace load failed for ?CVXR? in loadNamespace(j
><- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
> there is no package called ?gmp?
>Error: package ?CVXR? could not be loaded
>Execution halted
>ERROR: lazy loading failed for package ?HonestDiD?
>* removing
?/Library/Frameworks/R.framework/Versions/4.1/Resources/library/HonestDiD?
>Warning messages:
>1: In i.p(...) : installation of package ?gmp? had non-zero exit status
>2: In i.p(...) :
> installation of package
>?/var/folders/4m/tvx9lnqs0rx6wgnysxz36vm00000gp/T//Rtmpk3pocK/file86e83034c58c/HonestDiD_0.2.0.tar.gz?
>had non-zero exit status
>
>
>Can anyone guide me why i'm having this issue? Thanks in advance !
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.
--
Sent from my phone. Please excuse my brevity.