[Stacomir-commits] r576 - in pkg/stacomirtools: . R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Nov 6 22:20:28 CET 2021


Author: briand
Date: 2021-11-06 22:20:28 +0100 (Sat, 06 Nov 2021)
New Revision: 576

Added:
   pkg/stacomirtools/man/getquery-RequeteDB-method.Rd
   pkg/stacomirtools/man/getquery.Rd
Modified:
   pkg/stacomirtools/.Rbuildignore
   pkg/stacomirtools/.Rinstignore
   pkg/stacomirtools/NAMESPACE
   pkg/stacomirtools/R/RequeteDB.R
Log:
version 0.6 ready for test

Modified: pkg/stacomirtools/.Rbuildignore
===================================================================
--- pkg/stacomirtools/.Rbuildignore	2021-11-06 21:16:18 UTC (rev 575)
+++ pkg/stacomirtools/.Rbuildignore	2021-11-06 21:20:28 UTC (rev 576)
@@ -1,2 +1,7 @@
-^NEWS.md$
-^NEWS.md.html$
\ No newline at end of file
+^\.dbeaver/
+aux$
+log$
+out$
+^dev
+^README\.Rmd$
+^www
\ No newline at end of file

Modified: pkg/stacomirtools/.Rinstignore
===================================================================
--- pkg/stacomirtools/.Rinstignore	2021-11-06 21:16:18 UTC (rev 575)
+++ pkg/stacomirtools/.Rinstignore	2021-11-06 21:20:28 UTC (rev 576)
@@ -0,0 +1,2 @@
+inst/config/test.R
+dev
\ No newline at end of file

Modified: pkg/stacomirtools/NAMESPACE
===================================================================
--- pkg/stacomirtools/NAMESPACE	2021-11-06 21:16:18 UTC (rev 575)
+++ pkg/stacomirtools/NAMESPACE	2021-11-06 21:20:28 UTC (rev 576)
@@ -18,6 +18,7 @@
 exportClasses(RequeteODBCwhere)
 exportClasses(RequeteODBCwheredate)
 exportMethods(connect)
+exportMethods(getquery)
 exportMethods(query)
 import(RODBC)
 import(methods)

Modified: pkg/stacomirtools/R/RequeteDB.R
===================================================================
--- pkg/stacomirtools/R/RequeteDB.R	2021-11-06 21:16:18 UTC (rev 575)
+++ pkg/stacomirtools/R/RequeteDB.R	2021-11-06 21:20:28 UTC (rev 576)
@@ -69,7 +69,7 @@
 				if (!object at silent) cat(paste(msg2, object at dbname, "\n"))
 				# send the result of a try catch expression in
 				#the Currentconnection object ie a character vector
-				object<-tryCatch(eval(e), error=paste(msg3 ,object at dbname)) 
+				object <- tryCatch(eval(e)) 
 				# un object S3 RODBC
 				if (any(class(object at connection)=="Pool")) {
 					if (!object at silent) cat(msg4)
@@ -116,6 +116,7 @@
 #' getquery retreives the result of the query from the object
 #' @param object an object of class RequeteDB
 #' @return A data frame
+#' @export
 setMethod("getquery",signature=signature("RequeteDB"),
 		definition=function(object) {
 			return(object at query)})

Added: pkg/stacomirtools/man/getquery-RequeteDB-method.Rd
===================================================================
--- pkg/stacomirtools/man/getquery-RequeteDB-method.Rd	                        (rev 0)
+++ pkg/stacomirtools/man/getquery-RequeteDB-method.Rd	2021-11-06 21:20:28 UTC (rev 576)
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/RequeteDB.R
+\name{getquery,RequeteDB-method}
+\alias{getquery,RequeteDB-method}
+\title{getquery retreives the result of the query from the object}
+\usage{
+\S4method{getquery}{RequeteDB}(object)
+}
+\arguments{
+\item{object}{an object of class RequeteDB}
+}
+\value{
+A data frame
+}
+\description{
+getquery retreives the result of the query from the object
+}

Added: pkg/stacomirtools/man/getquery.Rd
===================================================================
--- pkg/stacomirtools/man/getquery.Rd	                        (rev 0)
+++ pkg/stacomirtools/man/getquery.Rd	2021-11-06 21:20:28 UTC (rev 576)
@@ -0,0 +1,16 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/RequeteDB.R
+\name{getquery}
+\alias{getquery}
+\title{generic query function for}
+\usage{
+getquery(object, ...)
+}
+\arguments{
+\item{object}{an object}
+
+\item{...}{additional parameters passed to query}
+}
+\description{
+generic query function for
+}



More information about the Stacomir-commits mailing list