This function is mainly used to quickly create a script which does not does not do much, but can be used to test other code.
minimal_slim_sim(command = print("Hello world!"))
An R expression to be inserted in the `slimr` script
An R `expression`.
minimal_slim_sim()
#> slim_script(slim_block(initialize(), {
#> initializeMutationRate(1e-07)
#> initializeMutationType("m1", 0.5, "f", 0)
#> initializeGenomicElementType("g1", m1, 1)
#> initializeGenomicElement(g1, 0, 99999)
#> initializeRecombinationRate(1e-08)
#> }), slim_block(1, {
#> sim.addSubpop("p1", 500)
#> print("Hello world!")
#> sim.simulationFinished()
#> }))