From cb51231338b4db5989bbda171c166ec38db59331 Mon Sep 17 00:00:00 2001 From: Matt Jones Date: Fri, 23 Feb 2024 15:46:11 -0800 Subject: [PATCH] Fix latex documentation in sournce R files. --- R/redland/R/Model.R | 8 ++++---- R/redland/R/Node.R | 10 +++++----- R/redland/R/Parser.R | 8 ++++---- R/redland/R/Query.R | 16 ++++++++-------- R/redland/R/QueryResults.R | 6 +++--- R/redland/R/Serializer.R | 12 ++++++------ R/redland/R/Statement.R | 8 ++++---- R/redland/R/Storage.R | 6 +++--- R/redland/R/World.R | 6 +++--- 9 files changed, 40 insertions(+), 40 deletions(-) diff --git a/R/redland/R/Model.R b/R/redland/R/Model.R index 809336506..185506ad8 100644 --- a/R/redland/R/Model.R +++ b/R/redland/R/Model.R @@ -31,11 +31,11 @@ #' @keywords classes #' @section Methods: #' \itemize{ -#' \item{\code{\link{Model-initialize}}}{: Initialize a Model object} -#' \item{\code{\link{addStatement}}}{: Add a Statement object to the Model} -#' \item{\code{\link{freeModel}}}{: Free memory used by a librdf model object} +#' \code{\link{Model-initialize}}: Initialize a Model object +#' \code{\link{addStatement}}: Add a Statement object to the Model +#' \code{\link{freeModel}}: Free memory used by a librdf model object #' } -#' @seealso \code{\link{redland}}{: redland package} +#' @seealso \code{\link{redland}}: redland package #' @export #' @examples #' world <- new("World") diff --git a/R/redland/R/Node.R b/R/redland/R/Node.R index d0356c142..cce0f98df 100644 --- a/R/redland/R/Node.R +++ b/R/redland/R/Node.R @@ -28,12 +28,12 @@ #' @export #' @section Methods: #' \itemize{ -#' \item{\code{\link{Node-initialize}}}{: Initialize a Node object.} -#' \item{\code{\link{getNodeType}}}{: Determine the node type and return as a string.} -#' \item{\code{\link{getNodeValue}}}{: Determine the node type and return as a string.} -#' \item{\code{\link{getBlankNodeId}}}{: Get the value of the node as a string.} +#' \code{\link{Node-initialize}}: Initialize a Node object. +#' \code{\link{getNodeType}}: Determine the node type and return as a string. +#' \code{\link{getNodeValue}}: Determine the node type and return as a string. +#' \code{\link{getBlankNodeId}}: Get the value of the node as a string. #' } -#' @seealso \code{\link{redland}}{: redland package} +#' @seealso \code{\link{redland}}: redland package #' @examples #' world <- new("World") #' # a blank node is created with a unique identifier generated by librdf diff --git a/R/redland/R/Parser.R b/R/redland/R/Parser.R index 5d558fbc4..4fb06c8b4 100644 --- a/R/redland/R/Parser.R +++ b/R/redland/R/Parser.R @@ -29,11 +29,11 @@ #' @export #' @section Methods: #' \itemize{ -#' \item{\code{\link{Parser-initialize}}}{: Initialize a Parser object.} -#' \item{\code{\link{parseFileIntoModel}}}{: Parse the contents of a file into a model.} -#' \item{\code{\link{freeParser}}}{: Free memory used by a librdf parser.} +#' \code{\link{Parser-initialize}}: Initialize a Parser object. +#' \code{\link{parseFileIntoModel}}: Parse the contents of a file into a model. +#' \code{\link{freeParser}}: Free memory used by a librdf parser. #' } -#' @seealso \code{\link{redland}}{: redland package} +#' @seealso \code{\link{redland}}: redland package #' @examples #' world <- new("World") #' storage <- new("Storage", world, "hashes", name="", options="hash-type='memory'") diff --git a/R/redland/R/Query.R b/R/redland/R/Query.R index 99b7339f0..2d6f4152b 100644 --- a/R/redland/R/Query.R +++ b/R/redland/R/Query.R @@ -32,15 +32,15 @@ #' @references www.example.com #' @section Methods: #' \itemize{ -#' \item{\code{\link{Query-initialize}}}{: Initialize a Query object.} -#' \item{\code{\link{executeQuery}}}{: Execute a query.} -#' \item{\code{\link{setQueryResultLimit}}}{: Set limit on returned query results.} -#' \item{\code{\link{getQueryResultLimit}}}{: Get the query result limit.} -#' \item{\code{\link{getResults}}}{: Return all query results.} -#' \item{\code{\link{writeResults}}}{: Write query results to a file.} -#' \item{\code{\link{freeParser}}}{: Free memory used by a librdf query.} +#' \code{\link{Query-initialize}}: Initialize a Query object. +#' \code{\link{executeQuery}}: Execute a query. +#' \code{\link{setQueryResultLimit}}: Set limit on returned query results. +#' \code{\link{getQueryResultLimit}}: Get the query result limit. +#' \code{\link{getResults}}: Return all query results. +#' \code{\link{writeResults}}: Write query results to a file. +#' \code{\link{freeParser}}: Free memory used by a librdf query. #' } -#' @seealso \code{\link{redland}}{: redland package} +#' @seealso \code{\link{redland}}: redland package #' @examples #' world <- new("World") #' storage <- new("Storage", world, "hashes", name="", options="hash-type='memory'") diff --git a/R/redland/R/QueryResults.R b/R/redland/R/QueryResults.R index 68285b651..2798e0a6b 100644 --- a/R/redland/R/QueryResults.R +++ b/R/redland/R/QueryResults.R @@ -27,10 +27,10 @@ #' @export #' @section Methods: #' \itemize{ -#' \item{\code{\link{QueryResults-initialize}}}{: Initialize a QueryResults object.} -#' \item{\code{\link{freeQueryResults}}}{: Free memory used by a librdf query result.} +#' \code{\link{QueryResults-initialize}}: Initialize a QueryResults object. +#' \code{\link{freeQueryResults}}: Free memory used by a librdf query result. #' } -#' @seealso \code{\link{redland}}{: redland package} +#' @seealso \code{\link{redland}}: redland package setClass("QueryResults", slots = c(librdf_query_results = "_p_librdf_query_results")) #' Initialize the QueryResults object. diff --git a/R/redland/R/Serializer.R b/R/redland/R/Serializer.R index fdba02c9c..04eef22dc 100644 --- a/R/redland/R/Serializer.R +++ b/R/redland/R/Serializer.R @@ -28,13 +28,13 @@ #' @export #' @section Methods: #' \itemize{ -#' \item{\code{\link{Serializer-initialize}}}{: Initialize a Serializer object.} -#' \item{\code{\link{setNameSpace}}}{: Set a namespace for the serializer.} -#' \item{\code{\link{serializeToCharacter}}}{: Serialize a model to a character vector.} -#' \item{\code{\link{serializeToFile}}}{: Serialize a model to a file.} -#' \item{\code{\link{freeSerializer}}}{: Free memory used by a librdf serializer.} +#' \code{\link{Serializer-initialize}}: Initialize a Serializer object. +#' \code{\link{setNameSpace}}: Set a namespace for the serializer. +#' \code{\link{serializeToCharacter}}: Serialize a model to a character vector. +#' \code{\link{serializeToFile}}: Serialize a model to a file. +#' \code{\link{freeSerializer}}: Free memory used by a librdf serializer. #' } -#' @seealso \code{\link{redland}}{: redland package} +#' @seealso \code{\link{redland}}: redland package #' @examples #' world <- new("World") #' storage <- new("Storage", world, "hashes", name="", options="hash-type='memory'") diff --git a/R/redland/R/Statement.R b/R/redland/R/Statement.R index bf21e7338..f3893e6b0 100644 --- a/R/redland/R/Statement.R +++ b/R/redland/R/Statement.R @@ -35,11 +35,11 @@ #' \code{objectType} parameters can be specified to explicitly set the RDF types. #' @section Methods: #' \itemize{ -#' \item{\code{\link{Statement-initialize}}}{: Initialize a Statement object.} -#' \item{\code{\link{getTermType}}}{: Return the redland node type for the specified RDF term in a statement.} -#' \item{\code{\link{freeStatement}}}{: Free memory used by a librdf statement.} +#' \code{\link{Statement-initialize}}: Initialize a Statement object. +#' \code{\link{getTermType}}: Return the redland node type for the specified RDF term in a statement. +#' \code{\link{freeStatement}}: Free memory used by a librdf statement. #' } -#' @seealso \code{\link{redland}}{: redland package} +#' @seealso \code{\link{redland}}: redland package #' @examples #' world <- new("World") #' # Create nodes manually and add to the statment diff --git a/R/redland/R/Storage.R b/R/redland/R/Storage.R index 549fb3958..9d47a5ec8 100644 --- a/R/redland/R/Storage.R +++ b/R/redland/R/Storage.R @@ -26,10 +26,10 @@ #' @keywords classes #' @section Methods: #' \itemize{ -#' \item{\code{\link{Storage-initialize}}}{: Initialize a Storage object} -#' \item{\code{\link{freeStorage}}}{: Free memory used by a librdf storage object} +#' \code{\link{Storage-initialize}}: Initialize a Storage object +#' \code{\link{freeStorage}}: Free memory used by a librdf storage object #' } -#' @seealso \code{\link{redland}}{: redland package} +#' @seealso \code{\link{redland}}: redland package #' @export #' @examples #' world <- new("World") diff --git a/R/redland/R/World.R b/R/redland/R/World.R index 652678cb7..c3bb88895 100644 --- a/R/redland/R/World.R +++ b/R/redland/R/World.R @@ -26,10 +26,10 @@ #' @useDynLib redland, .registration = TRUE #' @section Methods: #' \itemize{ -#' \item{\code{\link{World-initialize}}}{: Initialize a World object} -#' \item{\code{\link{freeWorld}}}{: Free memory used by a librdf world object} +#' \code{\link{World-initialize}}: Initialize a World object +#' \code{\link{freeWorld}}: Free memory used by a librdf world object #' } -#' @seealso \code{\link{redland}}{: redland package} +#' @seealso \code{\link{redland}}: redland package #' @examples #' world <- new("World") #' @import methods