Closed isaactpetersen closed 3 years ago
Does the same issue occur when you install the CRAN version from source?
install.packages('mirt', type = 'source')
If so, it might be that your compilers need to be reconfigured. (e.g., on Windows, it looks like g++.exe
is not in a path that R can see).
Does the same issue occur when you install the CRAN version from source?
install.packages('mirt', type = 'source')
If so, it might be that your compilers need to be reconfigured. (e.g., on Windows, it looks like
g++.exe
is not in a path that R can see).
Yes, I got the same error when trying to install the CRAN version from source. I was finally able to fix it on PC (see here). The issue was arising because my Rprofile.site
file prints text to the console, and the text was being inserted into the g++
command. I was able to install the package from source on my PC after I commented out the lines in the Rprofile.site file that print text to the console. However, I'm still getting an error when trying to install from source on my Mac.
Thanks for this resource. I have already followed the instructions at that link for installing the R Compiler Tools on my mac (as linked in my original post).
I'm trying to install the latest development version of the
mirt
package on github from source, but am receiving errors. I am receiving errors on both PC and Mac. Note that both my PC and Mac are set up to install packages from source, and I have successfully installed packages from source on both systems. For instance, I have verified that I can successfully install the packagejsonlite
from source on both my PC and Mac with the following command:install.packages("jsonlite", type = "source")
. I have Rtools 4.0 installed on my PC and Xcode and R Compiler Tools installed on my Mac. Any help would be greatly appreciated--thanks!Here's the error I receive when trying to install from source on my PC:
Session Info:
Here's the error I receive when trying to install from source on my Mac:
Session Info:
I also received an error when trying the follow the special installation instructions for installing on Mac: