Skip to content

Commit

Permalink
Tidy up for CRAN submission
Browse files Browse the repository at this point in the history
  • Loading branch information
piersharding committed Sep 18, 2018
1 parent 32875a8 commit 8f0cc81
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 21 deletions.
10 changes: 5 additions & 5 deletions DESCRIPTION
@@ -1,10 +1,10 @@
Package: RSAP
Version: 0.11
Date: 2018-09-10
Version: 0.12
Date: 2018-09-18
Author: Piers Harding <piers@ompka.net>
Maintainer: Piers Harding <piers@ompka.net>
Title: SAP Netweaver RFC connector for R
Description: The SAP Netweaver RFC connector for R
Title: SAP Netweaver RFC Connector For R
Description: The SAP Netweaver RFC Connector For R
SystemRequirements: NW RFC SDK downloaded from http://service.sap.com
Depends: R (>= 2.12.0), utils, yaml, reshape
LazyLoad: yes
Expand All @@ -13,4 +13,4 @@ URL: http://github.com/piersharding/RSAP
BugReports: http://github.com/piersharding/RSAP/issues
BuildVignettes: no
Repository: CRAN
Date/Publication: 2018-09-10 12:00:00
Date/Publication: 2018-09-18 12:00:00
18 changes: 9 additions & 9 deletions configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for RSAP 0.9.
# Generated by GNU Autoconf 2.69 for RSAP 0.12.
#
# Report bugs to <piers@ompka.net>.
#
Expand Down Expand Up @@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='RSAP'
PACKAGE_TARNAME='rsap'
PACKAGE_VERSION='0.9'
PACKAGE_STRING='RSAP 0.9'
PACKAGE_VERSION='0.12'
PACKAGE_STRING='RSAP 0.12'
PACKAGE_BUGREPORT='piers@ompka.net'
PACKAGE_URL=''

Expand Down Expand Up @@ -1240,7 +1240,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures RSAP 0.9 to adapt to many kinds of systems.
\`configure' configures RSAP 0.12 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1302,7 +1302,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of RSAP 0.9:";;
short | recursive ) echo "Configuration of RSAP 0.12:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1390,7 +1390,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
RSAP configure 0.9
RSAP configure 0.12
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1875,7 +1875,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by RSAP $as_me 0.9, which was
It was created by RSAP $as_me 0.12, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -4078,7 +4078,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by RSAP $as_me 0.9, which was
This file was extended by RSAP $as_me 0.12, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -4140,7 +4140,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
RSAP config.status 0.9
RSAP config.status 0.12
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
@@ -1,6 +1,6 @@
# original by Friedrich Leisch, much changed by BDR

AC_INIT([RSAP], 0.9, [piers@ompka.net])
AC_INIT([RSAP], 0.12, [piers@ompka.net])

dnl Select an optional include path, from a configure option
dnl or from an environment variable.
Expand Down
5 changes: 4 additions & 1 deletion man/RSAPConnect.Rd
Expand Up @@ -44,7 +44,10 @@ RSAPConnect(...)
}
\examples{\dontrun{
# full parameter specification
con <- RSAPConnect(ashost="nplhost", sysnr="42", client="001", user="developer", passwd="developer", lang="EN", trace="1", lcheck="1")
con <- RSAPConnect(ashost="nplhost", sysnr="42",
client="001", user="developer",
passwd="developer", lang="EN",
trace="1", lcheck="1")
# Use a YAML encoded parameter file
con <- RSAPConnect("sap.yml")
Expand Down
5 changes: 4 additions & 1 deletion man/RSAPExecInfoQuery.Rd
Expand Up @@ -43,7 +43,10 @@ RSAPExecInfoQuery(con, infoprovider, infoquery)
}
\examples{\dontrun{
# read the NW demo data info cube
res <- RSAPExecInfoQuery(con, "0D_NW_T01", "20120716",chars=list("0D_NW_SORG", "0D_NW_PROD"), kfigures=list("0D_NW_NETV"))
res <- RSAPExecInfoQuery(con, "0D_NW_T01",
"20120716",chars=list("0D_NW_SORG",
"0D_NW_PROD"),
kfigures=list("0D_NW_NETV"))
}}
\keyword{IO}
\keyword{SAP}
8 changes: 6 additions & 2 deletions man/RSAPReadCube.Rd
Expand Up @@ -27,7 +27,8 @@ RSAPReadCube(con, cube, ref_date, chars=list(), kfigures=list(), options=list())
res <- RSAPReadCube(con, "0D_NW_T01", "20120716",
chars=list("0D_NW_SORG", "0D_NW_PROD"),
kfigures=list("0D_NW_NETV"),
options=list(CHANM=list('0D_NW_SORG'),SIGN=list('I'), COMPOP=list('EQ'), LOW=list('1514')))
options=list(CHANM=list('0D_NW_SORG'),SIGN=list('I'), COMPOP=list('EQ'),
LOW=list('1514')))
# or alias
# res <- readCube(con, ...
Expand All @@ -52,7 +53,10 @@ RSAPReadCube(con, cube, ref_date, chars=list(), kfigures=list(), options=list())
}
\examples{\dontrun{
# read the NW demo data info cube
res <- RSAPReadCube(con, "0D_NW_T01", "20120716",chars=list("0D_NW_SORG", "0D_NW_PROD"), kfigures=list("0D_NW_NETV"))
res <- RSAPReadCube(con, "0D_NW_T01",
"20120716",chars=list("0D_NW_SORG",
"0D_NW_PROD"),
kfigures=list("0D_NW_NETV"))
}}
\keyword{IO}
\keyword{SAP}
8 changes: 6 additions & 2 deletions man/RSAPReadTable.Rd
Expand Up @@ -6,7 +6,8 @@
Open connections to an SAP System for RFC calls
}
\usage{
RSAPReadTable(con, saptable, options=list(), fields=list(), delimiter=';', nrows=-1, skip=0)
RSAPReadTable(con, saptable, options=list(), fields=list(),
delimiter=';', nrows=-1, skip=0)
}%"
\arguments{
\item{con}{an Open SAP RFC Connection handle.}
Expand Down Expand Up @@ -50,7 +51,10 @@ RSAPReadTable(con, saptable, options=list(), fields=list(), delimiter=';', nrows
}
\examples{\dontrun{
# read the flight data demo table
res <- RSAPReadTable(con, "SFLIGHTS2", options=list("CARRID = 'AA'"), fields=list('CARRID', 'CONNID', 'FLDATE', 'PRICE'))
res <- RSAPReadTable(con, "SFLIGHTS2",
options=list("CARRID = 'AA'"),
fields=list('CARRID', 'CONNID', 'FLDATE',
'PRICE'))
}}
\keyword{IO}
\keyword{SAP}

0 comments on commit 8f0cc81

Please sign in to comment.