I get a warning on running the first example for readNWISqw:
readNWISqw
In attr(doc, "header") : partial match of 'header' to 'headerInfo'
Under the hood getWebServiceData.r sets an attribute headerInfo but subsequent lines in importRDB1.r and readNWISqw.r read from the header attribute (instead of headerInfo) via partial matching. While partial matching doesn't cause an error in this case, it might in the future. I have a PR prepared to read explicitly from headerInfo and avoid this warning.
You may not see the same warning unless you have the following set in your .Rprofile:
I get a warning on running the first example for
readNWISqw
:Under the hood
getWebServiceData.r
sets an attributeheaderInfo
but subsequent lines inimportRDB1.r
andreadNWISqw.r
read from theheader
attribute (instead ofheaderInfo
) via partial matching. While partial matching doesn't cause an error in this case, it might in the future. I have a PR prepared to read explicitly fromheaderInfo
and avoid this warning.You may not see the same warning unless you have the following set in your
.Rprofile
: