Skip to content

Commit

Permalink
Update rename
Browse files Browse the repository at this point in the history
  • Loading branch information
gertjanssenswillen committed Feb 23, 2024
1 parent b80808e commit 0e0f221
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion R/rename.R
Expand Up @@ -18,7 +18,11 @@ rename.log <- function(.data, ...) {

renames <- list(...)
mapping <- mapping(.data)
mapping[mapping %in% renames] <- names(renames)

for(i in 1:6) {
if(mapping[[i]] %in% renames)
mapping[[i]] <- names(renames)[which(renames == mapping[[i]])]
}

.data %>%
as_tibble() %>%
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Expand Up @@ -51,7 +51,7 @@ devtools::install_github("bupaverse/bupaR")

## Example

The [bupaR Documentation](https://bupar.net/getting_started.html) website contains more details on getting started with _Business Process Analysis_ using **bupaR**.
The [bupaR Documentation](https://bupaverse.github.io/docs/) website contains more details on getting started with _Business Process Analysis_ using **bupaR**.

```{r example}
library(bupaR)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -8,7 +8,7 @@
[![CRAN
status](https://www.r-pkg.org/badges/version/bupaR)](https://CRAN.R-project.org/package=bupaR/)
[![GitHub
version](https://img.shields.io/badge/GitHub-0.5.2.9000-blue)](https://github.com/bupaverse/bupaR)
version](https://img.shields.io/badge/GitHub-0.5.1-blue)](https://github.com/bupaverse/bupaR)
[![R-CMD-check](https://github.com/bupaverse/bupaR/workflows/R-CMD-check/badge.svg/)](https://github.com/bupaverse/bupaR/actions/)
[![codecov](https://codecov.io/gh/bupaverse/bupaR/branch/dev/graph/badge.svg?token=40OgWBneWv/)](https://app.codecov.io/gh/bupaverse/bupaR/)
[![Lifecycle:
Expand Down Expand Up @@ -48,8 +48,8 @@ devtools::install_github("bupaverse/bupaR")

## Example

The [bupaR Documentation](https://bupar.net/getting_started.html)
website contains more details on getting started with *Business Process
The [bupaR Documentation](https://bupaverse.github.io/docs/) website
contains more details on getting started with *Business Process
Analysis* using **bupaR**.

``` r
Expand Down

0 comments on commit 0e0f221

Please sign in to comment.