Skip to content

Commit 79c7b06

Browse files
committed
Simplify
1 parent 5f11915 commit 79c7b06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/versions.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,5 +243,6 @@ print.igraph_version <- function(x, ...) {
243243
}
244244

245245
c_version <- function() {
246-
version_impl()[["version_string"]]
246+
version <- version_impl()
247+
version[["version_string"]]
247248
}

0 commit comments

Comments
 (0)