There is circular dependency in the installation order:
One or more packages in
'Rcpp', 'MASS', 'methods', 'stats', 'tweedie', 'statmod', 'parallel',
'ecostats', 'RcppGSL', 'utils', 'grDevices', 'graphics', 'ecoCopula',
'GET', 'mgcv', 'mvtnorm', 'glasso', 'plyr', 'sna', 'igraph',
'betareg', 'doParallel', 'glm2', 'ordinal', 'compiler', 'foreach',
'cluster', 'ggplot2', 'gridExtra', 'viridisLite', 'nlme', 'Matrix',
'splines', 'statnet.common', 'network', 'magrittr', 'pkgconfig',
'rlang', 'flexmix', 'Formula', 'lmtest', 'modeltools', 'sandwich',
'iterators', 'ucminf', 'numDeriv', 'codetools', 'digest', 'glue',
'grid', 'gtable', 'isoband', 'scales', 'tibble', 'withr', 'lattice',
'coda', 'tools', 'nnet', 'stats4', 'zoo', 'farver', 'labeling',
'lifecycle', 'munsell', 'R6', 'RColorBrewer', 'ellipsis', 'fansi',
'pillar', 'vctrs', 'colorspace', 'cli', 'utf8'
depend on this package (for the versions on the repositories).