R Under development (unstable) (2025-05-18 r88216 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > load( "inputs/2-2-cryptand-dihedrals-trimmed.RData" ) > load( "outputs/2-2-cryptand-dihedrals.RData" ) > library( MixtureFitting ) > init = list() > parameters = list() > ll = list() > for( i in 1:10 ) { + vinit = vmm_init_vector( i ) + vf = vmm_fit_em( dihedrals, vinit ) + init[[i]] = vinit + parameters[[i]] = vf$p + ll[[i]] = llvmm( dihedrals, vf$p ) + } > if( all.equal( init, output_init ) != TRUE ) { + stop( all.equal( init, output_init ) ) + } > if( all.equal( parameters, output_parameters ) != TRUE ) { + stop( all.equal( parameters, output_parameters ) ) + } > if( all.equal( ll, output_ll ) != TRUE ) { + stop( all.equal( ll, output_ll ) ) + } > > proc.time() user system elapsed 0.28 0.10 0.31