Error(s) in re-building vignettes:
--- re-building 'MoosePopR-SightabilityPopR-Demo.Rmd' using rmarkdown
New names:
* `Lone Cows` -> Lone.Cows
* `Cow W/1 \r\ncalf` -> Cow.W.1...calf
* `Cow W/2 calves` -> Cow.W.2.calves
* `Lone \r\ncalf` -> Lone...calf
* `Unk Age/Sex` -> Unk.Age.Sex
* ...
New names:
* `` -> ...1
New names:
* `` -> ...1
* `` -> ...2
New names:
* `` -> ...1
* `` -> ...2
New names:
* `` -> ...1
* `` -> ...2
Warning in sqrt(as.matrix(Cover[, 1:nbeta]) %*% beta.cov %*% t(as.matrix(Cover[,  :
  NaNs produced
Warning in cor(N.Animals, Block.Area) : the standard deviation is zero
Warning in cor(N.Animals, Block.Area) : the standard deviation is zero
Warning in cor(N.Animals, Block.Area) : the standard deviation is zero
Warning in cor(N.Animals, Block.Area) : the standard deviation is zero
--- finished re-building 'MoosePopR-SightabilityPopR-Demo.Rmd'

--- re-building 'RatioEstimator.pdf.asis' using asis
--- finished re-building 'RatioEstimator.pdf.asis'

--- re-building 'SightabilityModel.Rnw' using Sweave
Warning in system(paste(shQuote(texi2dvi), if (quiet) "--quiet" else "",  :
  running command '"D:\compiler\texmf\miktex\bin\texify.exe" --quiet --pdf "SightabilityModel.tex" --max-iterations=20 -I "D:/RCompile/recent/R-4.1.3/share/texmf/tex/latex" -I "D:/RCompile/recent/R-4.1.3/share/texmf/bibtex/bst"' had status 1
Error: processing vignette 'SightabilityModel.Rnw' failed with diagnostics:
Failed to locate 'texi2pdf' output file 'SightabilityModel.pdf' for vignette with name 'SightabilityModel' and engine 'utils::Sweave'. The following files exist in working directory 'd:\RCompile\CRANpkg\local\4.1\SightabilityModel.Rcheck\vign_test\SightabilityModel\vignettes': 'MoosePopR-SightabilityPopR-Demo.R' (28284 bytes), 'MoosePopR-SightabilityPopR-Demo.Rmd' (66828 bytes), 'MoosePopR-SightabilityPopR-Demo.html' (159953 bytes), 'RatioEstimator.pdf' (164917 bytes), 'RatioEstimator.pdf.asis' (140 bytes), 'SightabilityModel.Rnw' (42253 bytes), 'SightabilityModel.tex' (49982 bytes), 'vignette.bib' (26291 bytes)
--- failed re-building 'SightabilityModel.Rnw'

SUMMARY: processing the following file failed:
  'SightabilityModel.Rnw'

Error: Vignette re-building failed.
Execution halted