Skip to content

Commit

Permalink
added magrittr as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
embruna committed Jul 24, 2024
1 parent 43c46a9 commit 6c2d036
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Imports:
Hmisc,
igraph,
Matrix,
magrittr,
network,
stringdist,
rworldmap,
Expand Down
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ importFrom(ggmap,geocode)
importFrom(ggplot2,theme)
importFrom(dplyr,arrange)
importFrom(dplyr,tally)
importFrom(dplyr, "%>%")
importFrom(magrittr, "%>%")
importFrom(network,"%v%")
importFrom(rworldmap,addMapLegend)
importFrom(stats,na.omit)
Expand Down
1 change: 1 addition & 0 deletions R/plot_net_country.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ plot_net_country <- function(data,
lineAlpha = 0.5) {

requireNamespace(package = "dplyr", quietly = TRUE)
requireNamespace(package = "magrittr", quietly = TRUE)

fixable_countries<-data %>%
dplyr::filter(is.na(country)==FALSE & is.na(lat)==TRUE) %>%
Expand Down
12 changes: 12 additions & 0 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,18 @@
},
"sameAs": "https://github.com/dkahle/ggmap"
},
{
"@type": "SoftwareApplication",
"identifier": "magrittr",
"name": "magrittr",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=magrittr"
},
{
"@type": "SoftwareApplication",
"identifier": "ggplot2",
Expand Down

0 comments on commit 6c2d036

Please sign in to comment.