Error(s) in re-building vignettes:
--- re-building 'PhenotypeSimulator.Rmd' using rmarkdown
! Undefined control sequence.
<argument> ...at furthest distance to diagonal:\n 
                                                  ", furthestDistCorr), cex....
l.687 ...atedbg-maincorrelated-effects-axesfalse}}

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

--- re-building 'Simulation-and-LinearModel.Rmd' using rmarkdown
! Please use \mathaccent for accents in math mode.
\MT@orig@add@accent ...gnorespaces \relax \accent 
                                                  #1 #2\egroup \ifmmode \els...
l.280 ...s-sep-sep-col.namesfalse-row.namesfalse}}

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

--- re-building 'SimulationBasedOnExampleData.Rmd' using rmarkdown
! You can't use `macro parameter character #' in math mode.
l.238 ...="meassure",  variable.name="covariate")#
                                                  # No id variables; using a...

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

--- re-building 'sample-scripts-external-genotype-simulation.Rmd' using rmarkdown
! Undefined control sequence.
l.167 echo -e ``1000\tSNP
                         \t0.00\t1.00\t1.00\t1.00'' \textgreater{} 

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

SUMMARY: processing the following files failed:
  'PhenotypeSimulator.Rmd' 'Simulation-and-LinearModel.Rmd'
  'SimulationBasedOnExampleData.Rmd'
  'sample-scripts-external-genotype-simulation.Rmd'

Error: Vignette re-building failed.
Execution halted