Skip to content

Commit

Permalink
removed extraneous fxns and fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
diazrenata committed Jul 23, 2020
1 parent 64a8248 commit d2ae99f
Show file tree
Hide file tree
Showing 14 changed files with 46,436 additions and 46,657 deletions.
3 changes: 0 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ export("%>%")
export(add_dis)
export(add_singletons)
export(add_singletons_dataset)
export(assign_macdb_manips)
export(assign_portal_manips)
export(count_below)
export(count_elements)
export(dis_wrapper)
Expand Down Expand Up @@ -50,7 +48,6 @@ importFrom(gmp,sum.bigz)
importFrom(here,here)
importFrom(magrittr,"%>%")
importFrom(portalr,plant_abundance)
importFrom(purrr,map_int)
importFrom(rmarkdown,render)
importFrom(tidyr,gather)
importFrom(vegan,diversity)
Expand Down
72 changes: 0 additions & 72 deletions R/manips.R

This file was deleted.

40 changes: 0 additions & 40 deletions analysis/helper_scripts/kernels.R

This file was deleted.

13 changes: 0 additions & 13 deletions analysis/helper_scripts/manips_scrap.R

This file was deleted.

59 changes: 0 additions & 59 deletions analysis/helper_scripts/mcdb_kernels.R

This file was deleted.

45 changes: 0 additions & 45 deletions analysis/helper_scripts/scrap.R

This file was deleted.

22 changes: 0 additions & 22 deletions man/assign_macdb_manips.Rd

This file was deleted.

17 changes: 0 additions & 17 deletions man/assign_portal_manips.Rd

This file was deleted.

16 changes: 0 additions & 16 deletions submit_portal_manip_pipeline.sbatch

This file was deleted.

16 changes: 0 additions & 16 deletions submit_portal_pipeline.sbatch

This file was deleted.

16 changes: 0 additions & 16 deletions submit_portal_rodents_pipeline.sbatch

This file was deleted.

2 changes: 1 addition & 1 deletion tests/testthat/test05_diversity_indices.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ test_that("individual and site DIs work", {
di_obs <- pull_di(di_many)

expect_true(is.data.frame(di_obs))
expect_true(ncol(di_obs) == ncol(di_many) + 7)
expect_true(ncol(di_obs) == ncol(di_many) + 19)
expect_true(nrow(di_obs) == 1)
expect_true(di_obs$nsamples == nrow(di_many) - 1)
expect_true(di_obs$source[1] == "observed")
Expand Down
Loading

0 comments on commit d2ae99f

Please sign in to comment.