JanaJarecki / cognitivemodels

Cognitivemodels is an open-source R library to create, fit, test, and compare computational cognitive models based on machine-learning principles.
25 stars 4 forks source link

failed ti install in Mac OS Big Sur 11.6.6 #86

Closed jesuscgaliano closed 2 years ago

jesuscgaliano commented 2 years ago

ERROR: lazy loading failed for package ‘cognitivemodels’

JanaJarecki commented 2 years ago

Hi,

try to install the rgl package, then restart R completely, then re-install the cognitivemodels package

    install.packages("rgl")

Can you report back if that works? Best, Jana

On 17.05.2022 19:43, jesuscgaliano wrote:

ERROR: lazy loading failed for package ‘cognitivemodels’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/cognitivemodels’ Warning messages: 1: In i.p(...) : installation of package ‘rgl’ had non-zero exit status 2: In i.p(...) : installation of package ‘/var/folders/nk/0fr4rt8x5p9dw90m2w2nphww0000gn/T//Rtmpv7tgQQ/file5a3e6bde1d66/cognitivemodels_0.0.12.tar.gz’ had non-zero exit status

    library(cognitivemodels) Error in library(cognitivemodels) : there is no package called ‘cognitivemodels’

— Reply to this email directly, view it on GitHub https://github.com/JanaJarecki/cognitivemodels/issues/86, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACK23H2I2TOWUTBNXBGLJK3VKPLFDANCNFSM5WFWQWFQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

jesuscgaliano commented 2 years ago

Hi Jana, thanks for your reply, I've done! but it does not work (:

Best, Jesús

Output lines just before installing:

installing to /Library/Frameworks/R.framework/Versions/4.1/Resources/library/00LOCK-cognitivemodels/00new/cognitivemodels/libs R data moving datasets to lazyload DB byte-compile and prepare package for lazy loading help installing help indices building package indices installing vignettes testing if installed package can be loaded from temporary location checking absolute paths in shared objects and dynamic libraries testing if installed package can be loaded from final location testing if installed package keeps a record of temporary installation path

jesuscgaliano commented 2 years ago

Hi Jana, I think it works fine after updating RStudio and R Thanks again

JanaJarecki commented 2 years ago

Hi, thanks for updating!