# Will produce error messages
runpars=newArgs()
runpars=checkArgs(runpars)
# Will not produce errors
datname=system.file("Examples/sequences_Theta8_Rho8.txt",package="Rsampletrees")
locname=system.file("Examples/locations_Theta8_Rho8.txt",package="Rsampletrees")
weightname=system.file("Examples/weights-h.txt", package="Rsampletrees")
runpars=newArgs(DataFile=datname, DataType="h", WeightFile=weightname,
LocationFile=locname,RunName="Test-h",FocalPoint=10000)
runpars=checkArgs(runpars)
Run the code above in your browser using DataLab