Skip to content

Commit 9b4f638

Browse files
committed
- Several improvements to packaging
--- Finally fixes #83
1 parent b2d6748 commit 9b4f638

6 files changed

Lines changed: 9 additions & 46 deletions

File tree

bump_version.R

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/R/DESCRIPTION

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ Suggests:
2121
dplyr,
2222
tidyr,
2323
magrittr,
24-
knitr
24+
knitr,
25+
testthat,
26+
rstudioapi
2527
Config/testthat/edition: 3
2628
Imports:
2729
reticulate

src/R/NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# vimure 0.1.2 (2023-08-16)
44

55
- (R) Add minimal vignettes for synthetic models
6-
- (R) Synthetic network models have better names
6+
- (R) Synthetic network models have better names + modify unit tests
77
- (Python) no changes
88

99

src/R/R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ parse_graph_from_igraph <- function(
138138
}
139139

140140

141-
if(class(graph) != "igraph"){
141+
if(inherits(graph, "igraph")){
142142
stop("invalid 'type' (", class(graph), ") of argument")
143143
}
144144

src/R/renv.lock

Lines changed: 3 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"R": {
3-
"Version": "4.3.1",
3+
"Version": "4.2.2",
44
"Repositories": [
55
{
66
"Name": "CRAN",
@@ -460,19 +460,6 @@
460460
],
461461
"Hash": "9122b3958e749badb5c939f498038b57"
462462
},
463-
"ggcorrplot": {
464-
"Package": "ggcorrplot",
465-
"Version": "0.1.4",
466-
"Source": "Repository",
467-
"Repository": "CRAN",
468-
"Requirements": [
469-
"R",
470-
"ggplot2",
471-
"reshape2",
472-
"stats"
473-
],
474-
"Hash": "463c9147c97479678b40bbf621a10635"
475-
},
476463
"ggplot2": {
477464
"Package": "ggplot2",
478465
"Version": "3.4.3",
@@ -967,17 +954,6 @@
967954
],
968955
"Hash": "6b0c222c5071efe0f3baf3dae9aa40e2"
969956
},
970-
"plyr": {
971-
"Package": "plyr",
972-
"Version": "1.8.8",
973-
"Source": "Repository",
974-
"Repository": "CRAN",
975-
"Requirements": [
976-
"R",
977-
"Rcpp"
978-
],
979-
"Hash": "d744387aef9047b0b48be2933d78e862"
980-
},
981957
"png": {
982958
"Package": "png",
983959
"Version": "0.1-8",
@@ -1148,22 +1124,9 @@
11481124
],
11491125
"Hash": "ce3065fc1a0b64a859f55ac3998d6927"
11501126
},
1151-
"reshape2": {
1152-
"Package": "reshape2",
1153-
"Version": "1.4.4",
1154-
"Source": "Repository",
1155-
"Repository": "CRAN",
1156-
"Requirements": [
1157-
"R",
1158-
"Rcpp",
1159-
"plyr",
1160-
"stringr"
1161-
],
1162-
"Hash": "bb5996d0bd962d214a11140d77589917"
1163-
},
11641127
"reticulate": {
11651128
"Package": "reticulate",
1166-
"Version": "1.30",
1129+
"Version": "1.31",
11671130
"Source": "Repository",
11681131
"Repository": "CRAN",
11691132
"Requirements": [
@@ -1181,7 +1144,7 @@
11811144
"utils",
11821145
"withr"
11831146
],
1184-
"Hash": "103e4814f4a7a3eb9fb28adf52bf1586"
1147+
"Hash": "5e2f71b7ccd5c060ad439a4824b4288c"
11851148
},
11861149
"rlang": {
11871150
"Package": "rlang",

src/python/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# vimure 0.1.2 (2023-08-16)
22

33
- (R) Add minimal vignettes for synthetic models
4-
- (R) Synthetic network models have better names
4+
- (R) Synthetic network models have better names + modify unit tests
55
- (Python) no changes
66

77

0 commit comments

Comments
 (0)