Closed micha-silver closed 3 years ago
Dear Micha, with the new release both work fine. Please let me know.
Ale
body p { margin-bottom: 0cm; margin-top: 0pt; }
Many thanks.
I'll have a look in the coming days.
Kind regards,
Micha
On 10/19/21 10:16 AM, Alessandro
Oggioni wrote:
Dear Micha,
with the new release both work fine.
Please let me know.
Ale
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
[
{ @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/oggioniale/ReLTER/issues/9#issuecomment-946431120", "url": "https://github.com/oggioniale/ReLTER/issues/9#issuecomment-946431120", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
--
Micha Silver Ben Gurion Univ. Sde Boker, Remote Sensing Lab cell: +972-523-665918 https://orcid.org/0000-0002-1128-1325
Sorry @micha-silver I don't understand where, what is the error.
I see:
> p <- getSiteParameters()
Error in sub("^.+/", "", deimsid) :
argument "deimsid" is missing, with no default
If the function parameter is set to NA by default, then a check for is.na(deimsid)
will be TRUE, and you can catch that user error (no deims id supplied).
But this is really trivial.... maybe it can be ignored.
THese functions should run with no parameter and return a tibble for all DEIMS sites. However the
sitenum
default value is set to NULL instead of NA, then the test forsitenum
fails:The default
sitenum
value in function definition should be NA (instead of NULL)