Running examples in ‘gmapsdistance-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gmapsdistance
> ### Title: gmapsdistance
> ### Aliases: gmapsdistance
> 
> ### ** Examples
> 
> # Example 1
> results = gmapsdistance(origin = "Washington+DC", 
+                         destination = "New+York+City+NY", 
+                         mode = "driving")
> results
$Time
[1] 13798

$Distance
[1] 361955

$Status
[1] "OK"

> 
> # Example 2
> results = gmapsdistance(origin = "38.1621328+24.0029257",
+                         destination = "37.9908372+23.7383394",
+                         mode = "walking")
> results
$Time
[1] 30471

$Distance
[1] 39479

$Status
[1] "OK"

> 
> # Example 3
> results = gmapsdistance(origin = c("Seattle+WA", "Miami+FL"), 
+                         destination = c("Chicago+IL", "Philadelphia+PA"), 
+                         mode = "bicycling", 
+                         dep_date = "2021-08-16", 
+                         dep_time = "20:40:00")
> 
> results
$Time
          or Time.Chicago+IL Time.Philadelphia+PA
1 Seattle+WA          675084               955384
2   Miami+FL          450721               410965

$Distance
          or Distance.Chicago+IL Distance.Philadelphia+PA
1 Seattle+WA             3587437                  5049776
2   Miami+FL             2377150                  2172026

$Status
          or status.Chicago+IL status.Philadelphia+PA
1 Seattle+WA                OK                     OK
2   Miami+FL                OK                     OK

> 
> # Example 4
> origin = c("Washington+DC", "Miami+FL")
> destination = c("Los+Angeles+CA", "Austin+TX", "Chicago+IL")
> results = gmapsdistance(origin, destination, mode = "driving", shape = "long")
> results
$Time
             or             de   Time
1 Washington+DC Los+Angeles+CA 140341
2      Miami+FL Los+Angeles+CA 139534
3 Washington+DC      Austin+TX  80959
4      Miami+FL      Austin+TX  69454
5 Washington+DC     Chicago+IL  38776
6      Miami+FL     Chicago+IL  71992

$Distance
             or             de Distance
1 Washington+DC Los+Angeles+CA  4294783
2      Miami+FL Los+Angeles+CA  4397971
3 Washington+DC      Austin+TX  2450867
4      Miami+FL      Austin+TX  2175936
5 Washington+DC     Chicago+IL  1124571
6      Miami+FL     Chicago+IL  2219965

$Status
             or             de status
1 Washington+DC Los+Angeles+CA     OK
2      Miami+FL Los+Angeles+CA     OK
3 Washington+DC      Austin+TX     OK
4      Miami+FL      Austin+TX     OK
5 Washington+DC     Chicago+IL     OK
6      Miami+FL     Chicago+IL     OK

> 
> # Example 5
> origin = c("40.431478+-80.0505401", "33.7678359+-84.4906438")
> destination = c("43.0995629+-79.0437609", "41.7096483+-86.9093986")
> results = gmapsdistance(origin, destination, mode = "bicycling", shape="long")
Error in gmapsdistance(origin, destination, mode = "bicycling", shape = "long") : 
  Google API returned an error: You have exceeded your rate-limit for this API. We recommend registering for a key at the Google Developers Console: https://console.developers.google.com/apis/credentials?project=_
Execution halted