edl_unset_netrc | R Documentation |
Unsets environmental variables set by edl_netrc() and removes
configuration files set by edl_netrc()
.
edl_unset_netrc(
netrc_path = edl_netrc_path(),
cookie_path = edl_cookie_path(),
cloud_config = TRUE
)
netrc_path |
Path to the .netrc file to be created. Defaults to the
appropriate R package configuration location given by |
cookie_path |
Path to the file where cookies will be stored. Defaults
to the appropriate R package configuration location given by
|
cloud_config |
set |
Note that this function should rarely be necessary, as unlike bearer token-based auth, netrc is mapped by domain name and will not interfere with access to non-earthdata-based URLs. It may still be necessary to deactivate in order to use one of the other earthdatalogin authentication methods.
To unset environmental variables without removing files, set that file
path argument to ""
(see examples)
Note that GDAL_HTTP_NETRC defaults to YES.
invisible TRUE, if successful (even if no env is set.)
edl_unset_netrc()
# unset environmental variables only
edl_unset_netrc("", "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.