[Stacomir-commits] r577 - in pkg/stacomirtools: man tests/testthat

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Nov 7 18:56:11 CET 2021


Author: briand
Date: 2021-11-07 18:56:11 +0100 (Sun, 07 Nov 2021)
New Revision: 577

Removed:
   pkg/stacomirtools/man/connect-methods.Rd
   pkg/stacomirtools/man/figures/
   pkg/stacomirtools/man/funout.Rd
   pkg/stacomirtools/man/stacomirtools-package.Rd
Modified:
   pkg/stacomirtools/man/connect-ConnectionDB-method.Rd
   pkg/stacomirtools/man/connect-ConnectionODBC-method.Rd
   pkg/stacomirtools/man/connect-RequeteODBC-method.Rd
   pkg/stacomirtools/man/connect-RequeteODBCwhere-method.Rd
   pkg/stacomirtools/man/connect-RequeteODBCwheredate-method.Rd
   pkg/stacomirtools/man/connect.Rd
   pkg/stacomirtools/man/query-RequeteDBwhere-method.Rd
   pkg/stacomirtools/man/query-RequeteDBwheredate-method.Rd
   pkg/stacomirtools/man/query.Rd
   pkg/stacomirtools/tests/testthat/test-04-requeteODBCwhere.R
Log:
fixing problems with man and tests

Modified: pkg/stacomirtools/man/connect-ConnectionDB-method.Rd
===================================================================
--- pkg/stacomirtools/man/connect-ConnectionDB-method.Rd	2021-11-06 21:20:28 UTC (rev 576)
+++ pkg/stacomirtools/man/connect-ConnectionDB-method.Rd	2021-11-07 17:56:11 UTC (rev 577)
@@ -2,6 +2,7 @@
 % Please edit documentation in R/ConnectionDB.R
 \name{connect,ConnectionDB-method}
 \alias{connect,ConnectionDB-method}
+\alias{connect.ConnectionDB}
 \title{connect method for ConnectionDB class}
 \usage{
 \S4method{connect}{ConnectionDB}(object, base = NULL)

Modified: pkg/stacomirtools/man/connect-ConnectionODBC-method.Rd
===================================================================
--- pkg/stacomirtools/man/connect-ConnectionODBC-method.Rd	2021-11-06 21:20:28 UTC (rev 576)
+++ pkg/stacomirtools/man/connect-ConnectionODBC-method.Rd	2021-11-07 17:56:11 UTC (rev 577)
@@ -2,6 +2,7 @@
 % Please edit documentation in R/ConnectionODBC.R
 \name{connect,ConnectionODBC-method}
 \alias{connect,ConnectionODBC-method}
+\alias{connect.ConnectionODBC}
 \title{connect method for ConnectionODBC class}
 \usage{
 \S4method{connect}{ConnectionODBC}(object)

Modified: pkg/stacomirtools/man/connect-RequeteODBC-method.Rd
===================================================================
--- pkg/stacomirtools/man/connect-RequeteODBC-method.Rd	2021-11-06 21:20:28 UTC (rev 576)
+++ pkg/stacomirtools/man/connect-RequeteODBC-method.Rd	2021-11-07 17:56:11 UTC (rev 577)
@@ -2,6 +2,7 @@
 % Please edit documentation in R/RequeteODBC.R
 \name{connect,RequeteODBC-method}
 \alias{connect,RequeteODBC-method}
+\alias{connect.RequeteODBC}
 \title{connect method loads a request to the database and returns either an error or a data.frame}
 \usage{
 \S4method{connect}{RequeteODBC}(object)

Modified: pkg/stacomirtools/man/connect-RequeteODBCwhere-method.Rd
===================================================================
--- pkg/stacomirtools/man/connect-RequeteODBCwhere-method.Rd	2021-11-06 21:20:28 UTC (rev 576)
+++ pkg/stacomirtools/man/connect-RequeteODBCwhere-method.Rd	2021-11-07 17:56:11 UTC (rev 577)
@@ -2,6 +2,7 @@
 % Please edit documentation in R/RequeteODBCwhere.R
 \name{connect,RequeteODBCwhere-method}
 \alias{connect,RequeteODBCwhere-method}
+\alias{connect.RequeteODBCwhere}
 \title{connect method loads a request to the database and returns either an error or a data.frame}
 \usage{
 \S4method{connect}{RequeteODBCwhere}(object)

Modified: pkg/stacomirtools/man/connect-RequeteODBCwheredate-method.Rd
===================================================================
--- pkg/stacomirtools/man/connect-RequeteODBCwheredate-method.Rd	2021-11-06 21:20:28 UTC (rev 576)
+++ pkg/stacomirtools/man/connect-RequeteODBCwheredate-method.Rd	2021-11-07 17:56:11 UTC (rev 577)
@@ -2,6 +2,7 @@
 % Please edit documentation in R/RequeteODBCwheredate.R
 \name{connect,RequeteODBCwheredate-method}
 \alias{connect,RequeteODBCwheredate-method}
+\alias{connect.RequeteODBCwheredate}
 \title{connect method loads a request to the database and returns either an error or a data.frame}
 \usage{
 \S4method{connect}{RequeteODBCwheredate}(object)

Deleted: pkg/stacomirtools/man/connect-methods.Rd
===================================================================
--- pkg/stacomirtools/man/connect-methods.Rd	2021-11-06 21:20:28 UTC (rev 576)
+++ pkg/stacomirtools/man/connect-methods.Rd	2021-11-07 17:56:11 UTC (rev 577)
@@ -1,30 +0,0 @@
-\name{connect-methods}
-\alias{connect-methods}
-\alias{connect}
-\docType{methods}
-\alias{connect,ConnectionODBC-method}
-\alias{connect,RequeteODBC-method}
-\alias{connect,RequeteODBCwhere-method}
-\alias{connect,RequeteODBCwheredate-method}
-
-\title{ Methods for Function connect}
-\description{
-see individual .r files for help and examples
-}
-\section{Methods}{
-\describe{
-\item{\code{signature(object = "ConnectionODBC")}}{connect an 'ODBC' database,and eventually leaves it open for further queries,
-the connection may send message in the native language if 'stacomiR' package is in use}
-\item{\code{signature(object = "RequeteODBC")}}{ connect an 'ODBC' database,performs an sql request}
-\item{\code{signature(object = "RequeteODBCwhere")}}{ connect an 'ODBC' database,performs an sql request with where clause}
-\item{\code{signature(object = "RequeteODBCwheredate")}}{connect an 'ODBC' database,performs an sql request with where clause for an interval }
-}}
-\keyword{methods}
-\examples{
- showMethods("connect")
-\dontrun{
-object<-new("RequeteODBCwhere")
-connect(object)
-}
-}
-

Modified: pkg/stacomirtools/man/connect.Rd
===================================================================
--- pkg/stacomirtools/man/connect.Rd	2021-11-06 21:20:28 UTC (rev 576)
+++ pkg/stacomirtools/man/connect.Rd	2021-11-07 17:56:11 UTC (rev 577)
@@ -2,6 +2,7 @@
 % Please edit documentation in R/ConnectionODBC.R
 \name{connect}
 \alias{connect}
+\alias{connect.generic}
 \title{generic connect function for baseODBC}
 \usage{
 connect(object, ...)

Deleted: pkg/stacomirtools/man/funout.Rd
===================================================================
--- pkg/stacomirtools/man/funout.Rd	2021-11-06 21:20:28 UTC (rev 576)
+++ pkg/stacomirtools/man/funout.Rd	2021-11-07 17:56:11 UTC (rev 577)
@@ -1,22 +0,0 @@
-% Generated by roxygen2: do not edit by hand
-% Please edit documentation in R/utilities.R
-\name{funout}
-\alias{funout}
-\title{Function loaded in this package to avoid errors, if the package is called without stacomiR}
-\usage{
-funout(text, arret = FALSE, wash = FALSE)
-}
-\arguments{
-\item{text}{The text to display}
-
-\item{arret}{Boolean should the program stop}
-
-\item{wash}{FALSE only used when called from within stacomiR, and there is a widget interface,
-kept there for consistency}
-}
-\description{
-Function loaded in this package to avoid errors, if the package is called without stacomiR
-}
-\author{
-Cedric Briand \email{cedric.briand"at"eptb-vilaine.fr}
-}

Modified: pkg/stacomirtools/man/query-RequeteDBwhere-method.Rd
===================================================================
--- pkg/stacomirtools/man/query-RequeteDBwhere-method.Rd	2021-11-06 21:20:28 UTC (rev 576)
+++ pkg/stacomirtools/man/query-RequeteDBwhere-method.Rd	2021-11-07 17:56:11 UTC (rev 577)
@@ -2,6 +2,7 @@
 % Please edit documentation in R/RequeteDBwhere.R
 \name{query,RequeteDBwhere-method}
 \alias{query,RequeteDBwhere-method}
+\alias{query.RequeteODBCwhere}
 \title{query method loads a request to the database and returns either an error or a data.frame}
 \usage{
 \S4method{query}{RequeteDBwhere}(object, ...)

Modified: pkg/stacomirtools/man/query-RequeteDBwheredate-method.Rd
===================================================================
--- pkg/stacomirtools/man/query-RequeteDBwheredate-method.Rd	2021-11-06 21:20:28 UTC (rev 576)
+++ pkg/stacomirtools/man/query-RequeteDBwheredate-method.Rd	2021-11-07 17:56:11 UTC (rev 577)
@@ -2,6 +2,7 @@
 % Please edit documentation in R/RequeteDBwheredate.R
 \name{query,RequeteDBwheredate-method}
 \alias{query,RequeteDBwheredate-method}
+\alias{query.RequeteDBwheredate}
 \title{query method loads a request to the database and returns either an error or a data.frame}
 \usage{
 \S4method{query}{RequeteDBwheredate}(object, ...)

Modified: pkg/stacomirtools/man/query.Rd
===================================================================
--- pkg/stacomirtools/man/query.Rd	2021-11-06 21:20:28 UTC (rev 576)
+++ pkg/stacomirtools/man/query.Rd	2021-11-07 17:56:11 UTC (rev 577)
@@ -2,6 +2,7 @@
 % Please edit documentation in R/RequeteDB.R
 \name{query}
 \alias{query}
+\alias{query.RequeteDB}
 \title{generic query function for}
 \usage{
 query(object, ...)

Deleted: pkg/stacomirtools/man/stacomirtools-package.Rd
===================================================================
--- pkg/stacomirtools/man/stacomirtools-package.Rd	2021-11-06 21:20:28 UTC (rev 576)
+++ pkg/stacomirtools/man/stacomirtools-package.Rd	2021-11-07 17:56:11 UTC (rev 577)
@@ -1,17 +0,0 @@
-\name{stacomirtools-package}
-\title{RODBC connector class and some utilities}
-\description{
-This package contains S4 wrappers for 'ODBC' connection and some utilities
-}
-\details{\tabular{ll}{
-Package: \tab stacomirtools\cr
-Type: \tab Package\cr
-Version: \tab 0.5.2\cr
-Date: \tab 2018-01-04\cr
-License: \tab GPL (>= 2)\cr
-LazyLoad: \tab yes\cr
-}
-}
-\docType{package}
-\author{Cedric Briand \email{cedric.briand"at"eptb-vilaine.fr}}
-\keyword{package}
\ No newline at end of file

Modified: pkg/stacomirtools/tests/testthat/test-04-requeteODBCwhere.R
===================================================================
--- pkg/stacomirtools/tests/testthat/test-04-requeteODBCwhere.R	2021-11-06 21:20:28 UTC (rev 576)
+++ pkg/stacomirtools/tests/testthat/test-04-requeteODBCwhere.R	2021-11-07 17:56:11 UTC (rev 577)
@@ -1,5 +1,6 @@
 context("RequeteODBCwhere")
 test_that("Test that RequeteODBCwhere returns rows", {
+			skip_on_cran()
 			# this requires an odbc link to be setup for test here a database bd_contmig_nat used for stacomir
 			# the odbc link is bd_contmig_nat and points to database bd_contmig_nat
 			# userlocal and passwordlocal are generated from Rprofile.site



More information about the Stacomir-commits mailing list