Closed iantaylor-NOAA closed 3 years ago
I had a there is no package called 'reshape' error installing PacFIN.Utilities. I think this line https://github.com/nwfsc-assess/PacFIN.Utilities/blob/master/R/plotStrat.R#L13 causes the package to be dependent on the reshape package (which exists on CRAN but I didn't have it installed). However, looking at the code below, it appears from https://github.com/nwfsc-assess/PacFIN.Utilities/blob/master/R/plotStrat.R#L36 that a function called reshape() is what is needed, not the reshape package. If so, I think line 13 could be changed from
there is no package called 'reshape'
reshape
reshape()
@import stats reshape
to
@importFrom stats reshape
This issue was resolved in commit 91c5ecd59a983b434d3d64d9bf6c53a270e97e2e by @kellijohnson-NOAA. The commit message notes that "many more functions need to be changed" to use :: instead of import.
I had a
there is no package called 'reshape'
error installing PacFIN.Utilities. I think this line https://github.com/nwfsc-assess/PacFIN.Utilities/blob/master/R/plotStrat.R#L13 causes the package to be dependent on thereshape
package (which exists on CRAN but I didn't have it installed). However, looking at the code below, it appears from https://github.com/nwfsc-assess/PacFIN.Utilities/blob/master/R/plotStrat.R#L36 that a function calledreshape()
is what is needed, not thereshape
package. If so, I think line 13 could be changed fromto