Skip to content
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

Unit testing with codecov #18

Open
SteveViss opened this issue Dec 6, 2016 · 1 comment
Open

Unit testing with codecov #18

SteveViss opened this issue Dec 6, 2016 · 1 comment

Comments

@SteveViss
Copy link
Contributor

  1. Covering all functions with testthatpackage by (at least) testing the class and structure of the output (@SteveViss or the author can take care of this part, see http://r-pkgs.had.co.nz/tests.html)
  2. Functions should be tested to see if results make sense and/or is accurate (this task will be assignees to the author of the function).
@SteveViss
Copy link
Contributor Author

Unit testing on as.alienData():

  • Use @ibartomeus data and compare output of the function as.alienData() with the ./data/bartomeus2017.RData

SteveViss added a commit that referenced this issue Feb 17, 2017
SteveViss pushed a commit that referenced this issue Feb 17, 2017
* Added the as.alienData function with help file written in roxygen2

* CamelCase functions

* restore Bartomeus data file in R/

* Fixing issue with weight_sd and weight_mean functions

* removin weight_mean and weigthed_sd, already present in stats - close  #17

* Rebuild package and add new clean target in makefile

* fixinx syntax issues

* code review; fix minor issues/syntax errors

* Set mandatory idObs object in as.alienData() #21

* cleaning up data format

* removing ressourceConsumer matrix

* Details on roxygen documentation

* Add data consistency among interacPair and idObs #21

* set build interac matrix #21

* Add interacSp and interacInd from interacPair

* finish to reference interacSp and interacInd with idObs #21

* check consistency among traitSp and traitInd with idObs #21

* imp. coOcc methods: inferred or not; last checks on out objects; make sure coOcc rownames and colnames reffered to idObs

* make sure siteEnv are referenced in idObs #21

* build doc of as.alienData function

* Push last edits on as.alienData function

* set traitSp and traitInd as long format

* fixing functions errors

* Fixing last issue with res

* building docs; and close #21

* Add data and test it

* Add comments on as.alienData posible enhancements

* set Nacho's comments in issue #12

* set bartomeus in data folder

* init as.alienData test

* init test on integrity #18

* cover unit tests as.alienData() - issue #18

* add unit tests to data structure issue #18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant