-
-
Notifications
You must be signed in to change notification settings - Fork 200
/
deprecated-dot-case.Rmd
33 lines (26 loc) · 1.02 KB
/
deprecated-dot-case.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
title: "Function name changes: from dot case to snake case"
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
To provide a more consistent interface, igraph functions that have a dot case name,
like `add.edges()`, will be deprecated in favor of functions with a snake case name,
like `add_edges()`.
Currently, for each function both alternatives work, but we'll incrementally remove the
dot case functions, first emitting deprecation messages when they are used, then in a further version warnings,
until they actually result in an error.
Therefore, we'd like to ask you to update your codebases, be they packages or scripts.
Thank you for your cooperation!
Direct any question to us in the [igraph issue tracker](https://github.com/igraph/rigraph/issues).
```{r setup, echo=FALSE}
deprecated_df <- readr::read_csv(
system.file('lifecycle', 'deprecated.csv', package = "igraph"),
show_col_types = FALSE
)
names(deprecated_df) <- c("Old name", "New name")
knitr::kable(deprecated_df)
```