Error(s) in re-building vignettes:
  ...
--- re-building ‘ordinal.Rmd’ using rmarkdown
Warning in eng_r(options) :
  Failed to tidy R code in chunk 'unnamed-chunk-1'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.

Loading required package: ergm
Loading required package: network

'network' 1.17.1 (2021-06-12), part of the Statnet Project
* 'news(package="network")' for changes since last version
* 'citation("network")' for citation information
* 'https://statnet.org' for help, support, and other information


'ergm' 4.0.1 (2021-06-20), part of the Statnet Project
* 'news(package="ergm")' for changes since last version
* 'citation("ergm")' for citation information
* 'https://statnet.org' for help, support, and other information

'ergm' 4 is a major update that introduces some backwards-incompatible
changes. Please type 'news(package="ergm")' for a list of major
changes.


'ergm.rank' 4.0.0 (2021-06-20), part of the Statnet Project
* 'news(package="ergm.rank")' for changes since last version
* 'citation("ergm.rank")' for citation information
* 'https://statnet.org' for help, support, and other information

Warning in eng_r(options) :
  Failed to tidy R code in chunk 'unnamed-chunk-2'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.

Warning in eng_r(options) :
  Failed to tidy R code in chunk 'unnamed-chunk-3'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.

Warning in eng_r(options) :
  Failed to tidy R code in chunk 'unnamed-chunk-4'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.

Best valid proposal 'AlterSwap' cannot take into account hint(s) 'sparse'.
Starting contrastive divergence estimation via CD-MCMLE:
Iteration 1 of at most 60:
Convergence test P-value:3.5e-78
The log-likelihood improved by 0.9772.
Iteration 2 of at most 60:
Convergence test P-value:7.4e-20
The log-likelihood improved by 0.1402.
Iteration 3 of at most 60:
Convergence test P-value:3.4e-05
The log-likelihood improved by 0.03209.
Iteration 4 of at most 60:
Convergence test P-value:1.3e-01
Convergence detected. Stopping.
The log-likelihood improved by 0.007383.
Finished CD.
Starting Monte Carlo maximum likelihood estimation (MCMLE):
Iteration 1 of at most 60:
Optimizing with step length 1.0000.
The log-likelihood improved by 0.6590.
Estimating equations are not within tolerance region.
Iteration 2 of at most 60:
Optimizing with step length 1.0000.
The log-likelihood improved by 0.1156.
Estimating equations are not within tolerance region.
Iteration 3 of at most 60:
Optimizing with step length 1.0000.
The log-likelihood improved by 0.1341.
Estimating equations are not within tolerance region.
Iteration 4 of at most 60:
Optimizing with step length 1.0000.
The log-likelihood improved by 0.0669.
Convergence test p-value: 0.3900. Not converged with 99% confidence; increasing sample size.
Iteration 5 of at most 60:
Optimizing with step length 1.0000.
The log-likelihood improved by 0.0059.
Convergence test p-value: 0.0299. Not converged with 99% confidence; increasing sample size.
Iteration 6 of at most 60:
Optimizing with step length 1.0000.
The log-likelihood improved by 0.0187.
Convergence test p-value: 0.0222. Not converged with 99% confidence; increasing sample size.
Iteration 7 of at most 60:
Optimizing with step length 1.0000.
The log-likelihood improved by 0.0142.
Convergence test p-value: 0.0016. Converged with 99% confidence.
Finished MCMLE.
This model was fit using MCMC.  To examine model diagnostics and check
for degeneracy, use the mcmc.diagnostics() function.
Warning in eng_r(options) :
  Failed to tidy R code in chunk 'unnamed-chunk-5'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.

Log-likelihood was not estimated for this fit. To get deviances, AIC, and/or BIC, use ‘*fit* <-logLik(*fit*, add=TRUE)’ to add it to the object or rerun this function with eval.loglik=TRUE.
Warning in eng_r(options) :
  Failed to tidy R code in chunk 'unnamed-chunk-6'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.

Warning in eng_r(options) :
  Failed to tidy R code in chunk 'unnamed-chunk-7'. Reason:
Error : The formatR package is required by the chunk option tidy = TRUE but not installed; tidy = TRUE will be ignored.

Best valid proposal 'AlterSwap' cannot take into account hint(s) 'sparse'.
Starting contrastive divergence estimation via CD-MCMLE:
Iteration 1 of at most 60:
Convergence test P-value:9.6e-137
The log-likelihood improved by 0.7582.
Iteration 2 of at most 60:
Convergence test P-value:6.2e-75
The log-likelihood improved by 0.751.
Iteration 3 of at most 60:
Convergence test P-value:8.2e-29
The log-likelihood improved by 0.2466.
Iteration 4 of at most 60:
Convergence test P-value:1.2e-02
The log-likelihood improved by 0.01494.
Iteration 5 of at most 60:
Convergence test P-value:1.9e-03
The log-likelihood improved by 0.0195.
Iteration 6 of at most 60:
Convergence test P-value:9.9e-01
Convergence detected. Stopping.
The log-likelihood improved by 0.0001185.
Finished CD.
Starting Monte Carlo maximum likelihood estimation (MCMLE):
Iteration 1 of at most 60:
Optimizing with step length 0.5407.
The log-likelihood improved by 1.8588.
Estimating equations are not within tolerance region.
Iteration 2 of at most 60:
Optimizing with step length 1.0000.
The log-likelihood improved by 0.5773.
Estimating equations are not within tolerance region.
Iteration 3 of at most 60:
Optimizing with step length 1.0000.
The log-likelihood improved by 0.2713.
Estimating equations are not within tolerance region.
Iteration 4 of at most 60:
Optimizing with step length 1.0000.
The log-likelihood improved by 0.2963.
Estimating equations are not within tolerance region.
Iteration 5 of at most 60:
Optimizing with step length 1.0000.
The log-likelihood improved by 0.0599.
Convergence test p-value: 0.5129. Not converged with 99% confidence; increasing sample size.
Iteration 6 of at most 60:
Optimizing with step length 1.0000.
The log-likelihood improved by 0.0283.
Convergence test p-value: 0.0974. Not converged with 99% confidence; increasing sample size.
Iteration 7 of at most 60:
Killed