Changelog
Source:NEWS.md
SWMPR 2.5.0
CRAN release: 2023-07-16
Added
keep_qaqcstatus
argument toimport_local()
to retainhistorical
andprovisionalplus
columns in the outputAdded unit testing for most functions
SWMPr 2.4.3
CRAN release: 2023-04-03
- Removed maptools dependency, replaced with
getSunlightTimes()
function from suncalc package to estimate metabolic days inmetab_day()
function
SWMPr 2.4.2
CRAN release: 2022-11-29
Added
fill
argument toplot_summary
as option to fill missing values with long term monthly averages or linear interpolationAdded
base_size
argument for global text size inplot_summary
Fix to annual anomalies in
plot_summary
as average of monthly sumsEnhancement to
qaqc
to work if angle brackets not included in qualifier codesOnly required functions from data.table dependency imported
SWMPr 2.4.1
CRAN release: 2021-09-02
Fix to
map_reserve
function for updates to ggmapAdded Pacific/Honolulu time zone and
'hee'
site code totime_vec
function for He’eia reserveAdded
colsleft
,colsmid
, andcolsright
arguments toplot_summary
for separate colors on left, mid, right portions of plotURL fix to
metab_day
documentation
SWMPr 2.4.0
CRAN release: 2021-01-05
Each function is now in its own file instead of grouped by categories (thanks Kim!)
Fix to gas exchange estimate for correct units in
ecometab
functionFixing broken URLs in vignette and package documentation
SWMPr 2.3.1
CRAN release: 2019-05-30
Added
collMethd
argument toimport_local
function to specify diel or standard monthly sampling for nutrient samplesMinor fix to
swmpr
function if trailing white spaces found at end of each qaqc columnMinor fix to help files if searching by concept, e.g.,
help.search('analyze', package = "SWMPr")
SWMPr 2.3.0
CRAN release: 2018-02-08
Added informative error message if IP address not registered for using CDMO web services
Added
plot_quants
function to evaluate trends relative to long-term averagesAll numeric columns are forced to numeric atomic vectors on input
Documentation updated to indicate a return value in the
calckl
functionFixed bug with
comb
function if differ argument is incorrectAdded option in
qaqc
to included additional columns specifying censored values (viacens_id
function)
SWMPr 2.2.0
CRAN release: 2016-11-08
Added
plot_wind
function for wind roses from weather dataFixes to
decomp_cj
function, including grandmean back to outputAdded point and line options for
overplot
Trailing whitespace in qaqc columns are removed in
swmpr
argumentRemoved dependency to deprecated wq package
Safety stop in
import_local
if data type not in station codeRemoved use of
setstep
function inecometab
that caused less precise resultsFixed bug with sanity check of
depth_val
argument inecometab
Fixed bug with
metab_day
if original time series was not continuousDefault S3 method added to
ecometab
SWMPr 2.1.5
CRAN release: 2016-03-28
-
parser
now usesxmlTreeParse
making CDMO retrieval functions much faster
SWMPr 2.1.2
Default method for
smoother
was added,aggremetab
can now use moving window smoothing with appropriate changes inplot_metab
SWMPr 2.1.1
- Fixed bug with character input for
timestep
argument insetstep
. The default value fordiffer
was causing an error.
SWMPr 2.1.0
CRAN release: 2015-08-10
- Version update for push to CRAN, previous was 2.0.0. See the notes below about each version change for updates since the last push.
SWMPr 2.0.14
- Fixed issue with default method of
comb
that caused error if the input was not a list of objects to combine.
SWMPr 2.0.9
-
overplot
function added that allows plotting of multiple variables on the sample plot with different y-axes.
SWMPr 2.0.8
-
qaqc
function now uses string matching to keep flags. This is a more flexible approach to keeping desired flags, the previous version used hard coded integers for each flag.
SWMPr 2.0.7
- Fixed bug in
plot_summary
that returned an error if a cumulative precipitation column was present. This is no longer collected by SWMP but older datasets may have have it included.
SWMPr 2.0.6
- Some tweaks to
import_local
to handle more flexible text input for the station code. Function doesn’t break if the file extension is included and the date is stripped from the station attribute of the imported swmpr object.
SWMPr 2.0.5
import_local
function can now import files directly from a zipped folder, i.e., it doesn’t have to be decompressed first.SWMPr functions can be searched by concepts - retrieve, organize, analyse, e.g.,
help.search('retrieve', package = 'SWMPr')