diff --git a/DESCRIPTION b/DESCRIPTION index 8a89ee3..96f39c0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: rdhs Type: Package Title: API Client and Dataset Management for the Demographic and Health Survey (DHS) Data -Version: 0.8.2 +Version: 0.8.3 Authors@R: c(person(given = "OJ", family = "Watson", diff --git a/NEWS.md b/NEWS.md index 703324e..feeef50 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,10 @@ # rdhs (development version) +## rdhs 0.8.3 + +* Revise credential authentication error message to prompt user to check + all three of email, password, and *project name*. (#157) + ## rdhs 0.8.2 * Spatial boundaries will be cached using the DHS client (#122) diff --git a/R/authentication.R b/R/authentication.R index 4bb62cb..68c46fc 100644 --- a/R/authentication.R +++ b/R/authentication.R @@ -502,8 +502,9 @@ authenticate_dhs <- function(config) { } else { stop( "Your log in credentials were not recognised by the DHS website.\n", - "Please check your credentials are right (?get_rdhs_config), ", + "Please check your email, password, and project name are correct (?get_rdhs_config),\n", "and your internet connection for possible error." + ) } }