Skip to content

print methods should invisibly return the object #128

@Enchufa2

Description

@Enchufa2

In base R,

foo <- print(2)
#> [1] 2
foo
#> [1] 2

but

env <- print(simmer())
#> simmer environment: anonymous | now: 0 | next: 
env
#> NULL

traj <- print(trajectory())
#> trajectory: anonymous, 0 activities
traj
#> NULL

etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions