NEWS


baytrends 1.0.2

to git.ignore and .Rbuildignore \* Error; sensAdjflow2.R ‘figNum’. Add

QC check to ensure is defined. \* Warning; undocumented dataset; added

param and default to mergeFlow, gamTest, gamPlotCalc, and gamDiff. Also

added to data.R (was missing). \* Note; Namespace, importFrom.

importFrom(‘stats’, ‘BIC’, ‘StructTS’, ‘aggregate’, ‘approx’, ‘cov2cor

detrended.salinity.R \* Add functions from swmr packages: + smwrBase

mdlROS, pcodeNWISqw + smwrStats; rmse, vif \* Adding the above led to

others that needed to be added: + smwrGraphs; refLine, xyPlot

smwrBase; importRDB \* Addition of xyPlot required more functions:

smwrGraphs; setPlot, linearPretty, setPage, timePlot, colorPlot

Remove cross references in ‘seealso’ for some of the imported smwr

functions. + importRDB, isLike, linearPretty, refLinem, setPage

setplot, timePlot, cn \* importFrom needed for 3 more packages in the

newest smwr functions that were added. + importFrom(‘grDevices

importFrom(‘graphics’, ‘box’, ‘segments’, ‘strwidth’)

importFrom(‘stats’, ‘cov.wt’, ‘dist’, ‘model.matrix’) \* Add more smwr

package functions: + Base; dectime, dectime2Date + Graphs; datePretty

namePretty, numericData, setColor, setGD, setMargin , setMultiPlot

timePretty \* Fix links in most recently added functions; comment out

seealso. + datePretty, dectime, namePretty, setColor, setMargin

setMultiPlot \* Add importFrom; grDevices colors \* Add function from

smwr packages; + smwrGraphs; month.USGS, renderPretty, setExplan

transData, linewt (framewt) \* Add importFrom for the newly added

functions. + importFrom(‘grDevices’, ‘col2rgb’, ‘rgb’)

importFrom(‘graphics’, ‘axis’) \* Add function from smwr packages;

smwrGraphs; addCaption \* Fix ‘assign’ to global environment in

smwrGraphs_setPage.R + Line 180, comment out. Is setting to NULL as a

precaution but function isn’t used by baytrends. \* Data with ‘no

visible bindig for global variable’ error. + Add a line at the beginning

of each affected function to reference the data; baytrends::xyz. + Peter

Dalgaard’s proposed solution, 2014-Aug

no-visible-binding-for-global-variable-for-data-sets-in-a-package

stationMasterList, layerLukup + selectData; stationMasterList

parameterList, layerLukup \* gamDiff, bad usage of stat. Undefined. Line

salinity.detrended + .mergeSalinity; salinity.detrended + gamDiff

salinity.detrended