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)

Portfile.diff (2.0 KB) - added by howarth.at.macports@… 9 years ago.
Portfile diff to use framework based path for installing rNMR cran package
rNMR.sh (137 bytes) - added by howarth.at.macports@… 9 years ago.
revised rNMR.sh file to use ${prefix}/Library/Frameworks/R.framework/Resources/library

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by howarth.at.macports@…

Attachment: Portfile.diff added

Portfile diff to use framework based path for installing rNMR cran package

Changed 9 years ago by howarth.at.macports@…

Attachment: rNMR.sh added

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: updateenhancement
Version: 2.3.3

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

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: assignedclosed
Note: See TracTickets for help on using tickets.