taudem_sitrep {traudem} | R Documentation |
Checks installation of TauDEM and provides useful hints.
taudem_sitrep()
can_register_taudem()
For taudem_sitrep()
: None.
For can_register_taudem()
: A logical scalar.
Once you have installed TauDEM, add an environment variable
pointing to the correct path.
For instance on Ubuntu it could be adding this line in .Renviron
(see usethis::edit_r_environ()
)
and then re-starting R:
TAUDEM_PATH='/usr/local/taudem'
or, for just the session, running this line of R code:
Sys.setenv(TAUDEM_PATH = "/usr/local/taudem")
try(taudem_sitrep(), silent = TRUE)
can_register_taudem()