CRAN Package Check Results for Package datagovsgR

Last updated on 2021-01-15 07:50:40 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.2 3.65 40.76 44.41 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.2 3.09 31.83 34.92 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.2 63.33 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.2 52.67 ERROR
r-devel-windows-ix86+x86_64 0.3.2 10.00 71.00 81.00 ERROR
r-patched-linux-x86_64 0.3.2 4.02 39.35 43.37 OK
r-patched-solaris-x86 0.3.2 67.00 ERROR
r-release-linux-x86_64 0.3.2 3.97 39.51 43.48 ERROR
r-release-macos-x86_64 0.3.2 OK
r-release-windows-ix86+x86_64 0.3.2 8.00 63.00 71.00 ERROR
r-oldrel-macos-x86_64 0.3.2 OK
r-oldrel-windows-ix86+x86_64 0.3.2 7.00 56.00 63.00 ERROR

Check Details

Version: 0.3.2
Check: examples
Result: ERROR
    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: 9 x 2
     station_id value
     <chr> <dbl>
    1 S107 27.3
    2 S43 27
    3 S108 27.2
    4 S44 26.3
    5 S106 27.6
    6 S111 26.6
    7 S115 26.6
    8 S116 26.9
    9 S104 26.3
    
    $rainfall
    # A tibble: 66 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 56 more rows
    
    $relative_humidity
    # A tibble: 9 x 2
     station_id value
     <chr> <dbl>
    1 S107 75.6
    2 S43 80.6
    3 S108 76.1
    4 S44 80.9
    5 S106 78.3
    6 S111 77.3
    7 S115 76.7
    8 S116 86.4
    9 S104 78.8
    
    $wind_direction
    # A tibble: 0 x 0
    
    $wind_speed
    # A tibble: 8 x 2
     station_id value
     <chr> <dbl>
    1 S107 9.5
    2 S43 14.7
    3 S108 9.2
    4 S44 9.2
    5 S106 5.3
    6 S115 8.7
    7 S116 7
    8 S104 13.4
    
    > 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.
    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:::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
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.2
Check: examples
Result: ERROR
    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
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.2
Check: examples
Result: ERROR
    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: 7 x 2
     station_id value
     <chr> <dbl>
    1 S107 25.3
    2 S43 24.8
    3 S44 23.8
    4 S111 23.6
    5 S115 26.1
    6 S116 24.3
    7 S104 24.9
    
    $rainfall
    # A tibble: 69 x 2
     station_id value
     <chr> <dbl>
     1 S77 0.6
     2 S109 0.2
     3 S90 0.2
     4 S114 0.8
     5 S11 1.4
     6 S50 0.2
     7 S107 0
     8 S215 0
     9 S118 0.2
    10 S120 0.2
    # … with 59 more rows
    
    $relative_humidity
    # A tibble: 5 x 2
     station_id value
     <chr> <dbl>
    1 S107 94.2
    2 S44 99.3
    3 S111 99.2
    4 S115 89.4
    5 S104 87.5
    
    $wind_direction
    # A tibble: 0 x 0
    
    $wind_speed
    # A tibble: 6 x 2
     station_id value
     <chr> <dbl>
    1 S107 3.7
    2 S43 6.3
    3 S44 6.4
    4 S115 6.1
    5 S116 6.9
    6 S104 14
    
    > 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
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.2
Check: examples
Result: ERROR
    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: 8 x 2
     station_id value
     <chr> <dbl>
    1 S107 24.3
    2 S43 24.5
    3 S108 24.4
    4 S44 23.5
    5 S111 23.4
    6 S115 24
    7 S116 24.1
    8 S104 23.6
    
    $rainfall
    # A tibble: 63 x 2
     station_id value
     <chr> <dbl>
     1 S77 0.2
     2 S109 0.4
     3 S90 0
     4 S114 0.2
     5 S11 0.2
     6 S50 0
     7 S107 0.4
     8 S215 0.203
     9 S120 0.2
    10 S71 0
    # … with 53 more rows
    
    $relative_humidity
    # A tibble: 5 x 2
     station_id value
     <chr> <dbl>
    1 S107 97.8
    2 S44 99.3
    3 S111 99.3
    4 S115 93.9
    5 S104 96.2
    
    $wind_direction
    # A tibble: 0 x 0
    
    $wind_speed
    # A tibble: 7 x 2
     station_id value
     <chr> <dbl>
    1 S107 6.5
    2 S43 7.6
    3 S108 7.4
    4 S44 6
    5 S115 8.2
    6 S116 8.8
    7 S104 9.40
    
    > 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
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3.2
Check: examples
Result: ERROR
    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: 9 x 2
     station_id value
     <chr> <dbl>
    1 S107 27.5
    2 S43 27.4
    3 S108 27.3
    4 S44 26.1
    5 S106 27.1
    6 S111 26.6
    7 S115 27.6
    8 S116 27.5
    9 S104 26.8
    
    $rainfall
    # A tibble: 68 x 2
     station_id value
     <chr> <dbl>
     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 58 more rows
    
    $relative_humidity
    # A tibble: 9 x 2
     station_id value
     <chr> <dbl>
    1 S107 78.9
    2 S43 80.8
    3 S108 78.4
    4 S44 84
    5 S106 84.4
    6 S111 78.3
    7 S115 77.5
    8 S116 83
    9 S104 78.4
    
    $wind_direction
    # A tibble: 0 x 0
    
    $wind_speed
    # A tibble: 8 x 2
     station_id value
     <chr> <dbl>
    1 S107 13.3
    2 S43 15.7
    3 S108 12.5
    4 S44 9.90
    5 S106 5.5
    6 S115 9
    7 S116 12.7
    8 S104 20.8
    
    > 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.
    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:::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
Flavor: r-devel-windows-ix86+x86_64

Version: 0.3.2
Check: examples
Result: ERROR
    Running examples in ‘datagovsgR-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: psi_summary
    > ### Title: PSI(PoullutantStandardIndex) Summary
    > ### Aliases: psi_summary
    > ### Keywords: PSI
    >
    > ### ** Examples
    >
    > psi_summary()
    Error in setattr(ans, "names", c(keep.names, paste0("V", seq_len(length(ans) - :
     'names' attribute [1] must be the same length as the vector [0]
    Calls: psi_summary -> lapply -> FUN -> %>% -> <Anonymous> -> setattr
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.3.2
Check: examples
Result: ERROR
    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 24.3
     2 S43 24.6
     3 S108 24.4
     4 S44 22.9
     5 S106 23.3
     6 S111 23.4
     7 S115 24.2
     8 S116 24.2
     9 S104 23.4
    10 S100 23.9
    
    $rainfall
    # A tibble: 67 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 57 more rows
    
    $relative_humidity
    # A tibble: 10 x 2
     station_id value
     <chr> <dbl>
     1 S107 89.2
     2 S43 89.8
     3 S108 92.7
     4 S44 95.3
     5 S106 97.4
     6 S111 90
     7 S115 86.5
     8 S116 93.1
     9 S104 87.1
    10 S100 86.7
    
    $wind_direction
    # A tibble: 0 x 0
    
    $wind_speed
    # A tibble: 9 x 2
     station_id value
     <chr> <dbl>
    1 S107 3.3
    2 S43 9
    3 S108 4.6
    4 S44 4.5
    5 S106 2.4
    6 S115 7.2
    7 S116 3.9
    8 S104 8.60
    9 S100 1.9
    
    > 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
Flavor: r-release-linux-x86_64

Version: 0.3.2
Check: examples
Result: ERROR
    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: 9 x 2
     station_id value
     <chr> <dbl>
    1 S107 25.3
    2 S43 25.2
    3 S108 25.3
    4 S44 23.9
    5 S106 24.6
    6 S111 24.2
    7 S115 24.8
    8 S116 24.7
    9 S104 24.2
    
    $rainfall
    # A tibble: 68 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 58 more rows
    
    $relative_humidity
    # A tibble: 10 x 2
     station_id value
     <chr> <dbl>
     1 S107 85.8
     2 S43 89.1
     3 S108 89.2
     4 S44 91.4
     5 S106 91.5
     6 S111 87.6
     7 S115 84.5
     8 S116 95.2
     9 S104 86.7
    10 S100 84.8
    
    $wind_direction
    # A tibble: 0 x 0
    
    $wind_speed
    # A tibble: 9 x 2
     station_id value
     <chr> <dbl>
    1 S107 5.4
    2 S43 9.60
    3 S108 5.7
    4 S44 4.4
    5 S106 3.8
    6 S115 7.6
    7 S116 7.4
    8 S104 8.3
    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.
    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:::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
Flavor: r-release-windows-ix86+x86_64

Version: 0.3.2
Check: examples
Result: ERROR
    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: 8 x 2
     station_id value
     <chr> <dbl>
    1 S107 24.1
    2 S43 24
    3 S108 24
    4 S44 23.4
    5 S111 23.1
    6 S115 23.9
    7 S116 23.9
    8 S104 23.4
    
    $rainfall
    # A tibble: 66 x 2
     station_id value
     <chr> <dbl>
     1 S77 0.2
     2 S109 0.2
     3 S90 0.2
     4 S114 0.2
     5 S11 0.4
     6 S50 0.2
     7 S107 0.4
     8 S215 0.406
     9 S120 0.4
    10 S71 0.2
    # ... with 56 more rows
    
    $relative_humidity
    # A tibble: 5 x 2
     station_id value
     <chr> <dbl>
    1 S107 99.2
    2 S44 99.3
    3 S111 99.3
    4 S115 94.9
    5 S104 98.5
    
    $wind_direction
    # A tibble: 0 x 0
    
    $wind_speed
    # A tibble: 7 x 2
     station_id value
     <chr> <dbl>
    1 S107 3.4
    2 S43 4.9
    3 S108 7.7
    4 S44 4.3
    5 S115 4.4
    6 S116 6.7
    7 S104 4.9
    
    > 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.
    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:::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
Flavor: r-oldrel-windows-ix86+x86_64