{"action":"created","issue":{"url":"https://api.github.com/repos/Bart6114/simmer/issues/28","labels_url":"https://api.github.com/repos/Bart6114/simmer/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/Bart6114/simmer/issues/28/comments","events_url":"https://api.github.com/repos/Bart6114/simmer/issues/28/events","html_url":"https://github.com/Bart6114/simmer/issues/28","id":120143666,"number":28,"title":"Resource monitoring: before or after seize/release","user":{"login":"Enchufa2","id":4542928,"avatar_url":"https://avatars.githubusercontent.com/u/4542928?v=3","gravatar_id":"","url":"https://api.github.com/users/Enchufa2","html_url":"https://github.com/Enchufa2","followers_url":"https://api.github.com/users/Enchufa2/followers","following_url":"https://api.github.com/users/Enchufa2/following{/other_user}","gists_url":"https://api.github.com/users/Enchufa2/gists{/gist_id}","starred_url":"https://api.github.com/users/Enchufa2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Enchufa2/subscriptions","organizations_url":"https://api.github.com/users/Enchufa2/orgs","repos_url":"https://api.github.com/users/Enchufa2/repos","events_url":"https://api.github.com/users/Enchufa2/events{/privacy}","received_events_url":"https://api.github.com/users/Enchufa2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Bart6114/simmer/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-03T10:51:25Z","updated_at":"2015-12-08T12:07:17Z","closed_at":null,"body":"This is just a reminder for me to think about it, but also a discussion forum for throwing pros/cons and, eventually, deciding. Wrapping up:\r\n* __Before__: The time diffs are aligned when calculating statistics, but we lose the last observation.\r\n* __After__: The time diffs are misaligned and some reengineering is needed to get the right statistics, but we lose the first observation."},"comment":{"url":"https://api.github.com/repos/Bart6114/simmer/issues/comments/162862660","html_url":"https://github.com/Bart6114/simmer/issues/28#issuecomment-162862660","issue_url":"https://api.github.com/repos/Bart6114/simmer/issues/28","id":162862660,"user":{"login":"Bart6114","id":1965492,"avatar_url":"https://avatars.githubusercontent.com/u/1965492?v=3","gravatar_id":"","url":"https://api.github.com/users/Bart6114","html_url":"https://github.com/Bart6114","followers_url":"https://api.github.com/users/Bart6114/followers","following_url":"https://api.github.com/users/Bart6114/following{/other_user}","gists_url":"https://api.github.com/users/Bart6114/gists{/gist_id}","starred_url":"https://api.github.com/users/Bart6114/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bart6114/subscriptions","organizations_url":"https://api.github.com/users/Bart6114/orgs","repos_url":"https://api.github.com/users/Bart6114/repos","events_url":"https://api.github.com/users/Bart6114/events{/privacy}","received_events_url":"https://api.github.com/users/Bart6114/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T12:07:17Z","updated_at":"2015-12-08T12:07:17Z","body":"indeed :grimacing: \r\n\r\nsomething related:\r\n\r\n```\r\nlibrary(simmer)\r\n\r\nt0<-create_trajectory() %>%\r\n  seize(\"server\", 2) %>%\r\n  timeout(5) %>%\r\n  release(\"server\")\r\n\r\nenv<-\r\nsimmer() %>%\r\n  add_resource(\"server\", 1) %>%\r\n  add_generator(\"test\", t0, at(0)) %>%\r\n  run()\r\n\r\nget_mon_arrivals(env)\r\n```\r\n\r\nWhat would be the expected/desired output in this case? Currently it returns:\r\n\r\n```\r\n[1] name          start_time    end_time      activity_time finished     \r\n<0 rows> (or 0-length row.names)\r\n```\r\n\r\nIntuitively I would expect one row were finished is `FALSE`.\r\n"}}