[R/asymmetrycurve.R:85:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L85) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_est <- do.call(depth, c(uxname_list, depth_params))
  ^~~~~
```
[R/asymmetrycurve.R:117:5:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L117) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
    depth_est <- do.call(depth, c(uxname_list, depth_params))
    ^~~~~
```
[R/asymmetrycurve.R:120:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L120) *warning:* **no visible global function definition for ‘depthMedian’**
```r
  median <- depthMedian(X, depth_params)
            ^~~~~~~~~~~
```
[R/asymmetrycurve.R:137:17:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L137) *warning:* **no visible global function definition for ‘convhulln’**
```r
      vol[i] <- convhulln(tmp_X, options = "FA")$vol
                ^~~~~~~~~
```
[R/asymmetrycurve.R:162:5:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L162) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
    depth_est <- do.call(depth, c(uxname_list, depth_params))
    ^~~~~
```
[R/asymmetrycurve.R:182:17:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L182) *warning:* **no visible global function definition for ‘convhulln’**
```r
      vol[i] <- convhulln(tmp_X, options = "FA")$vol
                ^~~~~~~~~
```
[R/asymmetrycurve.R:187:11:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L187) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
      tmp_depth_est <- do.call(depth, c(uxname_list_temp, depth_params))
          ^~~~~
```
[R/binningDepth2d.R:75:19:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/binningDepth2d.R#L75) *warning:* **no visible global function definition for ‘lsdSampleMaxDepth’**
```r
      dep_stat <- lsdSampleMaxDepth(x)
                  ^~~~~~~~~~~~~~~~~
```
[R/binningDepth2d.R:127:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/binningDepth2d.R#L127) *warning:* **no visible global function definition for ‘depthMedian’**
```r
    means <- depthMedian(x, depth_params)
             ^~~~~~~~~~~
```
[R/binningDepth2d.R:136:10:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/binningDepth2d.R#L136) *warning:* **no visible global function definition for ‘binning’**
```r
  tmp <- binning(x = x, breaks = b)$table.freq
         ^~~~~~~
```
[R/CovarianceFunctions.R:59:10:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/CovarianceFunctions.R#L59) *warning:* **no visible global function definition for ‘CovLPCPP’**
```r
  cov <- CovLPCPP(x, pdim, la, lb)
         ^~~~~~~~
```
[R/CovarianceFunctions.R:61:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/CovarianceFunctions.R#L61) *warning:* **no visible global function definition for ‘depthMedian’**
```r
  center <- depthMedian(x, depth_params)
            ^~~~~~~~~~~
```
[R/ddmvnorm.R:47:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddmvnorm.R#L47) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_sample <- do.call(depth, c(ux_list, depth_params))
  ^~~~~
```
[R/ddmvnorm.R:51:17:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddmvnorm.R#L51) *warning:* **no visible global function definition for ‘depthMedian’**
```r
    location <- depthMedian(x, depth_params)
                ^~~~~~~~~~~
```
[R/ddmvnorm.R:57:18:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddmvnorm.R#L57) *warning:* **no visible global function definition for ‘mvrnorm’, Did you mean 'rnorm'?**
```r
  theoretical <- mvrnorm(size, location, varcov)
                 ^~~~~~~
```
[R/ddmvnorm.R:59:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddmvnorm.R#L59) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_theoretical <- do.call(depth, c(ux_list_theoretical, depth_params))
  ^~~~~
```
[R/ddPlot.r:54:5:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddPlot.r#L54) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depth_x'?**
```r
    depth_sample_x <- do.call(depth, c(uxname_list_x, depth_params))
    ^~~~~
```
[R/ddPlot.r:55:5:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddPlot.r#L55) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depth_x'?**
```r
    depth_sample_y <- do.call(depth, c(uxname_list_y, depth_params))
    ^~~~~
```
[R/ddPlot.r:65:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddPlot.r#L65) *warning:* **no visible global function definition for ‘depthMedian’**
```r
    medx <- depthMedian(x_new, depth_params)
            ^~~~~~~~~~~
```
[R/ddPlot.r:66:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddPlot.r#L66) *warning:* **no visible global function definition for ‘depthMedian’**
```r
    medy <- depthMedian(y_new, depth_params)
            ^~~~~~~~~~~
```
[R/ddPlot.r:74:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddPlot.r#L74) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depth_x'?**
```r
  depth_x <- do.call(depth, c(uxname_list_x_new, depth_params))
  ^~~~~
```
[R/ddPlot.r:75:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddPlot.r#L75) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depth_x'?**
```r
  depth_y <- do.call(depth, c(uxname_list_y_new, depth_params))
  ^~~~~
```
[R/deepreg2d.R:63:10:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/deepreg2d.R#L63) *warning:* **no visible global function definition for ‘depth2dcpp’**
```r
  tmp <- depth2dcpp(x, y)
         ^~~~~~~~~~
```
[R/depth.R:176:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L176) *warning:* **no visible global function definition for ‘depthMahCPP’**
```r
  depth <- depthMahCPP(u, X, cov, mean, threads)
           ^~~~~~~~~~~
```
[R/depth.R:216:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L216) *warning:* **no visible global function definition for ‘depthProjCPP’**
```r
  depth <- depthProjCPP(u, X, ndir, threads)
           ^~~~~~~~~~~~
```
[R/depth.R:276:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L276) *warning:* **no visible global function definition for ‘depthTukeyCPP’**
```r
    depth <- depthTukeyCPP(u, X, exact, threads)
             ^~~~~~~~~~~~~
```
[R/depth.R:279:15:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L279) *warning:* **no visible global function definition for ‘runifsphere’**
```r
    proj <- t(runifsphere(ndir, ncol(X)))
              ^~~~~~~~~~~
```
[R/depth.R:335:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L335) *warning:* **no visible global function definition for ‘depthLPCPP’**
```r
    depth <- depthLPCPP(u, X, pdim, la, lb, threads = threads)
             ^~~~~~~~~~
```
[R/DepthBasedTests.R:60:20:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/DepthBasedTests.R#L60) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'dep_x'?**
```r
  dep_x <- do.call(depth, c(uxname_list_x, depth_params))
                   ^~~~~
```
[R/DepthBasedTests.R:61:20:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/DepthBasedTests.R#L61) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'dep_x'?**
```r
  dep_y <- do.call(depth, c(uxname_list_y, depth_params))
                   ^~~~~
```
[R/depthContour.R:85:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthContour.R#L85) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_surface_raw <- do.call(depth, depth_params_list)
  ^~~~~
```
[R/depthContour.R:109:19:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthContour.R#L109) *style:* **Commas should always have a space after.**
```r
    x <- data[idx,1]
                  ^
```
[R/depthContour.R:110:19:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthContour.R#L110) *style:* **Commas should always have a space after.**
```r
    y <- data[idx,2]
                  ^
```
[R/depthDensity.R:35:16:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthDensity.R#L35) *warning:* **no visible global function definition for ‘.createGrid’**
```r
    xy_grid <- .createGrid(x, y, nx, ny)
               ^~~~~~~~~~~
```
[R/depthDensity.R:38:16:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthDensity.R#L38) *warning:* **no visible global function definition for ‘.createGrid2’**
```r
    xy_grid <- .createGrid2(xg, yg)
               ^~~~~~~~~~~~
```
[R/depthDensity.R:43:15:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthDensity.R#L43) *warning:* **no visible global function definition for ‘npudens’**
```r
  dens_raw <- npudens(xy, edat = xy_grid)$dens
              ^~~~~~~
```
[R/depthDensity.R:44:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthDensity.R#L44) *warning:* **no visible global function definition for ‘npudens’**
```r
  dens_x <- npudens(x, edat = xy_grid[, 1])$dens
            ^~~~~~~
```
[R/depthDensity.R:49:11:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthDensity.R#L49) *warning:* **no visible global function definition for ‘depthLocal’**
```r
  d_xy <- depthLocal(xy_grid, xy, ...)
          ^~~~~~~~~~
```
[R/depthDensity.R:50:10:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthDensity.R#L50) *warning:* **no visible global function definition for ‘depthLocal’**
```r
  d_x <- depthLocal(xy_grid[, 1, drop = FALSE], xy[, 1, drop = FALSE], ...)
         ^~~~~~~~~~
```
[R/depthLocal.R:18:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthLocal.R#L18) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depths'?**
```r
  depths <- as.numeric(do.call(depth, c(uxDepthList1, depth_params1)))
  ^~~~~
```
[R/depthLocal.R:24:22:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthLocal.R#L24) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depths'?**
```r
  as.numeric(do.call(depth, c(uxDepthList2, depth_params2)))
                     ^~~~~
```
[R/depthPersp.R:59:26:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthPersp.R#L59) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
    z_surface <- do.call(depth, depth_params)
                         ^~~~~
```
[R/fncFunctions.R:21:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/fncFunctions.R#L21) *warning:* **no visible global function definition for ‘fncDepth’**
```r
  depths <- fncDepth(u, X, method = method, byrow = byrow, ...)
            ^~~~~~~~
```
[R/functional_boxplot.R:36:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L36) *warning:* **no visible global function definition for ‘fncDepth’**
```r
  depths <- fncDepth(u, X, method = method, byrow = byrow, ...)
            ^~~~~~~~
```
[R/functional_boxplot.R:38:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L38) *warning:* **no visible global function definition for ‘.fncBoxPlotGGPlot’**
```r
  .fncBoxPlotGGPlot(depths, bands)
  ^~~~~~~~~~~~~~~~~
```
[R/functional_boxplot.R:43:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L43) *warning:* **no visible global function definition for ‘fncGetBandsDataFrame’**
```r
  bands <- fncGetBandsDataFrame(obj, bands)
           ^~~~~~~~~~~~~~~~~~~~
```
[R/functional_boxplot.R:45:8:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L45) *warning:* **no visible global function definition for ‘ggplot’, Did you mean 'plot'?**
```r
  p <- ggplot(bands, aes_string(x = "index", fill = "level", color = "level"))
       ^~~~~~
```
[R/functional_boxplot.R:45:22:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L45) *warning:* **no visible global function definition for ‘aes_string’**
```r
  p <- ggplot(bands, aes_string(x = "index", fill = "level", color = "level"))
                     ^~~~~~~~~~
```
[R/functional_boxplot.R:46:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L46) *warning:* **no visible global function definition for ‘geom_ribbon’**
```r
  p <- p + geom_ribbon(aes_string(ymin = "lower", ymax = "upper"))
           ^~~~~~~~~~~
```
[R/functional_boxplot.R:46:24:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L46) *warning:* **no visible global function definition for ‘aes_string’**
```r
  p <- p + geom_ribbon(aes_string(ymin = "lower", ymax = "upper"))
                       ^~~~~~~~~~
```
[R/functional_boxplot.R:47:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L47) *warning:* **no visible global function definition for ‘theme_bw’**
```r
  p <- p + theme_bw()
           ^~~~~~~~
```
[R/functional_boxplot.R:55:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L55) *warning:* **no visible global function definition for ‘scale_x_continuous’**
```r
    p <- p + scale_x_continuous(breaks = index, labels = labels)
             ^~~~~~~~~~~~~~~~~~
```
[R/functional_boxplot.R:71:5:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L71) *warning:* **no visible global function definition for ‘fncBand2DataFrame’**
```r
    fncBand2DataFrame(fncGetBand(obj, x))
    ^~~~~~~~~~~~~~~~~
```
[R/functional_boxplot.R:71:23:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L71) *warning:* **no visible global function definition for ‘fncGetBand’**
```r
    fncBand2DataFrame(fncGetBand(obj, x))
                      ^~~~~~~~~~
```
[R/functional_depths.R:60:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L60) *warning:* **no visible global function definition for ‘fncDepthFM’**
```r
    dept <- (fncDepthFM(u, X, ...))
             ^~~~~~~~~~
```
[R/functional_depths.R:66:15:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L66) *warning:* **no visible global function definition for ‘fncDepthMBD’**
```r
      dept <- fncDepthMBD(u)
              ^~~~~~~~~~~
```
[R/functional_depths.R:68:16:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L68) *warning:* **no visible global function definition for ‘fncDepthMBD’**
```r
      dept <- (fncDepthMBD(u, X))
               ^~~~~~~~~~~
```
[R/functional_depths.R:77:18:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L77) *warning:* **no visible global function definition for ‘extractIndexFromMatrix’**
```r
  depth@index <- extractIndexFromMatrix(u)
                 ^~~~~~~~~~~~~~~~~~~~~~
```
[R/functional_depths.R:101:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L101) *warning:* **no visible global function definition for ‘fncDepth’**
```r
  depth <- fncDepth(um, Xm, method, byrow = TRUE, ...)
           ^~~~~~~~
```
[R/functional_depths.R:104:11:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L104) *warning:* **no visible global function definition for ‘index’**
```r
    depth@index <- index(u)
          ^~~~~
```
[R/functional_depths.R:136:5:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L136) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depths'?**
```r
    depths <- depths + do.call(depth, dep1d_params)
    ^~~~~
```
[R/functional_depths.R:160:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L160) *warning:* **no visible global function definition for ‘fastMBD’**
```r
    depth <- fastMBD(t(u))
             ^~~~~~~
```
[R/functional_depths.R:162:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L162) *warning:* **no visible global function definition for ‘fastMBDRef’**
```r
    depth <- fastMBDRef(t(u), t(X))
             ^~~~~~~~~~
```
[R/functional_depths.R:186:18:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L186) *warning:* **no visible global function definition for ‘refRank’**
```r
    rmat[i, ] <- refRank(u[i, ], X[i, ])
                 ^~~~~~~
```
[R/locationScaleDepth.R:108:11:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/locationScaleDepth.R#L108) *warning:* **no visible global function definition for ‘getMuLS’**
```r
    mu <- getMuLS(x, n, d, lengthmu)
          ^~~~~~~
```
[R/locationScaleDepth.R:110:18:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/locationScaleDepth.R#L110) *warning:* **no visible global function definition for ‘sampleDepthContForMuCPP’**
```r
      as.numeric(sampleDepthContForMuCPP(d, mu[1], x))
                 ^~~~~~~~~~~~~~~~~~~~~~~
```
[R/lsd.R:150:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/lsd.R#L150) *warning:* **no visible global function definition for ‘sample.depth.cont.for.mu’**
```r
    cont <- sample.depth.cont.for.mu(d, mu, y = y)
            ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lsd.R:164:19:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/lsd.R#L164) *warning:* **no visible global function definition for ‘sample.depth.cont.for.mu’**
```r
          cont <- sample.depth.cont.for.mu(d, mu, y = y)
                  ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lsd.R:169:19:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/lsd.R#L169) *warning:* **no visible global function definition for ‘sample.depth.cont.for.mu’**
```r
          cont <- sample.depth.cont.for.mu(d, mu, y = y)
                  ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lsd.R:176:15:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/lsd.R#L176) *warning:* **no visible global function definition for ‘sample.depth.cont.for.mu’**
```r
      cont <- sample.depth.cont.for.mu(d, mu, y = y)
              ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mregdepth.R:9:8:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/mregdepth.R#L9) *warning:* **no visible global function definition for ‘runifsphere’**
```r
  u <- runifsphere(ndir, length(coef))
       ^~~~~~~~~~~
```
[R/RcppExports.R:5:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L5) *warning:* **no visible binding for global variable ‘_DepthProc_CovLPCPP’**
```r
    .Call(`_DepthProc_CovLPCPP`, X, p, a, b)
           ^~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:9:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L9) *warning:* **no visible binding for global variable ‘_DepthProc_depth2dcpp’**
```r
    .Call(`_DepthProc_depth2dcpp`, R_x, R_y)
           ^~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:13:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L13) *warning:* **no visible binding for global variable ‘_DepthProc_depthMahCPP’**
```r
    .Call(`_DepthProc_depthMahCPP`, ru, rX, rcov, rmean, threads)
           ^~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:17:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L17) *warning:* **no visible binding for global variable ‘_DepthProc_depthProjCPP’**
```r
    .Call(`_DepthProc_depthProjCPP`, ru, rX, nproj, threads)
           ^~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:21:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L21) *warning:* **no visible binding for global variable ‘_DepthProc_depthLPCPP’**
```r
    .Call(`_DepthProc_depthLPCPP`, ru, rX, p, a, b, threads)
           ^~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:25:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L25) *warning:* **no visible binding for global variable ‘_DepthProc_depthTukeyCPP’**
```r
    .Call(`_DepthProc_depthTukeyCPP`, ru, rX, exact, threads)
           ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:29:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L29) *warning:* **no visible binding for global variable ‘_DepthProc_modBandDepthRef’**
```r
    .Call(`_DepthProc_modBandDepthRef`, rX, rxRef)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:33:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L33) *warning:* **no visible binding for global variable ‘_DepthProc_modBandDepth’**
```r
    .Call(`_DepthProc_modBandDepth`, rX)
           ^~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:37:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L37) *warning:* **no visible binding for global variable ‘_DepthProc_sampleDepthContForMuCPP’**
```r
    .Call(`_DepthProc_sampleDepthContForMuCPP`, d, mu, rY)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:41:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L41) *warning:* **no visible binding for global variable ‘_DepthProc_sampleMaxDepthForMuCPP’**
```r
    .Call(`_DepthProc_sampleMaxDepthForMuCPP`, mu, rY, d_min, max_iter, eps)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:45:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L45) *warning:* **no visible binding for global variable ‘_DepthProc_sampleMaxLocScaleDepthCPP’**
```r
    .Call(`_DepthProc_sampleMaxLocScaleDepthCPP`, ry, iter, eps, p_length)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:49:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L49) *warning:* **no visible binding for global variable ‘_DepthProc_runifsphereCPP’**
```r
    .Call(`_DepthProc_runifsphereCPP`, n, p)
           ^~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:53:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L53) *warning:* **no visible binding for global variable ‘_DepthProc_covCPP’**
```r
    .Call(`_DepthProc_covCPP`, rX, threads)
           ^~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:57:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L57) *warning:* **no visible binding for global variable ‘_DepthProc_meanCPP’**
```r
    .Call(`_DepthProc_meanCPP`, rX, threads)
           ^~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:61:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L61) *warning:* **no visible binding for global variable ‘_DepthProc_refRank’**
```r
    .Call(`_DepthProc_refRank`, u, x)
           ^~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:63:1:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L63) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/runifsphere.R:17:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/runifsphere.R#L17) *warning:* **no visible global function definition for ‘runifsphereCPP’**
```r
  runifsphereCPP(n, p)
  ^~~~~~~~~~~~~~
```
[R/scalecurve.R:89:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/scalecurve.R#L89) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_est <- do.call(depth, c(uxname_list, depth_params))
  ^~~~~
```
[R/scalecurve.R:100:17:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/scalecurve.R#L100) *warning:* **no visible global function definition for ‘convhulln’**
```r
      vol[i] <- convhulln(tmp_x, options = "FA")$vol
                ^~~~~~~~~
```
[R/Utils.R:11:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/Utils.R#L11) *warning:* **no visible global function definition for ‘mvrnorm’, Did you mean 'rnorm'?**
```r
  mvrnorm(100, rep(1, d), diag(d))
  ^~~~~~~
```
[tests/testthat/test-depth-basic-api.R:12:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/tests/testthat/test-depth-basic-api.R#L12) *warning:* **no visible global function definition for ‘expect_equal’**
```r
  expect_equal(d1, d2)
  ^~~~~~~~~~~~
```


Welp autopep8 screwed the commit up.


[R/asymmetrycurve.R:85:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/asymmetrycurve.R#L85) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_est <- do.call(depth, c(uxname_list, depth_params))
  ^~~~~
```
[R/asymmetrycurve.R:117:5:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/asymmetrycurve.R#L117) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
    depth_est <- do.call(depth, c(uxname_list, depth_params))
    ^~~~~
```
[R/asymmetrycurve.R:120:13:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/asymmetrycurve.R#L120) *warning:* **no visible global function definition for ‘depthMedian’**
```r
  median <- depthMedian(X, depth_params)
            ^~~~~~~~~~~
```
[R/asymmetrycurve.R:137:17:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/asymmetrycurve.R#L137) *warning:* **no visible global function definition for ‘convhulln’**
```r
      vol[i] <- convhulln(tmp_X, options = "FA")$vol
                ^~~~~~~~~
```
[R/asymmetrycurve.R:162:5:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/asymmetrycurve.R#L162) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
    depth_est <- do.call(depth, c(uxname_list, depth_params))
    ^~~~~
```
[R/asymmetrycurve.R:182:17:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/asymmetrycurve.R#L182) *warning:* **no visible global function definition for ‘convhulln’**
```r
      vol[i] <- convhulln(tmp_X, options = "FA")$vol
                ^~~~~~~~~
```
[R/asymmetrycurve.R:187:11:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/asymmetrycurve.R#L187) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
      tmp_depth_est <- do.call(depth, c(uxname_list_temp, depth_params))
          ^~~~~
```
[R/binningDepth2d.R:75:19:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/binningDepth2d.R#L75) *warning:* **no visible global function definition for ‘lsdSampleMaxDepth’**
```r
      dep_stat <- lsdSampleMaxDepth(x)
                  ^~~~~~~~~~~~~~~~~
```
[R/binningDepth2d.R:127:14:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/binningDepth2d.R#L127) *warning:* **no visible global function definition for ‘depthMedian’**
```r
    means <- depthMedian(x, depth_params)
             ^~~~~~~~~~~
```
[R/binningDepth2d.R:136:10:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/binningDepth2d.R#L136) *warning:* **no visible global function definition for ‘binning’**
```r
  tmp <- binning(x = x, breaks = b)$table.freq
         ^~~~~~~
```
[R/CovarianceFunctions.R:59:10:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/CovarianceFunctions.R#L59) *warning:* **no visible global function definition for ‘CovLPCPP’**
```r
  cov <- CovLPCPP(x, pdim, la, lb)
         ^~~~~~~~
```
[R/CovarianceFunctions.R:61:13:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/CovarianceFunctions.R#L61) *warning:* **no visible global function definition for ‘depthMedian’**
```r
  center <- depthMedian(x, depth_params)
            ^~~~~~~~~~~
```
[R/ddmvnorm.R:47:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/ddmvnorm.R#L47) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_sample <- do.call(depth, c(ux_list, depth_params))
  ^~~~~
```
[R/ddmvnorm.R:51:17:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/ddmvnorm.R#L51) *warning:* **no visible global function definition for ‘depthMedian’**
```r
    location <- depthMedian(x, depth_params)
                ^~~~~~~~~~~
```
[R/ddmvnorm.R:57:18:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/ddmvnorm.R#L57) *warning:* **no visible global function definition for ‘mvrnorm’, Did you mean 'rnorm'?**
```r
  theoretical <- mvrnorm(size, location, varcov)
                 ^~~~~~~
```
[R/ddmvnorm.R:59:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/ddmvnorm.R#L59) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_theoretical <- do.call(depth, c(ux_list_theoretical, depth_params))
  ^~~~~
```
[R/ddPlot.r:54:5:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/ddPlot.r#L54) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depth_x'?**
```r
    depth_sample_x <- do.call(depth, c(uxname_list_x, depth_params))
    ^~~~~
```
[R/ddPlot.r:55:5:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/ddPlot.r#L55) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depth_x'?**
```r
    depth_sample_y <- do.call(depth, c(uxname_list_y, depth_params))
    ^~~~~
```
[R/ddPlot.r:65:13:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/ddPlot.r#L65) *warning:* **no visible global function definition for ‘depthMedian’**
```r
    medx <- depthMedian(x_new, depth_params)
            ^~~~~~~~~~~
```
[R/ddPlot.r:66:13:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/ddPlot.r#L66) *warning:* **no visible global function definition for ‘depthMedian’**
```r
    medy <- depthMedian(y_new, depth_params)
            ^~~~~~~~~~~
```
[R/ddPlot.r:74:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/ddPlot.r#L74) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depth_x'?**
```r
  depth_x <- do.call(depth, c(uxname_list_x_new, depth_params))
  ^~~~~
```
[R/ddPlot.r:75:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/ddPlot.r#L75) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depth_x'?**
```r
  depth_y <- do.call(depth, c(uxname_list_y_new, depth_params))
  ^~~~~
```
[R/ddPlot.r:77:13:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/ddPlot.r#L77) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  ddplot <- new("DDPlot", X = depth_x, Y = depth_y, title = title)
            ^~~
```
[R/deepreg2d.R:63:10:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/deepreg2d.R#L63) *warning:* **no visible global function definition for ‘depth2dcpp’**
```r
  tmp <- depth2dcpp(x, y)
         ^~~~~~~~~~
```
[R/deepreg2d.R:64:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/deepreg2d.R#L64) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("DeepReg2d", coef = tmp[2:1], depth = tmp[3])
  ^~~
```
[R/depth.R:133:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depth.R#L133) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("DepthEuclid", depth, u = u, X = X, method = "Euclidean")
  ^~~
```
[R/depth.R:176:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depth.R#L176) *warning:* **no visible global function definition for ‘depthMahCPP’**
```r
  depth <- depthMahCPP(u, X, cov, mean, threads)
           ^~~~~~~~~~~
```
[R/depth.R:178:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depth.R#L178) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("DepthMahalanobis", depth, u = u, X = X, method = "Mahalanobis")
  ^~~
```
[R/depth.R:216:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depth.R#L216) *warning:* **no visible global function definition for ‘depthProjCPP’**
```r
  depth <- depthProjCPP(u, X, ndir, threads)
           ^~~~~~~~~~~~
```
[R/depth.R:218:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depth.R#L218) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("DepthProjection", depth, u = u, X = X, method = "Projection")
  ^~~
```
[R/depth.R:276:14:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depth.R#L276) *warning:* **no visible global function definition for ‘depthTukeyCPP’**
```r
    depth <- depthTukeyCPP(u, X, exact, threads)
             ^~~~~~~~~~~~~
```
[R/depth.R:279:15:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depth.R#L279) *warning:* **no visible global function definition for ‘runifsphere’**
```r
    proj <- t(runifsphere(ndir, ncol(X)))
              ^~~~~~~~~~~
```
[R/depth.R:292:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depth.R#L292) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("DepthTukey", depth, u = u, X = X, method = "Tukey")
  ^~~
```
[R/depth.R:335:14:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depth.R#L335) *warning:* **no visible global function definition for ‘depthLPCPP’**
```r
    depth <- depthLPCPP(u, X, pdim, la, lb, threads = threads)
             ^~~~~~~~~~
```
[R/depth.R:338:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depth.R#L338) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("DepthLP", depth, u = u, X = X, method = "LP")
  ^~~
```
[R/DepthBasedTests.R:60:20:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/DepthBasedTests.R#L60) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'dep_x'?**
```r
  dep_x <- do.call(depth, c(uxname_list_x, depth_params))
                   ^~~~~
```
[R/DepthBasedTests.R:61:20:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/DepthBasedTests.R#L61) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'dep_x'?**
```r
  dep_y <- do.call(depth, c(uxname_list_y, depth_params))
                   ^~~~~
```
[R/depthContour.R:85:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depthContour.R#L85) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_surface_raw <- do.call(depth, depth_params_list)
  ^~~~~
```
[R/depthContour.R:109:19:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depthContour.R#L109) *style:* **Commas should always have a space after.**
```r
    x <- data[idx,1]
                  ^
```
[R/depthContour.R:110:19:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depthContour.R#L110) *style:* **Commas should always have a space after.**
```r
    y <- data[idx,2]
                  ^
```
[R/depthDensity.R:35:16:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depthDensity.R#L35) *warning:* **no visible global function definition for ‘.createGrid’**
```r
    xy_grid <- .createGrid(x, y, nx, ny)
               ^~~~~~~~~~~
```
[R/depthDensity.R:38:16:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depthDensity.R#L38) *warning:* **no visible global function definition for ‘.createGrid2’**
```r
    xy_grid <- .createGrid2(xg, yg)
               ^~~~~~~~~~~~
```
[R/depthDensity.R:43:15:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depthDensity.R#L43) *warning:* **no visible global function definition for ‘npudens’**
```r
  dens_raw <- npudens(xy, edat = xy_grid)$dens
              ^~~~~~~
```
[R/depthDensity.R:44:13:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depthDensity.R#L44) *warning:* **no visible global function definition for ‘npudens’**
```r
  dens_x <- npudens(x, edat = xy_grid[, 1])$dens
            ^~~~~~~
```
[R/depthDensity.R:49:11:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depthDensity.R#L49) *warning:* **no visible global function definition for ‘depthLocal’**
```r
  d_xy <- depthLocal(xy_grid, xy, ...)
          ^~~~~~~~~~
```
[R/depthDensity.R:50:10:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depthDensity.R#L50) *warning:* **no visible global function definition for ‘depthLocal’**
```r
  d_x <- depthLocal(xy_grid[, 1, drop = FALSE], xy[, 1, drop = FALSE], ...)
         ^~~~~~~~~~
```
[R/depthLocal.R:18:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depthLocal.R#L18) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depths'?**
```r
  depths <- as.numeric(do.call(depth, c(uxDepthList1, depth_params1)))
  ^~~~~
```
[R/depthLocal.R:24:22:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depthLocal.R#L24) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depths'?**
```r
  as.numeric(do.call(depth, c(uxDepthList2, depth_params2)))
                     ^~~~~
```
[R/depthPersp.R:59:26:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/depthPersp.R#L59) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
    z_surface <- do.call(depth, depth_params)
                         ^~~~~
```
[R/fncFunctions.R:21:13:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/fncFunctions.R#L21) *warning:* **no visible global function definition for ‘fncDepth’**
```r
  depths <- fncDepth(u, X, method = method, byrow = byrow, ...)
            ^~~~~~~~
```
[R/fncFunctions.R:50:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/fncFunctions.R#L50) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("FncBand", bands, index = obj@index, level = band)
  ^~~
```
[R/functional_boxplot.R:36:13:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_boxplot.R#L36) *warning:* **no visible global function definition for ‘fncDepth’**
```r
  depths <- fncDepth(u, X, method = method, byrow = byrow, ...)
            ^~~~~~~~
```
[R/functional_boxplot.R:38:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_boxplot.R#L38) *warning:* **no visible global function definition for ‘.fncBoxPlotGGPlot’**
```r
  .fncBoxPlotGGPlot(depths, bands)
  ^~~~~~~~~~~~~~~~~
```
[R/functional_boxplot.R:43:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_boxplot.R#L43) *warning:* **no visible global function definition for ‘fncGetBandsDataFrame’**
```r
  bands <- fncGetBandsDataFrame(obj, bands)
           ^~~~~~~~~~~~~~~~~~~~
```
[R/functional_boxplot.R:45:8:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_boxplot.R#L45) *warning:* **no visible global function definition for ‘ggplot’, Did you mean 'biplot'?**
```r
  p <- ggplot(bands, aes_string(x = "index", fill = "level", color = "level"))
       ^~~~~~
```
[R/functional_boxplot.R:45:22:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_boxplot.R#L45) *warning:* **no visible global function definition for ‘aes_string’**
```r
  p <- ggplot(bands, aes_string(x = "index", fill = "level", color = "level"))
                     ^~~~~~~~~~
```
[R/functional_boxplot.R:46:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_boxplot.R#L46) *warning:* **no visible global function definition for ‘geom_ribbon’**
```r
  p <- p + geom_ribbon(aes_string(ymin = "lower", ymax = "upper"))
           ^~~~~~~~~~~
```
[R/functional_boxplot.R:46:24:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_boxplot.R#L46) *warning:* **no visible global function definition for ‘aes_string’**
```r
  p <- p + geom_ribbon(aes_string(ymin = "lower", ymax = "upper"))
                       ^~~~~~~~~~
```
[R/functional_boxplot.R:47:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_boxplot.R#L47) *warning:* **no visible global function definition for ‘theme_bw’**
```r
  p <- p + theme_bw()
           ^~~~~~~~
```
[R/functional_boxplot.R:55:14:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_boxplot.R#L55) *warning:* **no visible global function definition for ‘scale_x_continuous’**
```r
    p <- p + scale_x_continuous(breaks = index, labels = labels)
             ^~~~~~~~~~~~~~~~~~
```
[R/functional_boxplot.R:71:5:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_boxplot.R#L71) *warning:* **no visible global function definition for ‘fncBand2DataFrame’**
```r
    fncBand2DataFrame(fncGetBand(obj, x))
    ^~~~~~~~~~~~~~~~~
```
[R/functional_boxplot.R:71:23:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_boxplot.R#L71) *warning:* **no visible global function definition for ‘fncGetBand’**
```r
    fncBand2DataFrame(fncGetBand(obj, x))
                      ^~~~~~~~~~
```
[R/functional_depths.R:60:14:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_depths.R#L60) *warning:* **no visible global function definition for ‘fncDepthFM’**
```r
    dept <- (fncDepthFM(u, X, ...))
             ^~~~~~~~~~
```
[R/functional_depths.R:61:14:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_depths.R#L61) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
    depth <- new("FncDepthFM", dept)
             ^~~
```
[R/functional_depths.R:66:15:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_depths.R#L66) *warning:* **no visible global function definition for ‘fncDepthMBD’**
```r
      dept <- fncDepthMBD(u)
              ^~~~~~~~~~~
```
[R/functional_depths.R:68:16:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_depths.R#L68) *warning:* **no visible global function definition for ‘fncDepthMBD’**
```r
      dept <- (fncDepthMBD(u, X))
               ^~~~~~~~~~~
```
[R/functional_depths.R:71:14:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_depths.R#L71) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
    depth <- new("FncDepthMBD", dept)
             ^~~
```
[R/functional_depths.R:77:18:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_depths.R#L77) *warning:* **no visible global function definition for ‘extractIndexFromMatrix’**
```r
  depth@index <- extractIndexFromMatrix(u)
                 ^~~~~~~~~~~~~~~~~~~~~~
```
[R/functional_depths.R:101:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_depths.R#L101) *warning:* **no visible global function definition for ‘fncDepth’**
```r
  depth <- fncDepth(um, Xm, method, byrow = TRUE, ...)
           ^~~~~~~~
```
[R/functional_depths.R:104:11:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_depths.R#L104) *warning:* **no visible global function definition for ‘index’**
```r
    depth@index <- index(u)
          ^~~~~
```
[R/functional_depths.R:136:5:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_depths.R#L136) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depths'?**
```r
    depths <- depths + do.call(depth, dep1d_params)
    ^~~~~
```
[R/functional_depths.R:160:14:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_depths.R#L160) *warning:* **no visible global function definition for ‘fastMBD’**
```r
    depth <- fastMBD(t(u))
             ^~~~~~~
```
[R/functional_depths.R:162:14:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_depths.R#L162) *warning:* **no visible global function definition for ‘fastMBDRef’**
```r
    depth <- fastMBDRef(t(u), t(X))
             ^~~~~~~~~~
```
[R/functional_depths.R:186:18:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/functional_depths.R#L186) *warning:* **no visible global function definition for ‘refRank’**
```r
    rmat[i, ] <- refRank(u[i, ], X[i, ])
                 ^~~~~~~
```
[R/locationScaleDepth.R:64:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/locationScaleDepth.R#L64) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("LSDepth", max_depth = res[1], mu = res[2], sigma = res[3])
  ^~~
```
[R/locationScaleDepth.R:108:11:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/locationScaleDepth.R#L108) *warning:* **no visible global function definition for ‘getMuLS’**
```r
    mu <- getMuLS(x, n, d, lengthmu)
          ^~~~~~~
```
[R/locationScaleDepth.R:110:18:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/locationScaleDepth.R#L110) *warning:* **no visible global function definition for ‘sampleDepthContForMuCPP’**
```r
      as.numeric(sampleDepthContForMuCPP(d, mu[1], x))
                 ^~~~~~~~~~~~~~~~~~~~~~~
```
[R/locationScaleDepth.R:131:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/locationScaleDepth.R#L131) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("LSDepthContour", cont.all, cont_depth = depth / length(x), sample = x)
  ^~~
```
[R/lsd.R:150:13:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/lsd.R#L150) *warning:* **no visible global function definition for ‘sample.depth.cont.for.mu’**
```r
    cont <- sample.depth.cont.for.mu(d, mu, y = y)
            ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lsd.R:164:19:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/lsd.R#L164) *warning:* **no visible global function definition for ‘sample.depth.cont.for.mu’**
```r
          cont <- sample.depth.cont.for.mu(d, mu, y = y)
                  ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lsd.R:169:19:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/lsd.R#L169) *warning:* **no visible global function definition for ‘sample.depth.cont.for.mu’**
```r
          cont <- sample.depth.cont.for.mu(d, mu, y = y)
                  ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lsd.R:176:15:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/lsd.R#L176) *warning:* **no visible global function definition for ‘sample.depth.cont.for.mu’**
```r
      cont <- sample.depth.cont.for.mu(d, mu, y = y)
              ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mregdepth.R:9:8:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/mregdepth.R#L9) *warning:* **no visible global function definition for ‘runifsphere’**
```r
  u <- runifsphere(ndir, length(coef))
       ^~~~~~~~~~~
```
[R/RcppExports.R:5:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L5) *warning:* **no visible binding for global variable ‘_DepthProc_CovLPCPP’**
```r
    .Call(`_DepthProc_CovLPCPP`, X, p, a, b)
           ^~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:9:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L9) *warning:* **no visible binding for global variable ‘_DepthProc_depth2dcpp’**
```r
    .Call(`_DepthProc_depth2dcpp`, R_x, R_y)
           ^~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:13:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L13) *warning:* **no visible binding for global variable ‘_DepthProc_depthMahCPP’**
```r
    .Call(`_DepthProc_depthMahCPP`, ru, rX, rcov, rmean, threads)
           ^~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:17:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L17) *warning:* **no visible binding for global variable ‘_DepthProc_depthProjCPP’**
```r
    .Call(`_DepthProc_depthProjCPP`, ru, rX, nproj, threads)
           ^~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:21:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L21) *warning:* **no visible binding for global variable ‘_DepthProc_depthLPCPP’**
```r
    .Call(`_DepthProc_depthLPCPP`, ru, rX, p, a, b, threads)
           ^~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:25:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L25) *warning:* **no visible binding for global variable ‘_DepthProc_depthTukeyCPP’**
```r
    .Call(`_DepthProc_depthTukeyCPP`, ru, rX, exact, threads)
           ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:29:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L29) *warning:* **no visible binding for global variable ‘_DepthProc_modBandDepthRef’**
```r
    .Call(`_DepthProc_modBandDepthRef`, rX, rxRef)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:33:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L33) *warning:* **no visible binding for global variable ‘_DepthProc_modBandDepth’**
```r
    .Call(`_DepthProc_modBandDepth`, rX)
           ^~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:37:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L37) *warning:* **no visible binding for global variable ‘_DepthProc_sampleDepthContForMuCPP’**
```r
    .Call(`_DepthProc_sampleDepthContForMuCPP`, d, mu, rY)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:41:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L41) *warning:* **no visible binding for global variable ‘_DepthProc_sampleMaxDepthForMuCPP’**
```r
    .Call(`_DepthProc_sampleMaxDepthForMuCPP`, mu, rY, d_min, max_iter, eps)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:45:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L45) *warning:* **no visible binding for global variable ‘_DepthProc_sampleMaxLocScaleDepthCPP’**
```r
    .Call(`_DepthProc_sampleMaxLocScaleDepthCPP`, ry, iter, eps, p_length)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:49:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L49) *warning:* **no visible binding for global variable ‘_DepthProc_runifsphereCPP’**
```r
    .Call(`_DepthProc_runifsphereCPP`, n, p)
           ^~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:53:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L53) *warning:* **no visible binding for global variable ‘_DepthProc_covCPP’**
```r
    .Call(`_DepthProc_covCPP`, rX, threads)
           ^~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:57:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L57) *warning:* **no visible binding for global variable ‘_DepthProc_meanCPP’**
```r
    .Call(`_DepthProc_meanCPP`, rX, threads)
           ^~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:61:12:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L61) *warning:* **no visible binding for global variable ‘_DepthProc_refRank’**
```r
    .Call(`_DepthProc_refRank`, u, x)
           ^~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:63:1:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/RcppExports.R#L63) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/runifsphere.R:17:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/runifsphere.R#L17) *warning:* **no visible global function definition for ‘runifsphereCPP’**
```r
  runifsphereCPP(n, p)
  ^~~~~~~~~~~~~~
```
[R/scalecurve.R:89:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/scalecurve.R#L89) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_est <- do.call(depth, c(uxname_list, depth_params))
  ^~~~~
```
[R/scalecurve.R:100:17:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/scalecurve.R#L100) *warning:* **no visible global function definition for ‘convhulln’**
```r
      vol[i] <- convhulln(tmp_x, options = "FA")$vol
                ^~~~~~~~~
```
[R/scalecurve.R:113:20:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/scalecurve.R#L113) *warning:* **no visible global function definition for ‘combineDepthCurves’**
```r
    scale_curve <- combineDepthCurves(scale_curve, sc_tmp)
                   ^~~~~~~~~~~~~~~~~~
```
[R/trimprojreg2d.R:78:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/trimprojreg2d.R#L78) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("TrimReg2d", coef = fitcut)
  ^~~
```
[R/Utils.R:11:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/R/Utils.R#L11) *warning:* **no visible global function definition for ‘mvrnorm’, Did you mean 'rnorm'?**
```r
  mvrnorm(100, rep(1, d), diag(d))
  ^~~~~~~
```
[tests/testthat/test-depth-basic-api.R:12:3:](https://github.com/zzawadz/DepthProc/blob/97053bce56970cbb077ee1028ec7f68ca0fd532a/tests/testthat/test-depth-basic-api.R#L12) *warning:* **no visible global function definition for ‘expect_equal’**
```r
  expect_equal(d1, d2)
  ^~~~~~~~~~~~
```


[R/asymmetrycurve.R:85:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L85) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_est <- do.call(depth, c(uxname_list, depth_params))
  ^~~~~
```
[R/asymmetrycurve.R:117:5:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L117) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
    depth_est <- do.call(depth, c(uxname_list, depth_params))
    ^~~~~
```
[R/asymmetrycurve.R:120:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L120) *warning:* **no visible global function definition for ‘depthMedian’**
```r
  median <- depthMedian(X, depth_params)
            ^~~~~~~~~~~
```
[R/asymmetrycurve.R:137:17:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L137) *warning:* **no visible global function definition for ‘convhulln’**
```r
      vol[i] <- convhulln(tmp_X, options = "FA")$vol
                ^~~~~~~~~
```
[R/asymmetrycurve.R:162:5:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L162) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
    depth_est <- do.call(depth, c(uxname_list, depth_params))
    ^~~~~
```
[R/asymmetrycurve.R:182:17:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L182) *warning:* **no visible global function definition for ‘convhulln’**
```r
      vol[i] <- convhulln(tmp_X, options = "FA")$vol
                ^~~~~~~~~
```
[R/asymmetrycurve.R:187:11:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/asymmetrycurve.R#L187) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
      tmp_depth_est <- do.call(depth, c(uxname_list_temp, depth_params))
          ^~~~~
```
[R/binningDepth2d.R:75:19:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/binningDepth2d.R#L75) *warning:* **no visible global function definition for ‘lsdSampleMaxDepth’**
```r
      dep_stat <- lsdSampleMaxDepth(x)
                  ^~~~~~~~~~~~~~~~~
```
[R/binningDepth2d.R:127:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/binningDepth2d.R#L127) *warning:* **no visible global function definition for ‘depthMedian’**
```r
    means <- depthMedian(x, depth_params)
             ^~~~~~~~~~~
```
[R/binningDepth2d.R:136:10:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/binningDepth2d.R#L136) *warning:* **no visible global function definition for ‘binning’**
```r
  tmp <- binning(x = x, breaks = b)$table.freq
         ^~~~~~~
```
[R/CovarianceFunctions.R:59:10:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/CovarianceFunctions.R#L59) *warning:* **no visible global function definition for ‘CovLPCPP’**
```r
  cov <- CovLPCPP(x, pdim, la, lb)
         ^~~~~~~~
```
[R/CovarianceFunctions.R:61:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/CovarianceFunctions.R#L61) *warning:* **no visible global function definition for ‘depthMedian’**
```r
  center <- depthMedian(x, depth_params)
            ^~~~~~~~~~~
```
[R/ddmvnorm.R:47:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddmvnorm.R#L47) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_sample <- do.call(depth, c(ux_list, depth_params))
  ^~~~~
```
[R/ddmvnorm.R:51:17:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddmvnorm.R#L51) *warning:* **no visible global function definition for ‘depthMedian’**
```r
    location <- depthMedian(x, depth_params)
                ^~~~~~~~~~~
```
[R/ddmvnorm.R:57:18:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddmvnorm.R#L57) *warning:* **no visible global function definition for ‘mvrnorm’, Did you mean 'rnorm'?**
```r
  theoretical <- mvrnorm(size, location, varcov)
                 ^~~~~~~
```
[R/ddmvnorm.R:59:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddmvnorm.R#L59) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_theoretical <- do.call(depth, c(ux_list_theoretical, depth_params))
  ^~~~~
```
[R/ddPlot.r:54:5:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddPlot.r#L54) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depth_x'?**
```r
    depth_sample_x <- do.call(depth, c(uxname_list_x, depth_params))
    ^~~~~
```
[R/ddPlot.r:55:5:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddPlot.r#L55) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depth_x'?**
```r
    depth_sample_y <- do.call(depth, c(uxname_list_y, depth_params))
    ^~~~~
```
[R/ddPlot.r:65:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddPlot.r#L65) *warning:* **no visible global function definition for ‘depthMedian’**
```r
    medx <- depthMedian(x_new, depth_params)
            ^~~~~~~~~~~
```
[R/ddPlot.r:66:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddPlot.r#L66) *warning:* **no visible global function definition for ‘depthMedian’**
```r
    medy <- depthMedian(y_new, depth_params)
            ^~~~~~~~~~~
```
[R/ddPlot.r:74:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddPlot.r#L74) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depth_x'?**
```r
  depth_x <- do.call(depth, c(uxname_list_x_new, depth_params))
  ^~~~~
```
[R/ddPlot.r:75:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddPlot.r#L75) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depth_x'?**
```r
  depth_y <- do.call(depth, c(uxname_list_y_new, depth_params))
  ^~~~~
```
[R/ddPlot.r:77:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/ddPlot.r#L77) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  ddplot <- new("DDPlot", X = depth_x, Y = depth_y, title = title)
            ^~~
```
[R/deepreg2d.R:63:10:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/deepreg2d.R#L63) *warning:* **no visible global function definition for ‘depth2dcpp’**
```r
  tmp <- depth2dcpp(x, y)
         ^~~~~~~~~~
```
[R/deepreg2d.R:64:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/deepreg2d.R#L64) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("DeepReg2d", coef = tmp[2:1], depth = tmp[3])
  ^~~
```
[R/depth.R:133:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L133) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("DepthEuclid", depth, u = u, X = X, method = "Euclidean")
  ^~~
```
[R/depth.R:176:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L176) *warning:* **no visible global function definition for ‘depthMahCPP’**
```r
  depth <- depthMahCPP(u, X, cov, mean, threads)
           ^~~~~~~~~~~
```
[R/depth.R:178:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L178) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("DepthMahalanobis", depth, u = u, X = X, method = "Mahalanobis")
  ^~~
```
[R/depth.R:216:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L216) *warning:* **no visible global function definition for ‘depthProjCPP’**
```r
  depth <- depthProjCPP(u, X, ndir, threads)
           ^~~~~~~~~~~~
```
[R/depth.R:218:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L218) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("DepthProjection", depth, u = u, X = X, method = "Projection")
  ^~~
```
[R/depth.R:276:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L276) *warning:* **no visible global function definition for ‘depthTukeyCPP’**
```r
    depth <- depthTukeyCPP(u, X, exact, threads)
             ^~~~~~~~~~~~~
```
[R/depth.R:279:15:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L279) *warning:* **no visible global function definition for ‘runifsphere’**
```r
    proj <- t(runifsphere(ndir, ncol(X)))
              ^~~~~~~~~~~
```
[R/depth.R:292:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L292) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("DepthTukey", depth, u = u, X = X, method = "Tukey")
  ^~~
```
[R/depth.R:335:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L335) *warning:* **no visible global function definition for ‘depthLPCPP’**
```r
    depth <- depthLPCPP(u, X, pdim, la, lb, threads = threads)
             ^~~~~~~~~~
```
[R/depth.R:338:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depth.R#L338) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("DepthLP", depth, u = u, X = X, method = "LP")
  ^~~
```
[R/DepthBasedTests.R:60:20:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/DepthBasedTests.R#L60) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'dep_x'?**
```r
  dep_x <- do.call(depth, c(uxname_list_x, depth_params))
                   ^~~~~
```
[R/DepthBasedTests.R:61:20:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/DepthBasedTests.R#L61) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'dep_x'?**
```r
  dep_y <- do.call(depth, c(uxname_list_y, depth_params))
                   ^~~~~
```
[R/depthContour.R:85:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthContour.R#L85) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_surface_raw <- do.call(depth, depth_params_list)
  ^~~~~
```
[R/depthContour.R:109:19:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthContour.R#L109) *style:* **Commas should always have a space after.**
```r
    x <- data[idx,1]
                  ^
```
[R/depthContour.R:110:19:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthContour.R#L110) *style:* **Commas should always have a space after.**
```r
    y <- data[idx,2]
                  ^
```
[R/depthDensity.R:35:16:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthDensity.R#L35) *warning:* **no visible global function definition for ‘.createGrid’**
```r
    xy_grid <- .createGrid(x, y, nx, ny)
               ^~~~~~~~~~~
```
[R/depthDensity.R:38:16:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthDensity.R#L38) *warning:* **no visible global function definition for ‘.createGrid2’**
```r
    xy_grid <- .createGrid2(xg, yg)
               ^~~~~~~~~~~~
```
[R/depthDensity.R:43:15:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthDensity.R#L43) *warning:* **no visible global function definition for ‘npudens’**
```r
  dens_raw <- npudens(xy, edat = xy_grid)$dens
              ^~~~~~~
```
[R/depthDensity.R:44:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthDensity.R#L44) *warning:* **no visible global function definition for ‘npudens’**
```r
  dens_x <- npudens(x, edat = xy_grid[, 1])$dens
            ^~~~~~~
```
[R/depthDensity.R:49:11:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthDensity.R#L49) *warning:* **no visible global function definition for ‘depthLocal’**
```r
  d_xy <- depthLocal(xy_grid, xy, ...)
          ^~~~~~~~~~
```
[R/depthDensity.R:50:10:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthDensity.R#L50) *warning:* **no visible global function definition for ‘depthLocal’**
```r
  d_x <- depthLocal(xy_grid[, 1, drop = FALSE], xy[, 1, drop = FALSE], ...)
         ^~~~~~~~~~
```
[R/depthLocal.R:18:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthLocal.R#L18) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depths'?**
```r
  depths <- as.numeric(do.call(depth, c(uxDepthList1, depth_params1)))
  ^~~~~
```
[R/depthLocal.R:24:22:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthLocal.R#L24) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depths'?**
```r
  as.numeric(do.call(depth, c(uxDepthList2, depth_params2)))
                     ^~~~~
```
[R/depthPersp.R:59:26:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/depthPersp.R#L59) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
    z_surface <- do.call(depth, depth_params)
                         ^~~~~
```
[R/fncFunctions.R:21:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/fncFunctions.R#L21) *warning:* **no visible global function definition for ‘fncDepth’**
```r
  depths <- fncDepth(u, X, method = method, byrow = byrow, ...)
            ^~~~~~~~
```
[R/fncFunctions.R:50:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/fncFunctions.R#L50) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("FncBand", bands, index = obj@index, level = band)
  ^~~
```
[R/functional_boxplot.R:36:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L36) *warning:* **no visible global function definition for ‘fncDepth’**
```r
  depths <- fncDepth(u, X, method = method, byrow = byrow, ...)
            ^~~~~~~~
```
[R/functional_boxplot.R:38:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L38) *warning:* **no visible global function definition for ‘.fncBoxPlotGGPlot’**
```r
  .fncBoxPlotGGPlot(depths, bands)
  ^~~~~~~~~~~~~~~~~
```
[R/functional_boxplot.R:43:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L43) *warning:* **no visible global function definition for ‘fncGetBandsDataFrame’**
```r
  bands <- fncGetBandsDataFrame(obj, bands)
           ^~~~~~~~~~~~~~~~~~~~
```
[R/functional_boxplot.R:45:8:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L45) *warning:* **no visible global function definition for ‘ggplot’, Did you mean 'biplot'?**
```r
  p <- ggplot(bands, aes_string(x = "index", fill = "level", color = "level"))
       ^~~~~~
```
[R/functional_boxplot.R:45:22:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L45) *warning:* **no visible global function definition for ‘aes_string’**
```r
  p <- ggplot(bands, aes_string(x = "index", fill = "level", color = "level"))
                     ^~~~~~~~~~
```
[R/functional_boxplot.R:46:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L46) *warning:* **no visible global function definition for ‘geom_ribbon’**
```r
  p <- p + geom_ribbon(aes_string(ymin = "lower", ymax = "upper"))
           ^~~~~~~~~~~
```
[R/functional_boxplot.R:46:24:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L46) *warning:* **no visible global function definition for ‘aes_string’**
```r
  p <- p + geom_ribbon(aes_string(ymin = "lower", ymax = "upper"))
                       ^~~~~~~~~~
```
[R/functional_boxplot.R:47:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L47) *warning:* **no visible global function definition for ‘theme_bw’**
```r
  p <- p + theme_bw()
           ^~~~~~~~
```
[R/functional_boxplot.R:55:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L55) *warning:* **no visible global function definition for ‘scale_x_continuous’**
```r
    p <- p + scale_x_continuous(breaks = index, labels = labels)
             ^~~~~~~~~~~~~~~~~~
```
[R/functional_boxplot.R:71:5:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L71) *warning:* **no visible global function definition for ‘fncBand2DataFrame’**
```r
    fncBand2DataFrame(fncGetBand(obj, x))
    ^~~~~~~~~~~~~~~~~
```
[R/functional_boxplot.R:71:23:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_boxplot.R#L71) *warning:* **no visible global function definition for ‘fncGetBand’**
```r
    fncBand2DataFrame(fncGetBand(obj, x))
                      ^~~~~~~~~~
```
[R/functional_depths.R:60:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L60) *warning:* **no visible global function definition for ‘fncDepthFM’**
```r
    dept <- (fncDepthFM(u, X, ...))
             ^~~~~~~~~~
```
[R/functional_depths.R:61:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L61) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
    depth <- new("FncDepthFM", dept)
             ^~~
```
[R/functional_depths.R:66:15:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L66) *warning:* **no visible global function definition for ‘fncDepthMBD’**
```r
      dept <- fncDepthMBD(u)
              ^~~~~~~~~~~
```
[R/functional_depths.R:68:16:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L68) *warning:* **no visible global function definition for ‘fncDepthMBD’**
```r
      dept <- (fncDepthMBD(u, X))
               ^~~~~~~~~~~
```
[R/functional_depths.R:71:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L71) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
    depth <- new("FncDepthMBD", dept)
             ^~~
```
[R/functional_depths.R:77:18:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L77) *warning:* **no visible global function definition for ‘extractIndexFromMatrix’**
```r
  depth@index <- extractIndexFromMatrix(u)
                 ^~~~~~~~~~~~~~~~~~~~~~
```
[R/functional_depths.R:101:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L101) *warning:* **no visible global function definition for ‘fncDepth’**
```r
  depth <- fncDepth(um, Xm, method, byrow = TRUE, ...)
           ^~~~~~~~
```
[R/functional_depths.R:104:11:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L104) *warning:* **no visible global function definition for ‘index’**
```r
    depth@index <- index(u)
          ^~~~~
```
[R/functional_depths.R:136:5:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L136) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'depths'?**
```r
    depths <- depths + do.call(depth, dep1d_params)
    ^~~~~
```
[R/functional_depths.R:160:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L160) *warning:* **no visible global function definition for ‘fastMBD’**
```r
    depth <- fastMBD(t(u))
             ^~~~~~~
```
[R/functional_depths.R:162:14:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L162) *warning:* **no visible global function definition for ‘fastMBDRef’**
```r
    depth <- fastMBDRef(t(u), t(X))
             ^~~~~~~~~~
```
[R/functional_depths.R:186:18:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/functional_depths.R#L186) *warning:* **no visible global function definition for ‘refRank’**
```r
    rmat[i, ] <- refRank(u[i, ], X[i, ])
                 ^~~~~~~
```
[R/locationScaleDepth.R:64:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/locationScaleDepth.R#L64) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("LSDepth", max_depth = res[1], mu = res[2], sigma = res[3])
  ^~~
```
[R/locationScaleDepth.R:108:11:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/locationScaleDepth.R#L108) *warning:* **no visible global function definition for ‘getMuLS’**
```r
    mu <- getMuLS(x, n, d, lengthmu)
          ^~~~~~~
```
[R/locationScaleDepth.R:110:18:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/locationScaleDepth.R#L110) *warning:* **no visible global function definition for ‘sampleDepthContForMuCPP’**
```r
      as.numeric(sampleDepthContForMuCPP(d, mu[1], x))
                 ^~~~~~~~~~~~~~~~~~~~~~~
```
[R/locationScaleDepth.R:131:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/locationScaleDepth.R#L131) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("LSDepthContour", cont.all, cont_depth = depth / length(x), sample = x)
  ^~~
```
[R/lsd.R:150:13:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/lsd.R#L150) *warning:* **no visible global function definition for ‘sample.depth.cont.for.mu’**
```r
    cont <- sample.depth.cont.for.mu(d, mu, y = y)
            ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lsd.R:164:19:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/lsd.R#L164) *warning:* **no visible global function definition for ‘sample.depth.cont.for.mu’**
```r
          cont <- sample.depth.cont.for.mu(d, mu, y = y)
                  ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lsd.R:169:19:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/lsd.R#L169) *warning:* **no visible global function definition for ‘sample.depth.cont.for.mu’**
```r
          cont <- sample.depth.cont.for.mu(d, mu, y = y)
                  ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/lsd.R:176:15:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/lsd.R#L176) *warning:* **no visible global function definition for ‘sample.depth.cont.for.mu’**
```r
      cont <- sample.depth.cont.for.mu(d, mu, y = y)
              ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/mregdepth.R:9:8:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/mregdepth.R#L9) *warning:* **no visible global function definition for ‘runifsphere’**
```r
  u <- runifsphere(ndir, length(coef))
       ^~~~~~~~~~~
```
[R/RcppExports.R:5:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L5) *warning:* **no visible binding for global variable ‘_DepthProc_CovLPCPP’**
```r
    .Call(`_DepthProc_CovLPCPP`, X, p, a, b)
           ^~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:9:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L9) *warning:* **no visible binding for global variable ‘_DepthProc_depth2dcpp’**
```r
    .Call(`_DepthProc_depth2dcpp`, R_x, R_y)
           ^~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:13:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L13) *warning:* **no visible binding for global variable ‘_DepthProc_depthMahCPP’**
```r
    .Call(`_DepthProc_depthMahCPP`, ru, rX, rcov, rmean, threads)
           ^~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:17:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L17) *warning:* **no visible binding for global variable ‘_DepthProc_depthProjCPP’**
```r
    .Call(`_DepthProc_depthProjCPP`, ru, rX, nproj, threads)
           ^~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:21:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L21) *warning:* **no visible binding for global variable ‘_DepthProc_depthLPCPP’**
```r
    .Call(`_DepthProc_depthLPCPP`, ru, rX, p, a, b, threads)
           ^~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:25:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L25) *warning:* **no visible binding for global variable ‘_DepthProc_depthTukeyCPP’**
```r
    .Call(`_DepthProc_depthTukeyCPP`, ru, rX, exact, threads)
           ^~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:29:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L29) *warning:* **no visible binding for global variable ‘_DepthProc_modBandDepthRef’**
```r
    .Call(`_DepthProc_modBandDepthRef`, rX, rxRef)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:33:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L33) *warning:* **no visible binding for global variable ‘_DepthProc_modBandDepth’**
```r
    .Call(`_DepthProc_modBandDepth`, rX)
           ^~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:37:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L37) *warning:* **no visible binding for global variable ‘_DepthProc_sampleDepthContForMuCPP’**
```r
    .Call(`_DepthProc_sampleDepthContForMuCPP`, d, mu, rY)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:41:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L41) *warning:* **no visible binding for global variable ‘_DepthProc_sampleMaxDepthForMuCPP’**
```r
    .Call(`_DepthProc_sampleMaxDepthForMuCPP`, mu, rY, d_min, max_iter, eps)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:45:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L45) *warning:* **no visible binding for global variable ‘_DepthProc_sampleMaxLocScaleDepthCPP’**
```r
    .Call(`_DepthProc_sampleMaxLocScaleDepthCPP`, ry, iter, eps, p_length)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:49:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L49) *warning:* **no visible binding for global variable ‘_DepthProc_runifsphereCPP’**
```r
    .Call(`_DepthProc_runifsphereCPP`, n, p)
           ^~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:53:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L53) *warning:* **no visible binding for global variable ‘_DepthProc_covCPP’**
```r
    .Call(`_DepthProc_covCPP`, rX, threads)
           ^~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:57:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L57) *warning:* **no visible binding for global variable ‘_DepthProc_meanCPP’**
```r
    .Call(`_DepthProc_meanCPP`, rX, threads)
           ^~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:61:12:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L61) *warning:* **no visible binding for global variable ‘_DepthProc_refRank’**
```r
    .Call(`_DepthProc_refRank`, u, x)
           ^~~~~~~~~~~~~~~~~~
```
[R/RcppExports.R:63:1:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/RcppExports.R#L63) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/runifsphere.R:17:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/runifsphere.R#L17) *warning:* **no visible global function definition for ‘runifsphereCPP’**
```r
  runifsphereCPP(n, p)
  ^~~~~~~~~~~~~~
```
[R/scalecurve.R:89:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/scalecurve.R#L89) *warning:* **no visible binding for global variable ‘depth’, Did you mean 'det'?**
```r
  depth_est <- do.call(depth, c(uxname_list, depth_params))
  ^~~~~
```
[R/scalecurve.R:100:17:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/scalecurve.R#L100) *warning:* **no visible global function definition for ‘convhulln’**
```r
      vol[i] <- convhulln(tmp_x, options = "FA")$vol
                ^~~~~~~~~
```
[R/scalecurve.R:113:20:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/scalecurve.R#L113) *warning:* **no visible global function definition for ‘combineDepthCurves’**
```r
    scale_curve <- combineDepthCurves(scale_curve, sc_tmp)
                   ^~~~~~~~~~~~~~~~~~
```
[R/trimprojreg2d.R:78:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/trimprojreg2d.R#L78) *warning:* **no visible global function definition for ‘new’, Did you mean 'news'?**
```r
  new("TrimReg2d", coef = fitcut)
  ^~~
```
[R/Utils.R:11:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/R/Utils.R#L11) *warning:* **no visible global function definition for ‘mvrnorm’, Did you mean 'rnorm'?**
```r
  mvrnorm(100, rep(1, d), diag(d))
  ^~~~~~~
```
[tests/testthat/test-depth-basic-api.R:12:3:](https://github.com/zzawadz/DepthProc/blob/1346a2736bb4ccb44535837e211de9ce1681b67a/tests/testthat/test-depth-basic-api.R#L12) *warning:* **no visible global function definition for ‘expect_equal’**
```r
  expect_equal(d1, d2)
  ^~~~~~~~~~~~
```