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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jun 24 20:58:38 CEST 2017


Author: briand
Date: 2017-06-24 20:58:38 +0200 (Sat, 24 Jun 2017)
New Revision: 417

Modified:
   pkg/stacomirtools/DESCRIPTION
   pkg/stacomirtools/R/ConnectionODBC.r
   pkg/stacomirtools/R/RequeteODBC.r
   pkg/stacomirtools/R/utilities.r
   pkg/stacomirtools/man/ConnectionODBC-class.Rd
   pkg/stacomirtools/man/RequeteODBC-class.Rd
   pkg/stacomirtools/man/connect-methods.Rd
   pkg/stacomirtools/man/funout.Rd
   pkg/stacomirtools/man/killfactor.Rd
   pkg/stacomirtools/man/stacomirtools-package.Rd
Log:
normalizing name

 replace stacomiR with 'stacomiR' as requested by Uwe Ligges from CRAN

Modified: pkg/stacomirtools/DESCRIPTION
===================================================================
--- pkg/stacomirtools/DESCRIPTION	2017-06-24 18:33:04 UTC (rev 416)
+++ pkg/stacomirtools/DESCRIPTION	2017-06-24 18:58:38 UTC (rev 417)
@@ -1,13 +1,13 @@
 Package: stacomirtools
 Version: 0.5.2
 Date: 2017-06-10
-Title: ODBC Connection Class for Package stacomiR
+Title: 'ODBC' Connection Class for Package stacomiR
 Authors at R: c(person("Cedric", "Briand", role = c("aut", "cre"), email = "cedric.briand00 at gmail.com"))
 Author: Cedric Briand [aut, cre]
 Maintainer: Cedric Briand <cedric.briand00 at gmail.com>
 Description:S4 class wrappers for the 'ODBC' connection, also provides some 
     utilities to paste small datasets to clipboard, rename columns. It is used by the package 'stacomiR' for
-    connections to the database. Development versions of stacomiR are available in R-forge.
+    connections to the database. Development versions of 'stacomiR' are available in R-forge.
 License: GPL (>= 2)
 Collate:
     'ConnectionODBC.r'

Modified: pkg/stacomirtools/R/ConnectionODBC.r
===================================================================
--- pkg/stacomirtools/R/ConnectionODBC.r	2017-06-24 18:33:04 UTC (rev 416)
+++ pkg/stacomirtools/R/ConnectionODBC.r	2017-06-24 18:58:38 UTC (rev 417)
@@ -50,9 +50,9 @@
 					object at baseODBC<-get("baseODBC",envir=envir_stacomi) 
 				} else {
 					if(exists("envir_stacomi")){# the program is called within stacomiR
-						funout(gettext("You need to define a baseODBC vector with the ODBC link, the user and the password\n"),arret=TRUE)
+						funout(gettext("You need to define a baseODBC vector with the 'ODBC' link, the user and the password\n"),arret=TRUE)
 					} else	  {
-						stop("you need to define a vector baseODBC with the ODBC link, user and password")
+						stop("you need to define a vector baseODBC with the 'ODBC' link, user and password")
 					}
 				}
 			}

Modified: pkg/stacomirtools/R/RequeteODBC.r
===================================================================
--- pkg/stacomirtools/R/RequeteODBC.r	2017-06-24 18:33:04 UTC (rev 416)
+++ pkg/stacomirtools/R/RequeteODBC.r	2017-06-24 18:58:38 UTC (rev 417)
@@ -51,7 +51,7 @@
 #'}
 
 setMethod("connect",signature=signature("RequeteODBC"),definition=function(object) {     
-			msg1<-gettext("ODBC error =>you have to define a vector baseODBC with the ODBC link name, user and password")
+			msg1<-gettext("'ODBC' error =>you have to define a vector baseODBC with the 'ODBC' link name, user and password")
 			msg2<-gettext("connection trial :")
 			msg3<-gettext("connection impossible")
 			msg4<-gettext("connection successfull")
@@ -85,10 +85,10 @@
 
 
 #' very usefull function remove factor that appear, noticeably after loading
-#' with ODBC
+#' with 'ODBC'
 #' 
 #' function used to remove factors that appear, noticeably after loading with
-#' ODBC
+#' 'ODBC'
 #' 
 #' 
 #' @param df a data.frame
@@ -112,7 +112,7 @@
 						funout(msg1,arret=TRUE)
 					}
 				}
-				# opening of ODBC connection
+				# opening of 'ODBC' connection
 				e=expression(channel <-odbcConnect(object at baseODBC[1],
 								uid = object at baseODBC[2],
 								pwd = object at baseODBC[3],

Modified: pkg/stacomirtools/R/utilities.r
===================================================================
--- pkg/stacomirtools/R/utilities.r	2017-06-24 18:33:04 UTC (rev 416)
+++ pkg/stacomirtools/R/utilities.r	2017-06-24 18:58:38 UTC (rev 417)
@@ -78,7 +78,7 @@
 }
 
 
-#' very usefull function used to "kill" the factors, noticeably after loading with odbc
+#' very usefull function used to "kill" the factors, noticeably after loading with 'ODBC'
 #' 
 #' @param df a data.frame
 #' @return df

Modified: pkg/stacomirtools/man/ConnectionODBC-class.Rd
===================================================================
--- pkg/stacomirtools/man/ConnectionODBC-class.Rd	2017-06-24 18:33:04 UTC (rev 416)
+++ pkg/stacomirtools/man/ConnectionODBC-class.Rd	2017-06-24 18:58:38 UTC (rev 417)
@@ -29,8 +29,8 @@
 }
 \note{
 Opens the connection but does not close it.
-This function is intended to be used with stacomiR package, where the error message are collected from the database
-It has also been programmed to work without the stacomiR package, as it will test for the existence of envir_stacomi environment.
+This function is intended to be used with 'stacomiR' package, where the error message are collected from the database
+It has also been programmed to work without the 'stacomiR' package, as it will test for the existence of envir_stacomi environment.
 }
 \author{cedric.briand"at"eptb-vilaine.fr}
 

Modified: pkg/stacomirtools/man/RequeteODBC-class.Rd
===================================================================
--- pkg/stacomirtools/man/RequeteODBC-class.Rd	2017-06-24 18:33:04 UTC (rev 416)
+++ pkg/stacomirtools/man/RequeteODBC-class.Rd	2017-06-24 18:58:38 UTC (rev 417)
@@ -3,7 +3,7 @@
 \alias{RequeteODBC-class}
 \alias{RequeteODBC}
 \title{Class "RequeteODBC"}
-\description{ODBC Query. This class enables to retrieve data from the database. 
+\description{'ODBC' Query. This class enables to retrieve data from the database. 
 This class is inherited by RequeteODBCwhere and RequeteODBCwheredate
 }
 \note{
@@ -45,7 +45,7 @@
  object at open=TRUE 
  ## this will leave the connection open, 
  ## by default it closes after the query is sent
- ## the following will work only if you have configured and ODBC link
+ ## the following will work only if you have configured and 'ODBC' link
  object at baseODBC=c("myODBCconnection","myusername","mypassword")
  object at sql= "select * from mytable limit 100"
  object<-connect(object)

Modified: pkg/stacomirtools/man/connect-methods.Rd
===================================================================
--- pkg/stacomirtools/man/connect-methods.Rd	2017-06-24 18:33:04 UTC (rev 416)
+++ pkg/stacomirtools/man/connect-methods.Rd	2017-06-24 18:58:38 UTC (rev 417)
@@ -13,11 +13,11 @@
 }
 \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 }
+\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{

Modified: pkg/stacomirtools/man/funout.Rd
===================================================================
--- pkg/stacomirtools/man/funout.Rd	2017-06-24 18:33:04 UTC (rev 416)
+++ pkg/stacomirtools/man/funout.Rd	2017-06-24 18:58:38 UTC (rev 417)
@@ -1,16 +1,16 @@
 \name{funout}
 \alias{funout}
-\title{Function loaded in this package to avoid errors, if the package is called without stacomiR}
+\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}{If true calls the program to stop and the message to be displayed}
-  \item{wash}{Only used when called from within stacomiR, and there is a widget interface, kept there for consistency }
+  \item{wash}{Only used when called from within 'stacomiR', and there is a widget interface, kept there for consistency }
 }
 \description{
-  This function will be replaced by a longer function using gWidgets if the package stacomiR is loaded. It
+  This function will be replaced by a longer function using gWidgets if the package 'stacomiR' is loaded. It
   is provided there to avoid to pointing to an undefined global function. Normally the program tests for the existence of
   and environment envir_stacomi which indicates that the messages are to be displayed in the gWidget interface, so this code 
   is to avoid notes in R.check.

Modified: pkg/stacomirtools/man/killfactor.Rd
===================================================================
--- pkg/stacomirtools/man/killfactor.Rd	2017-06-24 18:33:04 UTC (rev 416)
+++ pkg/stacomirtools/man/killfactor.Rd	2017-06-24 18:58:38 UTC (rev 417)
@@ -1,6 +1,6 @@
 \name{killfactor}
 \alias{killfactor}
-\title{very usefull function remove factor that appear, noticeably after loading with ODBC}
+\title{very usefull function remove factor that appear, noticeably after loading with 'ODBC'}
 \usage{
   killfactor(df)
 }
@@ -11,7 +11,7 @@
   df
 }
 \description{
-  function used to remove factors that appear, noticeably after loading with ODBC
+  function used to remove factors that appear, noticeably after loading with 'ODBC'
 }
 \author{
   Cedric Briand \email{cedric.briand"at"eptb-vilaine.fr}

Modified: pkg/stacomirtools/man/stacomirtools-package.Rd
===================================================================
--- pkg/stacomirtools/man/stacomirtools-package.Rd	2017-06-24 18:33:04 UTC (rev 416)
+++ pkg/stacomirtools/man/stacomirtools-package.Rd	2017-06-24 18:58:38 UTC (rev 417)
@@ -1,13 +1,13 @@
 \name{stacomirtools-package}
 \title{RODBC connector class and some utilities}
 \description{
-This package contains S4 wrappers for ODBC connection and some utilities
+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.3\cr
-Date: \tab 2012-12-23\cr
+Version: \tab 0.5.2\cr
+Date: \tab 2017-06-24\cr
 License: \tab GPL (>= 2)\cr
 LazyLoad: \tab yes\cr
 }



More information about the Stacomir-commits mailing list