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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ts_add_positions_to_frames
> ### Title: Add points, coordinates, or polygons to a list of spatial plots
> ### Aliases: ts_add_positions_to_frames
> 
> ### ** Examples
> 
> #Setup
>  library(rtsVis)
>  library(ggplot2)
>  # Load example dataset at a greatly increased interval
> x_list <- MODIS_SI_ds[seq(1,length(MODIS_SI_ds),30)]
> x_dates <- do.call(c, lapply(MODIS_SI_ds,attr,"time") )[seq(1,length(MODIS_SI_ds),30)]
> 
> #Fill NAs
> x_list_filled <- ts_fill_na(x_list)
> 
> #Make a sequence of output dates, double the length of input dates
> out_dates <-seq.POSIXt(from = x_dates[1],
+                        to = x_dates[length(x_dates)],length.out = length(x_dates)*2 )
> 
> #For each output date, interpolate a raster image from the input files
> r_list_out <- ts_raster(r_list = x_list_filled,
+                         r_times = x_dates,
+                         out_times = out_dates,
+                         fade_raster = TRUE)
> #Create the frames 
> # as from the desired layers
> r_frames <- ts_makeframes(x_list = r_list_out,samplesize = 10,
+                           l_indices = c(1,4,3))
[1] "Guessing raster type."
[1] "Detected 3+ layers, choosing raster type 'RGB'"
> 
> #optional: Use moveVis functions to add additional elements to our frames
> #library(magrittr)
> # r_frames <- r_frames %>%
> #   moveVis::add_labels(x = "Longitude", y = "Latitude")%>% 
> #   moveVis::add_northarrow(colour = "white", position = "bottomright") %>% 
> #   moveVis::add_timestamps(type = "label") %>% 
> #   moveVis::add_progress()
> 
> 
> #### Add the polygons
> # Add polygons to the frames
> polygons <- SI_positions$polygons #Polygons of Slovenian municipalities covered by the raster
> r_frames_style_poly <-
+   ts_add_positions_to_frames(
+     r_frame_list = r_frames,
+     positions = polygons,
+     psize = 1,
+     pcol = "red",
+ <ERROR: re-encoding failure from encoding 'UTF-8'>
    position_names = c("Rade...
+ <ERROR: re-encoding failure from encoding 'UTF-8'>
    position_legend_title = "Ob...
Error: unexpected symbol in:
"    position_names = c("Rade...
    position_legend_title = "Ob..."
Execution halted