Error(s) in re-building vignettes:
--- re-building 'RandomForestsGLS_user_guide.Rmd' using rmarkdown
Warning in BRISC_estimation(coords, x = matrix(1, n, 1), y = rf_residual,  :
  The ordering of inputs x (covariates) and y (response) in BRISC_estimation has been changed BRISC 1.0.0 onwards.
Please check the new documentation with ?BRISC_estimation.
randomForest 4.6-14
Type rfNews() to see new features/changes/bug fixes.

Attaching package: 'ggplot2'

The following object is masked from 'package:randomForest':

    margin

Warning in BRISC_estimation(coords, x = matrix(1, n, 1), y = rf_residual,  :
  The ordering of inputs x (covariates) and y (response) in BRISC_estimation has been changed BRISC 1.0.0 onwards.
Please check the new documentation with ?BRISC_estimation.
Warning in BRISC_estimation(coords, x = matrix(1, nrow(coords), 1), y = rfgls_residual,  :
  The ordering of inputs x (covariates) and y (response) in BRISC_estimation has been changed BRISC 1.0.0 onwards.
Please check the new documentation with ?BRISC_estimation.
Warning in BRISC_estimation(coords, x = matrix(1, n, 1), y = rf_residual,  :
  The ordering of inputs x (covariates) and y (response) in BRISC_estimation has been changed BRISC 1.0.0 onwards.
Please check the new documentation with ?BRISC_estimation.
! You can't use `macro parameter character #' in math mode.
l.251 ...nown\(predicted - 10*sin(pi * Xtest))^2)#
                                                  > [1] 0.150152 RFGLS_predi...

Error: processing vignette 'RandomForestsGLS_user_guide.Rmd' failed with diagnostics:
LaTeX failed to compile C:/r_packages/pkgcheck/CRAN/RandomForestsGLS/RandomForestsGLS.Rcheck/vign_test/RandomForestsGLS/vignettes/RandomForestsGLS_user_guide.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See RandomForestsGLS_user_guide.log for more info.
--- failed re-building 'RandomForestsGLS_user_guide.Rmd'

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

Error: Vignette re-building failed.
Execution halted