A function to see if your username and password are set for nsapi. Note that I have no clue if the password or username are correct, that is up to you.

check_ns_api_keys()

Details

For more details see the help vignette: vignette("basic_use_nsapi_package", package = "nsapi") and get your keys here: https://www.ns.nl/ews-aanvraagformulier/?0