GLEON / rLakeAnalyzer

An R version of Lake Analyzer
43 stars 26 forks source link

Missing functions get.datetime and drop.datetime #116

Open jabrent opened 2 years ago

jabrent commented 2 years ago

The functions get.datetime, drop.datetime and the dataset latesummer are in the package documentation but are not loading with the package v.1.12.0 (installed from GitHub) or v.1.11.4 available on CRAN. Any ideas @lawinslow ?

rLakeAnalyzer::get.datetime
Error: 'get.datetime' is not an exported object from 'namespace:rLakeAnalyzer'
hdugan commented 2 years ago

It's a hidden function, which means I think the following will work

rLakeAnalyzer:::get.datetime

But that doesn't solve the problem of the functions being in the documentation, yet not accessible.

jabrent commented 2 years ago

Thanks @hdugan ! Good to know - I had not realized you could have hidden functions. Might be good to add some info to the documentation to indicate they are hidden functions. Guessing there was another reason for keeping those functions hidden?

jsta commented 2 years ago

If they should remain hidden, then the @noRd tag should be added to the roxygen block to suppress the documentation. If they should be public, then the @export tag should be added.