Skip to content

Commit 89bc17d

Browse files
committed
Updating backbones (version 0.0.9)
1 parent 0fbacf4 commit 89bc17d

23 files changed

Lines changed: 34 additions & 20 deletions

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: plantRdata
22
Type: Package
33
Title: Accessory Datasets for Package plantR
4-
Version: 0.0.8
4+
Version: 0.0.9
55
Authors@R: c(
66
person(given = "Renato A.",
77
family = "Ferreira de Lima",
@@ -15,7 +15,7 @@ BugReports: https://github.com/LimaRAF/plantRdata/issues
1515
License: GPL (>= 3)
1616
Encoding: UTF-8
1717
Roxygen: list(markdown = TRUE)
18-
RoxygenNote: 7.3.2
18+
RoxygenNote: 7.3.3
1919
Config/testthat/edition: 3
2020
Depends:
2121
R (>= 3.5.0)

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# plantRdata 0.0.9
2+
3+
* Updating all backbones
4+
15
# plantRdata 0.0.8
26

37
* Fixing the BFO backbone regarding the presence of quadrinomials in the datatset (subforms and subvarieties)

README.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ plantRdata <!-- <img src="man/figures/package-sticker.png" align="right" style="
1919

2020
<!-- badges: start -->
2121
<!-- [![CRAN status](https://www.r-pkg.org/badges/version/plantRdata)](https://CRAN.R-project.org/package=plantRdata) -->
22-
[![R CMD Check](https://github.com/LimaRAF/plantRdata/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/LimaRAF/plantRdata/actions/workflows/R-CMD-check.yaml)
22+
<!-- [![R CMD Check](https://github.com/LimaRAF/plantRdata/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/LimaRAF/plantRdata/actions/workflows/R-CMD-check.yaml) -->
2323
[![Website](https://github.com/LimaRAF/plantRdata/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/LimaRAF/plantRdata/actions/workflows/pkgdown.yaml)
24-
[![Test coverage](https://github.com/LimaRAF/plantRdata/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/LimaRAF/plantRdata/actions/workflows/test-coverage.yaml)
24+
<!-- [![Test coverage](https://github.com/LimaRAF/plantRdata/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/LimaRAF/plantRdata/actions/workflows/test-coverage.yaml) -->
2525
<!-- [![codecov](https://codecov.io/gh/LimaRAF/plantRdata/branch/master/graph/badge.svg)](https://codecov.io/gh/LimaRAF/plantRdata) -->
2626
[![License: GPL (>= 3)](https://img.shields.io/badge/License-GPL%20%28%3E%3D%203%29-blue.svg)](https://choosealicense.com/licenses/gpl-3.0/)
2727
<!-- badges: end -->

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@
55

66
<!-- badges: start -->
77
<!-- [![CRAN status](https://www.r-pkg.org/badges/version/plantRdata)](https://CRAN.R-project.org/package=plantRdata) -->
8+
<!-- [![R CMD Check](https://github.com/LimaRAF/plantRdata/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/LimaRAF/plantRdata/actions/workflows/R-CMD-check.yaml) -->
89

9-
[![R CMD
10-
Check](https://github.com/LimaRAF/plantRdata/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/LimaRAF/plantRdata/actions/workflows/R-CMD-check.yaml)
1110
[![Website](https://github.com/LimaRAF/plantRdata/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/LimaRAF/plantRdata/actions/workflows/pkgdown.yaml)
12-
[![Test
13-
coverage](https://github.com/LimaRAF/plantRdata/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/LimaRAF/plantRdata/actions/workflows/test-coverage.yaml)
11+
<!-- [![Test coverage](https://github.com/LimaRAF/plantRdata/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/LimaRAF/plantRdata/actions/workflows/test-coverage.yaml) -->
1412
<!-- [![codecov](https://codecov.io/gh/LimaRAF/plantRdata/branch/master/graph/badge.svg)](https://codecov.io/gh/LimaRAF/plantRdata) -->
1513
[![License: GPL (\>=
1614
3)](https://img.shields.io/badge/License-GPL%20%28%3E%3D%203%29-blue.svg)](https://choosealicense.com/licenses/gpl-3.0/)

data-raw/get_wfo.R

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,19 @@ if (last_updated != last_download) {
170170
## Removing the combined name + authorship column
171171
data <- data[, -which(names(data) %in% "scientific.name")]
172172

173-
## Replacing empty authors by NAs
173+
## Replacing empty fields by NAs
174+
rep_these <- data[["phylum"]] %in% c("", " ")
175+
if (any(rep_these))
176+
data[["phylum"]][rep_these] <- NA
177+
178+
rep_these <- data[["family"]] %in% c("", " ")
179+
if (any(rep_these))
180+
data[["family"]][rep_these] <- NA
181+
182+
rep_these <- data[["name.status"]] %in% c("", " ")
183+
if (any(rep_these))
184+
data[["name.status"]][rep_these] <- NA
185+
174186
rep_these <- data[["tax.authorship"]] %in% c("", " ")
175187
if (any(rep_these))
176188
data[["tax.authorship"]][rep_these] <- NA

data/bfoNamesAlgae.rda

132 Bytes
Binary file not shown.

data/bfoNamesBryophyta.rda

192 Bytes
Binary file not shown.

data/bfoNamesFungi.rda

140 Bytes
Binary file not shown.

data/bfoNamesTracheophyta.rda

464 Bytes
Binary file not shown.

data/ctfbNames.rda

1.46 KB
Binary file not shown.

0 commit comments

Comments
 (0)