Roy, the reason sf binary is not on CRAN is that it fails checks: https://www.r-project.org/nosvn/R.check/r-release-osx-x86_64/sf-00check.html
When/if this is addressed the binary will appear. Cheers, Simon > On Jun 20, 2017, at 5:32 PM, Roy Mendelssohn - NOAA Federal > <roy.mendelss...@noaa.gov> wrote: > > Hi All: > > My apologies. Some days the brain kicks in more slowly than others. I was > able to answer my own question. Since a binary is not on CRAN, I thought I > would document what worked. > > 1. Get the needed frameworks from: > > http://www.kyngchaos.com/software/frameworks > > Make certain you have GDAL, GEOS and PROJ installed. By default they are > installed in /Library/Frameworks. > > 2. Download the source file from CRAN. > > 3. In a terminal, change directory to where the source file is located. > > 4. R CMD INSTALL sf_0.5-0.tar.gz > --configure-args='-with-gdal-config=/Library/Frameworks/GDAL.framework/Versions/2.1/unix/bin/gdal-config > > -with-geos-config=/Library/Frameworks/GEOS.framework/Versions/3/unix/bin/geos-config' > > If your version of the GDAL framework is different, make the obvious change. > > Is they any way to just directly get a binary on CRAN, or only if they can > build it on the CRAN machine? > > Thanks, > > -Roy > >> On Jun 20, 2017, at 8:12 AM, Roy Mendelssohn - NOAA Federal >> <roy.mendelss...@noaa.gov> wrote: >> >> Hi All: >> >> I am interesting in getting the latest version of the package SF running on >> my Mac (macOS Sierra, 10.12.5, R version 3.4). On CRAN only source is >> available for El Capitan or higher. There are several places that suggest >> SF can be compiled after doing the necessary installs using "brew" but I >> found that given my version of OS, one or more of the brew packages failed. >> I believe I have all the packages needed installed using the stuff from >> Kyngchaos, but my efforts to set the compile directories correctly have not >> worked. >> >> Has anyone been able to build this, or have any suggestions on how to build >> it? >> >> Thanks, >> >> -Roy >> >> >> >> ********************** >> "The contents of this message do not reflect any position of the U.S. >> Government or NOAA." >> ********************** >> Roy Mendelssohn >> Supervisory Operations Research Analyst >> NOAA/NMFS >> Environmental Research Division >> Southwest Fisheries Science Center >> ***Note new street address*** >> 110 McAllister Way >> Santa Cruz, CA 95060 >> Phone: (831)-420-3666 >> Fax: (831) 420-3980 >> e-mail: roy.mendelss...@noaa.gov www: http://www.pfeg.noaa.gov/ >> >> "Old age and treachery will overcome youth and skill." >> "From those who have been given much, much will be expected" >> "the arc of the moral universe is long, but it bends toward justice" -MLK Jr. >> > > ********************** > "The contents of this message do not reflect any position of the U.S. > Government or NOAA." > ********************** > Roy Mendelssohn > Supervisory Operations Research Analyst > NOAA/NMFS > Environmental Research Division > Southwest Fisheries Science Center > ***Note new street address*** > 110 McAllister Way > Santa Cruz, CA 95060 > Phone: (831)-420-3666 > Fax: (831) 420-3980 > e-mail: roy.mendelss...@noaa.gov www: http://www.pfeg.noaa.gov/ > > "Old age and treachery will overcome youth and skill." > "From those who have been given much, much will be expected" > "the arc of the moral universe is long, but it bends toward justice" -MLK Jr. > > _______________________________________________ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac