You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that it's best practice to seperate the two to avoid hard coding and code sharing of token. Something like this would be great:
keyring::key_set_with_value(
service="ZENODO_PAT", # Service name (matches the environment variable)password="<your_token>"# Replace with your actual Zenodo token
)
zenodo<-ZenodoManager$new(
token=keyring::key_get(service="ZENODO_PAT"), # Use this as default valuelogger="INFO"
)
I believe that it's best practice to seperate the two to avoid hard coding and code sharing of token. Something like this would be great:
See https://github.com/bluegreen-labs/ecmwfr/blob/master/R/wf_set_key.R for instance.
The text was updated successfully, but these errors were encountered: