[MacPorts] #46849: R-3.1.2-1 update to restore support for ${prefix}/lib/R/library
MacPorts
noreply at macports.org
Fri Feb 13 10:18:19 PST 2015
#46849: R-3.1.2-1 update to restore support for ${prefix}/lib/R/library
-----------------------------------+--------------------------------
Reporter: howarth.at.macports@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: R
-----------------------------------+--------------------------------
The attached Portfile diff restores the previous behavior of R being able
to find R packages installed in ${prefix}/lib/R/library by providing
access to that directory via a 'site-library' symlink in
${destroot}${prefix}/Library/Frameworks/R.framework/Versions/${major}.${minor}/Resources.
This changes the current behavior from...
{{{
% R
R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin14.3.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> .libPaths()
[1]
"/opt/local/Library/Frameworks/R.framework/Versions/3.1/Resources/library"
>
}}}
...to the desired...
{{{
% R
R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin14.3.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> .libPaths()
[1] "/opt/local/lib/R/library"
[2]
"/opt/local/Library/Frameworks/R.framework/Versions/3.1/Resources/library"
>
}}}
...once the ${prefix}/lib/R/library directory exists upon installation of
another package like previous rNMR-1.1.7 which stored its cran package
files there.
--
Ticket URL: <https://trac.macports.org/ticket/46849>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list