Skip to content

Commit a414be2

Browse files
committed
fix broken vignette
assign correct type for new entity objects
1 parent 7f41103 commit a414be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/struct_model.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ model_template=setClass('model_template', # replace model_template with ...
298298
299299
# entities can be initialised with populated slots
300300
outputs.result_1=entity(name='Result 1',type='dataset',
301-
description='An example entity object'),
301+
description='An example entity object',value=dataset()),
302302
303303
# outputs dont have to be entity objects but we dont recommend this.
304304
outputs.result_2=2

0 commit comments

Comments
 (0)