[R] installation problem for a new package

Tariq Khasiri t@r|qkh@@|r| @end|ng |rom gm@||@com
Thu Feb 24 20:43:05 CET 2022


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]]



More information about the R-help mailing list