Error(s) in re-building vignettes:
  ...
--- re-building 'text2sdg.Rmd' using rmarkdown
Quitting from lines 42-45 (text2sdg.Rmd) 
Error: processing vignette 'text2sdg.Rmd' failed with diagnostics:
invalid UTF-8 byte sequence detected; try calling stri_enc_toutf8()
--- failed re-building 'text2sdg.Rmd'

SUMMARY: processing the following file failed:
  'text2sdg.Rmd'

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
--- re-building 'text2sdg.Rmd' using rmarkdown

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

> ### Name: moveSIM
> ### Title: Runs agent-based model (ABM) movement simulations based on
> ###   environmental data
> ### Aliases: moveSIM
> 
> ### ** Examples
> 
> # Define species object
> pop1 <- as.species(
+   x = -98.7, y = 34.7, morphpar1 = 15, morphpar1mean = 16, morphpar1sd = 2,
+   morphpar1sign = "Pos", morphpar2 = 19, morphpar2mean = 18, morphpar2sd = 1,
+  morphpar2sign = "Pos")
>  
> # Run function
>  EX2 <- moveSIM(
+   replicates = 3, days = 10, env_rast = ex_raster, search_radius = 300,
+   sigma = .1, dest_x = -108.6, dest_y = 26.2, mot_x = .8, mot_y = .8,
+   modeled_species = pop1, optimum = .6, n_failures = 5, fail_thresh = .40,
+   direction = "S", write_results = FALSE, single_rast = TRUE, mortality = TRUE)
Error in over(pt, sps, fn = NULL) : identicalCRS(x, y) is not TRUE
Calls: moveSIM -> moveSIM_helper -> over -> over -> stopifnot
Execution halted

Running ‘SP500-ex.R’ [8s/11s]
Running the tests in ‘tests/SP500-ex.R’ failed.
Last 13 lines of output:
  +     ## else ## 32-bit
  +     ##     if(.Platform$OS.type == "windows")
  +     ##         identical(non.0.assets, win.b32.n0)
  +     ## else if(mS$ osVersion == "Solaris 10")
  +     ##     identical(non.0.assets, S10.b32.n0)
  +     ## else ## all other 32-bit, notably Linux
  +     ##     identical(non.0.assets, b32.n0)
  + 
  +     differWts || identical(head(CLs5c.0.120$free_indices, 12),
  +               list(c(295L, 453L), 453L, c(453L, 472L), c(19L, 453L, 472L),
  +                    c(19L, 453L), 453L, c(15L, 453L), 15L, c(15L, 320L),
  +                    c(15L, 105L, 320L), c(105L, 320L), c(105L, 320L, 472L)))
  + })
  Error: !strict || identical(non.0.assets, non.0.TARG) is not TRUE
  Execution halted