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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: weather_reading
> ### Title: Weather Reading
> ### Aliases: weather_reading
> ### Keywords: weather
> 
> ### ** Examples
> 
> weather_reading()
$air_temp
# A tibble: 10 x 2
   station_id value
   <chr>      <dbl>
 1 S107        26.4
 2 S43         26.5
 3 S108        26.3
 4 S44         26.1
 5 S106        25.7
 6 S111        25.8
 7 S115        27.2
 8 S116        26.4
 9 S104        26  
10 S100        26.7

$rainfall
# A tibble: 69 x 2
   station_id value
   <chr>      <int>
 1 S77            0
 2 S109           0
 3 S90            0
 4 S114           0
 5 S11            0
 6 S50            0
 7 S107           0
 8 S215           0
 9 S118           0
10 S120           0
# … with 59 more rows

$relative_humidity
# A tibble: 10 x 2
   station_id value
   <chr>      <dbl>
 1 S107        79.7
 2 S43         80.3
 3 S108        77.4
 4 S44         73.3
 5 S106        85  
 6 S111        77.2
 7 S115        67.7
 8 S116        84.7
 9 S104        77.4
10 S100        75.2

$wind_direction
# A tibble: 0 x 0

$wind_speed
# A tibble: 9 x 2
  station_id value
  <chr>      <dbl>
1 S107        4.9 
2 S43        10.9 
3 S108        4.3 
4 S44         4.7 
5 S106        3.7 
6 S115        8.40
7 S116        8.3 
8 S104       11.7 
9 S100        3.7 

> weather_reading(date = "2019-11-08T17:30:00")
$air_temp
# A tibble: 14 x 2
   station_id value
   <chr>      <dbl>
 1 S117        29.7
 2 S50         30.1
 3 S107        29.6
 4 S43         30.6
 5 S44         29.4
 6 S121        30.5
 7 S106        29.5
 8 S111        30.4
 9 S122        29.7
10 S60         30.7
11 S115        28.5
12 S116        30.1
13 S104        30.2
14 S100        30.3

$rainfall
# A tibble: 52 x 2
   station_id value
   <chr>      <int>
 1 S105           0
 2 S77            0
 3 S109           0
 4 S117           0
 5 S64            0
 6 S90            0
 7 S61            0
 8 S114           0
 9 S11            0
10 S50            0
# … with 42 more rows

$relative_humidity
# A tibble: 14 x 2
   station_id value
   <chr>      <dbl>
 1 S117        83  
 2 S50         72.7
 3 S107        82  
 4 S43         71.4
 5 S44         78  
 6 S121        72.7
 7 S106        79  
 8 S111        66.6
 9 S122        79.9
10 S60         66.3
11 S115        82.8
12 S116        80  
13 S104        71.7
14 S100        72.9

$wind_direction
# A tibble: 0 x 0

$wind_speed
# A tibble: 15 x 2
   station_id value
   <chr>      <dbl>
 1 S109         4.6
 2 S117         3.6
 3 S50          3.1
 4 S107        11.9
 5 S43          4.3
 6 S108         6.9
 7 S44          6.3
 8 S106         2.5
 9 S122         5.7
10 S60          3.6
11 S115         6.8
12 S24          4.9
13 S116        16.4
14 S104         5.4
15 S100         2.9

> weather_reading(date = "2018-01-04T09:16:17", simplify = TRUE)
Note that the NAs in the data set are due to the particular weather station not collecting a particular weather information.
Error: Join columns must be present in data.
✖ Problem with `station_id`.
Backtrace:
    █
 1. └─datagovsgR::weather_reading(date = "2018-01-04T09:16:17", simplify = TRUE)
 2.   └─purrr::reduce(weather_reading, dplyr::full_join, by = "station_id")
 3.     └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
 4.       ├─dplyr:::fn(out, elt, ...)
 5.       └─dplyr:::full_join.data.frame(out, elt, ...)
 6.         └─dplyr:::join_mutate(...)
 7.           └─dplyr:::join_cols(...)
 8.             └─dplyr:::standardise_join_by(by, x_names = x_names, y_names = y_names)
 9.               └─dplyr:::check_join_vars(by$y, y_names)
Execution halted