Opened 9 years ago
Closed 9 years ago
#46838 closed enhancement (fixed)
fix breakage in rNMR 1.1.7 against recent R pacakage
Reported by: | howarth.at.macports@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch maintainer | Cc: | |
Port: | rNMR |
Description
The current rNMR package fails to open its tcl/tk windows at runtime due to a change in the R package since the rNMR package was added 3 years ago. At that time, I was guided to install the cran package in ${destroot}${prefix}/lib/R/library/${name} but now apparently MacPorts R no longer checks that directory and the rNMR cran package has to be installed in ${destroot}${prefix}/Library/Frameworks/R.framework/Resources/library/${name} instead. The attached Portfile diff and revised rNMR.sh makes this change and allows stock rNMR to properly open its tcltk windows again.
Attachments (2)
Change History (5)
Changed 9 years ago by howarth.at.macports@…
Attachment: | Portfile.diff added |
---|
Changed 9 years ago by howarth.at.macports@…
revised rNMR.sh file to use ${prefix}/Library/Frameworks/R.framework/Resources/library
comment:1 Changed 9 years ago by mf2k (Frank Schima)
Keywords: | haspatch maintainer added |
---|---|
Type: | update → enhancement |
Version: | 2.3.3 |
comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
Thanks. Note that the variable ${frameworks_dir}
needs to be used instead of assuming that its value will always be ${prefix}/Library/Frameworks
.
comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Portfile diff to use framework based path for installing rNMR cran package