To build and check R packages on R-hub, you need to validate your email address. This is because R-hub sends out emails about check results.

validate_email(email = NULL, token = NULL)



The email address to validate.


Token obtained from rhub, to validate the email address.


The rhub package stores validated email addresses in a user configuration file, at a platform-dependent location. On your current platform the file is at ~/.local/share/rhub/validated_emails.csv .

To validate a new email address, call this function from an interactive R session, without any arguments.

To add an email address that was validated before (probably on another machine), to the configuration file, call this function with the email and token arguments.

See also

Other email validation: list_validated_emails()