gsw_infunnel()
Calloc
to R_Calloc
etc, so package builds with "strict"
header checking (issue #63).This update is based on C code from https://github.com/TEOS-10/GSW-C (release
v3.06-16-0, commit 657216dd4f5ea079b5f0e021a4163e2d26893371) and the .mat data
file from https://github.com/TEOS-10/GSW-Matlab (commit
38c9635d6fd93e74c2648e4ee23cec49c1f58530). It was necessary to make some
changes to the within-documentation test suite, as listed below; MRD stands for
Mean Relative Difference from the values in the previous CRAN release of gsw
,
version 1.0-6 released 2021-07-07.
gsw_rho_second_derivatives()$rho_SA_p
: MRD 0.4gsw_rho_second_derivatives_wrt_enthalpy()$rho_SA_SA
: MRD 1e-3gsw_specvol_second_derivatives()$specvol_SA_p
: MRD 0.2gsw_specvol_second_derivatives_wrt_enthalpy()$specvol_SA_SA
: MRD 3e-4gsw_thermobaric()$rb
: MRD 0.04bad2c9e4e154597ce563aaaf3ce09b1c52a2ab46
. This does not change any
existing functions in GSW-R.9c10670e89fce906da2cebce3399d73c054e769e
.