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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: chill_units
> ### Title: Calculation of chill units from hourly temperature data (Utah
> ###   model)
> ### Aliases: chill_units
> 
> ### ** Examples
> 
> 
> # Generate hourly temperatures
> library(magrittr)
> library(dplyr)

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

> library(lubridate)

Attaching package: ‘lubridate’

The following objects are masked from ‘package:base’:

    date, intersect, setdiff, union

> Weather <- Tudela_DW %>%
+    filter (Tudela_DW$Year<=2002)
> Tudela_HT <- hourly_temps(Weather,42.13132)

 *** caught segfault ***
address 0x561f00000004, cause 'memory not mapped'

Traceback:
 1: as.POSIXlt(.Internal(Date2POSIXlt(x, tz)), tz = tz)
 2: as.POSIXlt.Date(x, tz = tz(x))
 3: as.POSIXlt(x, tz = tz(x))
 4: mday.default(Date)
 5: day(Date)
 6: .Call(dplyr_mask_eval_all_mutate, quo, private)
 7: eval()
 8: mask$eval_all_mutate(quo)
 9: mutate_col(dots[[i]], data, mask, new_columns)
10: withCallingHandlers(for (i in seq_along(dots)) {    poke_error_context(dots, i, mask = mask)    context_poke("column", old_current_column)    new_columns <- mutate_col(dots[[i]], data, mask, new_columns)}, error = dplyr_error_handler(dots = dots, mask = mask, bullets = mutate_bullets,     error_call = error_call, error_class = "dplyr:::mutate_error"),     warning = dplyr_warning_handler(state = warnings_state, mask = mask,         error_call = error_call))
11: mutate_cols(.data, dplyr_quosures(...), by)
12: mutate.data.frame(., Year = year(Date), Month = month(Date),     Day = day(Date), DOY = yday(Date))
13: mutate(., Year = year(Date), Month = month(Date), Day = day(Date),     DOY = yday(Date))
14: arrange(., Date, Hour)
15: merge(dates, climdata, by = "Date", all = TRUE) %>% select(Date,     Hour, Tmax, Tmin, Sunrise, Sunset, Daylength, prev_Sunset,     next_Sunrise, prev_Tmax, prev_Tmin, next_Tmin, prev_Tsunset,     Tsunset) %>% mutate(Year = year(Date), Month = month(Date),     Day = day(Date), DOY = yday(Date)) %>% arrange(Date, Hour)
16: hourly_temps(Weather, 42.13132)
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault