NicheMapR not being activated as it was 'installed by an R version with different internals'

I keep trying to redownlaod it and I have followed all the instructions online. NicheMapR is not on Cran and the latest verison was released in June 2018. Below is what comes up everytime I try and open NicheMapR

Library(NicheMapR)
Error: package or namespace load failed for ‘NicheMapR’:
package ‘NicheMapR’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version

install it from github

remotes::install_github("mrke/NicheMapR")

It still is not working

  • installing source package ‘NicheMapR’ ...
    ** using staged installation
    ** libs
    gfortran -fPIC -Wall -g -O2 -c AACOMMONDAT.f -o AACOMMONDAT.o
    make: gfortran: No such file or directory
    make: *** [AACOMMONDAT.o] Error 1
    ERROR: compilation failed for package ‘NicheMapR’
  • removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/NicheMapR’
    Error: Failed to install 'NicheMapR' from GitHub:
    (converted from warning) installation of package ‘/var/folders/n5/p2snc78j4tz72ctxyh7b1tyw0000gn/T//Rtmpd2KmB8/filea50d312705e7/NicheMapR_2.1.1.tar.gz’ had non-zero exit status

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