Error(s) in re-building vignettes:
  ...
--- re-building ‘ssfavignette.Rnw’ using Sweave
Loading required package: Matrix
Loading required package: maxLik
Loading required package: miscTools

Please cite the 'maxLik' package as:
Henningsen, Arne and Toomet, Ott (2011). maxLik: A package for maximum likelihood estimation in R. Computational Statistics 26(3), 443-458. DOI 10.1007/s00180-010-0217-1.

If you have questions, suggestions, or comments regarding the 'maxLik' package, please use a forum or 'tracker' at maxLik's R-Forge site:
https://r-forge.r-project.org/projects/maxlik/
Loading required package: spdep
Loading required package: sp
Loading required package: spData
To access larger datasets in this package, install the spDataLarge
package with: `install.packages('spDataLarge',
repos='https://nowosad.github.io/drat/', type='source')`
Loading required package: sf
Linking to GEOS 3.6.3, GDAL 2.2.4, PROJ 5.2.0
Error: processing vignette 'ssfavignette.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'ssfavignette.tex' failed.
LaTeX errors:
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.122 
      
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.210 
      
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.298 
      
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.337 
      
! Argument of \@tempa has an extra }.
<inserted text> 
                \par 
l.349 ...m 1cm 2cm, clip=true]{SFA_residuals_map}}
                                                  \qquad
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.349 ...m 1cm 2cm, clip=true]{SFA_residuals_map}}
                                                  \qquad
! Extra }, or forgotten \endgroup.
<recently read> }
                 
l.349 ...m 1cm 2cm, clip=true]{SFA_residuals_map}}
                                                  \qquad
! Extra }, or forgotten \endgroup.
\@subfloat ...use {c@\@captype }\m@ne \fi \egroup 
                                                  
l.349 ...m 1cm 2cm, clip=true]{SFA_residuals_map}}
                                                  \qquad
! Argument of \@tempa has an extra }.
<inserted text> 
                \par 
l.350 ... 1cm 2cm, clip=true]{SSFA_residuals_map}}
                                                  
! Paragraph ended before \@tempa was complete.
<to be read again> 
                   \par 
l.350 ... 1cm 2cm, clip=true]{SSFA_residuals_map}}
                                                  
! Extra }, or forgotten \endgroup.
<recently read> }
                 
l.350 ... 1cm 2cm, clip=true]{SSFA_residuals_map}}
                                                  
! Extra }, or forgotten \endgroup.
\@subfloat ...use {c@\@captype }\m@ne \fi \egroup 
                                                  
l.350 ... 1cm 2cm, clip=true]{SSFA_residuals_map}}
                                                  
! You can't use `\hrule' here except with leaders.
\caption@hrule ->\hrule 
                        \@height \z@ 
l.351 ...Spatial residuals distribution by method}
                                                  
! Missing number, treated as zero.
<to be read again> 
                   \vskip 
l.351 ...Spatial residuals distribution by method}
                                                  
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \vskip 
l.351 ...Spatial residuals distribution by method}
                                                  
! Missing \endgroup inserted.
<inserted text> 
                \endgroup 
l.351 ...Spatial residuals distribution by method}
                                                  
! Missing \endgroup inserted.
<inserted text> 
                \endgroup 
l.351 ...Spatial residuals distribution by method}
                                                  
! Missing \endgroup inserted.
<inserted text> 
                \endgroup 
l.351 ...Spatial residuals distribution by method}
                                                  
! Missing } inserted.
<inserted text> 
                }
l.351 ...Spatial residuals distribution by method}
                                                  
! Missing } inserted.
<inserted text> 
                }
l.351 ...Spatial residuals distribution by method}
                                                  
! Missing \endgroup inserted.
<inserted text> 
                \endgroup 
l.351 ...Spatial residuals distribution by method}
                                                  
! Missing \endgroup inserted.
<inserted text> 
                \endgroup 
l.351 ...Spatial residuals distribution by method}
                                                  
! Missing } inserted.
<inserted text> 
                }
l.351 ...Spatial residuals distribution by method}
                                                  
! Missing } inserted.
<inserted text> 
                }
l.351 ...Spatial residuals distribution by method}
                                                  
! Missing } inserted.
<inserted text> 
                }
l.351 ...Spatial residuals distribution by method}
                                                  
! Extra }, or forgotten \endgroup.
\@endfloatbox ...pagefalse \outer@nobreak \egroup 
                                                  \color@endbox 
l.353 \end{figure}
                  
! LaTeX Error: \begin{center} on input line 331 ended by \end{figure}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! LaTeX Error: \begin{center} on input line 331 ended by \end{itemize}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! LaTeX Error: \begin{center} on input line 331 ended by \end{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! You can't use `\end' in internal vertical mode.
\enddocument ... \endgroup \deadcycles \z@ \@@end 
                                                  
l.379 \end{document}
                    
! LaTeX Error: \begin{center} on input line 331 ended by \end{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Emergency stop.
<*> \nonstopmode \input ./ssfavignette.tex
                                          
*** (job aborted, no legal \end found)

!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘ssfavignette.Rnw’

SUMMARY: processing the following file failed:
  ‘ssfavignette.Rnw’

Error: Vignette re-building failed.
Execution halted