Skip to content

Commit 204e227

Browse files
committed
Avoid documenting internal functions
1 parent e5bce2e commit 204e227

File tree

5 files changed

+4
-57
lines changed

5 files changed

+4
-57
lines changed

R/db.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@ setMethod("dbDataType", c("DBIObject", "sf"), function(dbObj, obj) {
557557
#' @param con database connection
558558
#' @param x inherits data.frame
559559
#' @param classes classes inherited
560+
#' @noRd
560561
is_geometry_column <- function(con, x, classes = "") UseMethod("is_geometry_column")
561562

562563
#' @export

R/read.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,6 @@ write_sf <- function(..., quiet = TRUE, append = FALSE, delete_layer = !append)
628628
#' support](https://gdal.org/drivers/vector/index.html).
629629
#' @return A `data.frame` with driver metadata.
630630
#' @export
631-
#' @md
632631
#' @examples
633632
#' # The following driver lists depend on the GDAL setup and platform used:
634633
#' st_drivers()
@@ -743,7 +742,8 @@ guess_driver_can_write = function(dns, drv = guess_driver(dns)) {
743742
#' Search through the driver table if driver is listed
744743
#' @param drv character. Name of driver
745744
#' @param drivers data.frame. Table containing driver names and support. Default
746-
#' is from \code{\link{st_drivers}}
745+
#' is from `st_drivers()`
746+
#' @noRd
747747
is_driver_available = function(drv, drivers = st_drivers()) {
748748
i = match(drv, drivers$name)
749749
if (is.na(i))
@@ -760,6 +760,7 @@ is_driver_available = function(drv, drivers = st_drivers()) {
760760
#' @param drivers data.frame. Table containing driver names and support. Default
761761
#' is from \code{\link{st_drivers}}
762762
#' @param operation character. What action to check
763+
#' @noRd
763764
is_driver_can = function(drv, drivers = st_drivers(), operation = "write") {
764765
stopifnot(operation %in% names(drivers))
765766
i = match(drv, drivers$name)

man/is_driver_available.Rd

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

man/is_driver_can.Rd

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

man/is_geometry_column.Rd

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

0 commit comments

Comments
 (0)