Skip to content

Commit

Permalink
Remove Rd files for unexported functions
Browse files Browse the repository at this point in the history
following CRAN comments
  • Loading branch information
Rekyt committed Feb 11, 2021
1 parent 5b8a54f commit 01751f1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 47 deletions.
1 change: 1 addition & 0 deletions R/remove_species_without_trait.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#' columns
#'
#' @importFrom stats complete.cases
#' @noRd
remove_species_without_trait <- function(trait_mat) {

complete_traits <- complete.cases(trait_mat)
Expand Down
1 change: 1 addition & 0 deletions R/species_in_common.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#' @param site_sp a `matrix`, `data.frame` or a `Matrix` with the
#' abundances or occurrences of species in each site,
#' with sites as rows and species as columns
#' @noRd
species_in_common = function(traits, site_sp) {
if (!is.matrix(traits) & !is.data.frame(traits)) {
stop("Trait dataset not of good type, check trait dataset", call. = FALSE)
Expand Down
17 changes: 7 additions & 10 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
## General comments

2nd resubmission:
* Corrected missing \value{} in .Rd files by removing .Rd files for unexported
functions.

## Test environments

* Mac OS High Sierra 10.13.6 (local), R 4.0.3
* (rhub) Debian Linux, R-devel, clang, ISO-8859-15 locale
* (rhub) Debian Linux, R-devel, GCC
Expand Down Expand Up @@ -30,13 +37,3 @@
0 errors | 0 warnings | 1 Note

* This is a new release.
* Possibly mis-spelled words in DESCRIPTION:
FDiv (15:14)
FRic (15:64)
Feve (15:38)
Fonctional (15:44)
Indices (2:55)
Rao's (15:74)
Vill�ger (16:26)
et (16:35)
indices (14:52, 17:67)
15 changes: 0 additions & 15 deletions man/remove_species_without_trait.Rd

This file was deleted.

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

This file was deleted.

0 comments on commit 01751f1

Please sign in to comment.