Skip to content

Commit 2f74ab2

Browse files
Merge branch 'dev'
2 parents 6e2e20a + 5e0f659 commit 2f74ab2

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## [1.0.2] - 2022 March 3
4+
* Modified the Makevars file to correctly add an rpath (Runpath Search Path) for Mac OS users with `install_name_tool`. From the manual, the command used is `-change old new` whereby this "Changes the dependent shared library install name old to new in the specified Mach-O binary. More than one of these options can be specified. If the Mach-O binary does not contain the old install name in a specified -change option the option is ignored."
5+
36
## [1.0.1] - 2021 Dec 03
47
* Modified the Makevars to use SHLIB_EXT to account for both shared library extensions on Mac OS (either *.so or *dylib)
58

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: leidenAlg
22
Type: Package
33
Title: Implements the Leiden Algorithm via an R Interface
4-
Version: 1.0.1
4+
Version: 1.0.2
55
Authors@R: c(person("Peter", "Kharchenko", email = "Peter_Kharchenko@hms.harvard.edu", role = c("aut")), person("Viktor", "Petukhov", email = "viktor.s.petukhov@ya.ru", role = c("aut")), person("V.A.", "Traag", email = "v.a.traag@cwts.leidenuniv.nl", role = c("ctb")), person("Gábor", "Csárdi", email = "sardi.gabor@gmail.com", role = c("ctb")), person("Tamás", "Nepusz", email = "ntamas@gmail.com", role = c("ctb")), person("Minh Van", "Nguyen", email = "nguyenminh2@gmail.com", role = c("ctb")), person("Evan", "Biederstedt", email = "evan.biederstedt@gmail.com", role=c("cre", "aut")))
66
Description: An R interface to the Leiden algorithm, an iterative community detection algorithm on networks. The algorithm is designed to converge to a partition in which all subsets of all communities are locally optimally assigned, yielding communities guaranteed to be connected. The implementation proves to be fast, scales well, and can be run on graphs of millions of nodes (as long as they can fit in memory). The original implementation was constructed as a python interface "leidenalg" found here: <https://github.com/vtraag/leidenalg>. The algorithm was originally described in Traag, V.A., Waltman, L. & van Eck, N.J. "From Louvain to Leiden: guaranteeing well-connected communities". Sci Rep 9, 5233 (2019) <doi:10.1038/s41598-019-41695-z>.
77
License: GPL-3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,5 @@ If you find `leidenAlg` useful for your publication, please cite:
7777
```
7878
Peter Kharchenko, Viktor Petukhov and Evan Biederstedt (2021).
7979
leidenAlg: Implements the Leiden Algorithm via an R Interface. R
80-
package version 1.0.1. https://github.com/kharchenkolab/leidenAlg
80+
package version 1.0.2. https://github.com/kharchenkolab/leidenAlg
8181
```

src/Makevars

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ SUBLIBS = leidenalg.a
1919

2020
IGRAPH_LIB = $(PKGB_PATH)/igraph$(SHLIB_EXT)
2121

22-
all: $(SHLIB)
23-
if [ "$(OS)" != "Windows_NT" ] && [ `uname -s` = 'Darwin' ]; then install_name_tool -id '@rpath/igraph$(SHLIB_EXT)' $(IGRAPH_LIB); fi
22+
all: $(SHLIB)
23+
if [ "$(OS)" != "Windows_NT" ] && [ `uname -s` = 'Darwin' ]; then install_name_tool -change 'igraph$(SHLIB_EXT)' $(PKGB_PATH)/igraph$(SHLIB_EXT) $(SHLIB); fi
24+
2425

2526
$(SHLIB): $(OBJECTS) sublibs
2627
sublibs: sublibraries

0 commit comments

Comments
 (0)