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

> ### Name: weather_reading
> ### Title: Weather Reading
> ### Aliases: weather_reading
> ### Keywords: weather
> 
> ### ** Examples
> 
> weather_reading()
$air_temp
# A tibble: 5 x 2
  station_id value
  <chr>      <dbl>
1 S107        28.2
2 S44         28.7
3 S102        27.5
4 S116        28  
5 S100        30.6

$rainfall
# A tibble: 68 x 2
   station_id value
   <chr>      <int>
 1 S77            0
 2 S109           0
 3 S64            0
 4 S90            0
 5 S61            0
 6 S114           0
 7 S50            0
 8 S107           0
 9 S215           0
10 S118           0
# ... with 58 more rows

$relative_humidity
# A tibble: 0 x 0

$wind_direction
# A tibble: 5 x 2
  station_id value
  <chr>      <int>
1 S107         123
2 S44          265
3 S102         247
4 S116         283
5 S100         235

$wind_speed
# A tibble: 5 x 2
  station_id value
  <chr>      <dbl>
1 S107        7.4 
2 S44         6   
3 S102        8.40
4 S116        6.7 
5 S100        4.2 

> 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: 0 x 0

$wind_direction
# A tibble: 15 x 2
   station_id value
   <chr>      <int>
 1 S109         297
 2 S117         262
 3 S50          245
 4 S107         232
 5 S43          289
 6 S108         229
 7 S44          286
 8 S106         255
 9 S122         312
10 S60          246
11 S115         302
12 S24          283
13 S116         266
14 S104         291
15 S100         266

$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 in `fn()`:
! Join columns must be present in data.
x Problem with `station_id`.
Backtrace:
     x
  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 (local) fn(out, elt, ...)
  5.       \-dplyr:::full_join.data.frame(out, elt, ...)
  6.         \-dplyr:::join_mutate(...)
  7.           \-dplyr:::join_cols(...)
  8.             \-dplyr:::standardise_join_by(...)
  9.               \-dplyr:::check_join_vars(by$y, y_names, error_call = error_call)
 10.                 \-rlang::abort(bullets, call = error_call)
Execution halted