Error(s) in re-building vignettes:
--- re-building 'HardyWeinberg.Rnw' using Sweave
Loading required package: mice

Attaching package: 'mice'

The following objects are masked from 'package:base':

    cbind, rbind

Loading required package: Rsolnp
Installing package into 'D:/temp/RtmpSwZiUD/RLIBS_2280c20ec4fa9'
(as 'lib' is unspecified)
trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.1/nnet_7.3-14.zip'
Content type 'application/zip' length 137723 bytes (134 KB)
==================================================
downloaded 134 KB

Warning: Number of logged events: 1
Warning: Number of logged events: 1
Warning in system(paste(shQuote(texi2dvi), if (quiet) "--quiet" else "",  :
  running command '"D:\compiler\texmf\miktex\bin\texify.exe" --quiet --pdf "HardyWeinberg.tex" --max-iterations=20 -I "D:/RCompile/recent/R/share/texmf/tex/latex" -I "D:/RCompile/recent/R/share/texmf/bibtex/bst"' had status 1
Error: processing vignette 'HardyWeinberg.Rnw' failed with diagnostics:
Failed to locate 'texi2pdf' output file 'HardyWeinberg.pdf' for vignette with name 'HardyWeinberg' and engine 'utils::Sweave'. The following files exist in working directory 'd:\RCompile\CRANpkg\local\4.1\HardyWeinberg.Rcheck\vign_test\HardyWeinberg\vignettes': 'HWGeno1.pdf' (5745 bytes), 'HWGeno2.pdf' (5714 bytes), 'HWHapMapGeno1.pdf' (6214 bytes), 'HWHapMapGeno2.pdf' (6210 bytes), 'HWHapMapIlr1.pdf' (6759 bytes), 'HWHapMapIlr2.pdf' (6275 bytes), 'HWHapMapQQplot.pdf' (44714 bytes), 'HWHapMapQQplotInbred.pdf' (49416 bytes), 'HWHapMapQQplotSimulated.pdf' (49819 bytes), 'HWHomHet2.pdf' (20734 bytes), 'HapMapCHBChr1.pdf' (8471 bytes), 'HapMapCHBChr1Chisq.pdf' (8471 bytes), 'HapMapCHBChr1Exact.pdf' (7809 bytes), 'HardyWeinberg.Rnw' (63399 bytes), 'HardyWeinberg.bib' (12246 bytes), 'HardyWeinberg.tex' (70638 bytes), 'MourantQQPlot.pdf' (3449 bytes), 'MourantTP.pdf' (7375 bytes), 'Rplots.pdf' (0 bytes), 'Simulated2.pdf' (23206 bytes), 'TernaryPlot.pdf' (5983 bytes)
--- failed re-building 'HardyWeinberg.Rnw'

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

Error: Vignette re-building failed.
Execution halted