{"action":"created","issue":{"url":"https://api.github.com/repos/forestgeo/AGBfluxes/issues/17","repository_url":"https://api.github.com/repos/forestgeo/AGBfluxes","labels_url":"https://api.github.com/repos/forestgeo/AGBfluxes/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/forestgeo/AGBfluxes/issues/17/comments","events_url":"https://api.github.com/repos/forestgeo/AGBfluxes/issues/17/events","html_url":"https://github.com/forestgeo/AGBfluxes/issues/17","id":362792346,"node_id":"MDU6SXNzdWUzNjI3OTIzNDY=","number":17,"title":"Create regression tests to allow changing your code confidently","user":{"login":"maurolepore","id":5856545,"node_id":"MDQ6VXNlcjU4NTY1NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/5856545?v=4","gravatar_id":"","url":"https://api.github.com/users/maurolepore","html_url":"https://github.com/maurolepore","followers_url":"https://api.github.com/users/maurolepore/followers","following_url":"https://api.github.com/users/maurolepore/following{/other_user}","gists_url":"https://api.github.com/users/maurolepore/gists{/gist_id}","starred_url":"https://api.github.com/users/maurolepore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maurolepore/subscriptions","organizations_url":"https://api.github.com/users/maurolepore/orgs","repos_url":"https://api.github.com/users/maurolepore/repos","events_url":"https://api.github.com/users/maurolepore/events{/privacy}","received_events_url":"https://api.github.com/users/maurolepore/received_events","type":"User","site_admin":false},"labels":[{"id":1064738419,"node_id":"MDU6TGFiZWwxMDY0NzM4NDE5","url":"https://api.github.com/repos/forestgeo/AGBfluxes/labels/bug","name":"bug","color":"e02a2a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-21T22:23:20Z","updated_at":"2018-10-04T14:39:29Z","closed_at":null,"author_association":"MEMBER","body":"_From @maurolepore on September 18, 2018 15:35_\n\nOne way to improve your functions with confidence that you are not breaking anything is to run regression tests -- tests that automatically compare the result of a computation against a know result. You can do this with `testthat::expect_known_output()`. It is a fairly advanced topic and I'm happy to help you.\n\n_Copied from original issue: ervanSTRI/AGBflux_pack#16_"},"comment":{"url":"https://api.github.com/repos/forestgeo/AGBfluxes/issues/comments/427044445","html_url":"https://github.com/forestgeo/AGBfluxes/issues/17#issuecomment-427044445","issue_url":"https://api.github.com/repos/forestgeo/AGBfluxes/issues/17","id":427044445,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzA0NDQ0NQ==","user":{"login":"maurolepore","id":5856545,"node_id":"MDQ6VXNlcjU4NTY1NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/5856545?v=4","gravatar_id":"","url":"https://api.github.com/users/maurolepore","html_url":"https://github.com/maurolepore","followers_url":"https://api.github.com/users/maurolepore/followers","following_url":"https://api.github.com/users/maurolepore/following{/other_user}","gists_url":"https://api.github.com/users/maurolepore/gists{/gist_id}","starred_url":"https://api.github.com/users/maurolepore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maurolepore/subscriptions","organizations_url":"https://api.github.com/users/maurolepore/orgs","repos_url":"https://api.github.com/users/maurolepore/repos","events_url":"https://api.github.com/users/maurolepore/events{/privacy}","received_events_url":"https://api.github.com/users/maurolepore/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T14:39:29Z","updated_at":"2018-10-04T14:39:29Z","author_association":"MEMBER","body":"@ervanSTRI, I see that you added the folder output/ with some plots and a .csv file. The .csv file contains only what seems to be column-headers. Is that what you expect?\r\n\r\nAlso, I see the file \"barro colorado island_formated_data.Rdata\" in data/. When I load it its name is `DF`. Is this the output of `data_preparaiton()`? \r\n\r\nAs you advance in this and other issues, please leave a record here so I can quickly understand what is the state of each issue.\r\n"}}
{"actor":{"display_login":"maurolepore"}}