Error in `detectMplus()`: Mplus and Mpdemo8 are either not installed or could not be found
Try installing Mplus or Mplus Demo. If Mplus or Mplus Demo are already installed, 
make sure one can be found on your PATH. The following may help

Windows 10:
 (1) In Search, search for and then select: System (Control Panel)
 (2) Click the Advanced system settings link.
 (3) Click Environment Variables ...
 (4) In the Edit System Variable (or New System Variable ) window,
 (5) specify the value of the PATH environment variable...
 (6) Close and reopen R and run:

mplusAvailable(silent=FALSE)

# checks on parsing of scheduling arguments and script setup
track <- submitModels(p, sched_args=c("--mail=user", "--export=v"), debug=TRUE, max_time_per_job = "4:10:00", combine_jobs = TRUE)
submitModels(inp, sched_args=c("--mail=user", "--export=v"), debug=TRUE, max_time_per_job = "2:10:00", combine_jobs = TRUE, replace="always")
test_that("submitModels job ID check", {
test_that("submitModels job allocation checks", {
# checks on cluster (must be run on slurm cluster!)
track <- submitModels(p, sched_args=c("--mail=user", "--export=v"), debug=TRUE, max_time_per_job = "48:10:00", batch_outdir = file.path(p, "batchfiles"))
test_that("submitModels combines jobs as expected", {

"submitModels combines jobs as expected"