New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print methods should invisibly return the object #128

Closed
Enchufa2 opened this Issue Dec 13, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@Enchufa2
Member

Enchufa2 commented Dec 13, 2017

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.

@Enchufa2 Enchufa2 added the bug label Dec 13, 2017

@Enchufa2 Enchufa2 closed this in 21f524e Dec 13, 2017

@Enchufa2

This comment has been minimized.

Member

Enchufa2 commented Mar 26, 2018

Enchufa2 added a commit that referenced this issue Mar 26, 2018

Enchufa2 added a commit that referenced this issue Mar 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment