Skip to content

Commit

Permalink
Fixed issues causing NAMESPACE issues
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcsterratt committed Jan 5, 2024
1 parent bcf846b commit 0116555
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pkg/retistruct/NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@ export(sphericalplot)
export(tri.area)
export(tri.area.signed)
export(vecnorm)
import(rgl)
import(rgl, except = triangulate)
import(ttutils)
importFrom(R6,R6Class)
importFrom(RTriangle,triangulate)
importFrom(geometry,Unique)
importFrom(geometry,bary2cart)
importFrom(geometry,delaunayn)
Expand Down
1 change: 0 additions & 1 deletion pkg/retistruct/R/ReconstructedOutline.R
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,6 @@ lvsLplot.ReconstructedOutline <- function(r, ...) {
##' @param ... Other graphics parameters -- not used at present
##' @method sphericalplot ReconstructedOutline
##' @author David Sterratt
##' @import rgl
##' @export
sphericalplot.ReconstructedOutline <- function(r,
strain=FALSE,
Expand Down
3 changes: 2 additions & 1 deletion pkg/retistruct/R/TriangulatedFragment.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
##' triangulated mesh over an fragment, and fields to hold the mesh
##' information.
##' @import ttutils
##' @importFrom geometry Unique
##' @importFrom geometry Unique
##' @importFrom RTriangle triangulate
##' @author David Sterratt
##' @export
TriangulatedFragment <- R6Class("TriangulatedFragment",
Expand Down
2 changes: 1 addition & 1 deletion pkg/retistruct/R/TriangulatedOutline.R
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ flatplot.TriangulatedOutline <- function(x, axt="n",
trimesh(x$T, x$P, col="grey", add=TRUE)
}

##' @import rgl
##' @rawNamespace import(rgl, except = triangulate)
##' @method depthplot3D TriangulatedOutline
##' @export
depthplot3D.TriangulatedOutline <- function(r, ...) {
Expand Down

0 comments on commit 0116555

Please sign in to comment.