Skip to content

Commit

Permalink
Merge pull request #8 from dramanica/roxygen2
Browse files Browse the repository at this point in the history
* Move to Roxygen2 (fix #3)
* Don't use an environment in global env (fix #4)
* Fix bug in dijkstraBetween (fix #6)
  • Loading branch information
dramanica authored Jan 5, 2022
2 parents bacf01e + 479eac5 commit d0d54ac
Show file tree
Hide file tree
Showing 116 changed files with 4,378 additions and 5,532 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
inst/shiny/.RData
inst/shiny/.Rhistory
misc/*
.Rproj.user
geograph.Rproj
.Rhistory
64 changes: 53 additions & 11 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,15 +1,57 @@
Package: geoGraph
Version: 1.0-0
Date: 2015/09/13
Title: walking through the geographic space using graphs
Author: Thibaut Jombart
Maintainer: Thibaut Jombart <[email protected]>
Depends: methods, graph, RBGL, sp
Imports: maptools, MASS, fields
Suggests: testthat, knitr
Type: Package
Title: Walking through the geographic space using graphs
Version: 1.1-1
Author: Thibaut Jombart,
Andrea Manica
Maintainer: Andrea Manica <[email protected]>
Description: Classes and methods for spatial graphs interfaced with support for GIS shapefiles.
License: GPL (>=2)
LazyLoad: yes
LazyData: TRUE
Collate: classes.R basicMethods.R accessors.R auxil.R connectivity.R dropDead.R closestNode.R isInArea.R rebuild.R plot.R zoom.R findLand.R extractFromLayer.R interact.R setCosts.R dijkstra.R setDistCosts.R makeGrid.R buffer.R zzz.R
Encoding: UTF-8
LazyData: true
LazyDataCompression: xz
VignetteBuilder: knitr
Roxygen: list(markdown = TRUE)
Depends:
R (>= 3.5.0),
methods,
graph
Imports:
maptools,
MASS,
fields,
RBGL,
sp
Remotes:
bioc::graph,
bioc::RBGL
Suggests:
testthat,
knitr,
rmarkdown,
BiocManager
RoxygenNote: 7.1.2
Collate:
'classes.R'
'accessors.R'
'auxil.R'
'basicMethods.R'
'buffer.R'
'closestNode.R'
'connectivity.R'
'datasets.R'
'dijkstra.R'
'dropDead.R'
'extractFromLayer.R'
'findLand.R'
'geograph.R'
'globals.R'
'interact.R'
'isInArea.R'
'makeGrid.R'
'plot.R'
'rebuild.R'
'setCosts.R'
'setDistCosts.R'
'zoom.R'
'zzz.R'
98 changes: 78 additions & 20 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,21 +1,79 @@
# Generated by roxygen2: do not edit by hand

## Export all names
exportPattern(".")


## import base backages that are needed
importFrom("grDevices", "rainbow")
importFrom("graphics", "arrows", "identify", "locator", "par",
"segments")
importFrom("stats", "dist")
importFrom("utils", "data", "head", "install.packages", "packageDescription")


## Import all packages listed as Imports or Depends
import(methods, graph, RBGL, sp, maptools, MASS, fields)

## export classes methods
exportClasses("gGraph")
exportClasses("gData")
exportMethods("[")
exportMethods("plot")
S3method(plot,gPath)
export()
export(.gData.valid)
export(.gGraph.valid)
export(.zoomlog.up)
export(areConnected)
export(areNeighbours)
export(buffer)
export(closestNode)
export(connectivityPlot)
export(dijkstraBetween)
export(dijkstraFrom)
export(dropCosts)
export(dropDeadEdges)
export(dropDeadNodes)
export(extractFromLayer)
export(findLand)
export(gPath2dist)
export(geo.add.edges)
export(geo.back)
export(geo.bookmark)
export(geo.change.attr)
export(geo.goto)
export(geo.remove.edges)
export(geo.segments)
export(geo.slide)
export(geo.zoomin)
export(geo.zoomout)
export(getColors)
export(getCoords)
export(getData)
export(getEdges)
export(getNodeCosts)
export(getNodes)
export(getNodesAttr)
export(hasCosts)
export(installDep.geoGraph)
export(is.gData)
export(is.gGraph)
export(isInArea)
export(isReachable)
export(makeGrid)
export(plotEdges)
export(setCosts)
export(setDistCosts)
export(setEdges)
exportClasses(gData)
exportClasses(gGraph)
exportMethods(buffer)
exportMethods(closestNode)
exportMethods(connectivityPlot)
exportMethods(dijkstraBetween)
exportMethods(dijkstraFrom)
exportMethods(dropCosts)
exportMethods(extractFromLayer)
exportMethods(findLand)
exportMethods(getColors)
exportMethods(getCoords)
exportMethods(getCosts)
exportMethods(getData)
exportMethods(getEdges)
exportMethods(getNodeCosts)
exportMethods(getNodes)
exportMethods(getNodesAttr)
exportMethods(initialize)
exportMethods(isConnected)
exportMethods(isInArea)
exportMethods(plot)
exportMethods(points)
exportMethods(setDistCosts)
exportMethods(setEdges)
import(graph)
import(methods)
import(sp)
importFrom(graphics,identify)
importFrom(graphics,locator)
importFrom(graphics,segments)
Loading

0 comments on commit d0d54ac

Please sign in to comment.