Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
^.*\.Rproj$
^\.Rproj\.user$
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.Rhistory

# Example code in package build process
*-Ex.R
*-Ex.R
.Rproj.user
Binary file removed inst/doc/teradataR.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions man/INITCAP.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ Todd Brye, Erin Cole
%% ~~objects to See Also as \code{\link{help}}, ~~~
}
\examples{
\dontrun{
tdf <- tdQuery("SELECT * FROM customer")
tdf["col2"] <- INITCAP(tdf["col1"])
}
}
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{ ~kwd1 }% use one of RShowDoc("KEYWORDS")
Expand Down
4 changes: 3 additions & 1 deletion man/LPAD.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ Todd Brye, Erin Cole
%% ~~objects to See Also as \code{\link{help}}, ~~~
}
\examples{
tdf["col2"] <- LPAD(tdf["col1", 15, " "])
\dontrun{
tdf["col2"] <- LPAD(tdf["col1", 15, " "])
}
}
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
Expand Down
4 changes: 3 additions & 1 deletion man/LTRIM.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ Todd Brye, Erin Cole
%% ~~objects to See Also as \code{\link{help}}, ~~~
}
\examples{
tdf["col2"] <- LTRIM(tdf["col1"])
\dontrun{
tdf["col2"] <- LTRIM(tdf["col1"])
}
}
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
Expand Down
4 changes: 3 additions & 1 deletion man/RPAD.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ Todd Brye, Erin Cole
%% ~~objects to See Also as \code{\link{help}}, ~~~
}
\examples{
\dontrun{
tdf["col2"] <- RPAD(tdf["col1", 15, " "])
}
}}

% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{ ~kwd1 }% use one of RShowDoc("KEYWORDS")
Expand Down
3 changes: 2 additions & 1 deletion man/RTRIM.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ Todd Brye, Erin Cole
%% ~~objects to See Also as \code{\link{help}}, ~~~
}
\examples{
\dontrun{
tdf["col2"] <- RTRIM(tdf["col1"])
}
}}
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{ ~kwd1 }% use one of RShowDoc("KEYWORDS")
Expand Down
2 changes: 1 addition & 1 deletion man/on.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Erin Cole
%% ~~objects to See Also as \code{\link{help}}, ~~~
}
\examples{
o <- on(target="select *" from="tab1", partition="any")
o <- on(target="select *", from="tab1", partition="any")
}
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
Expand Down
2 changes: 2 additions & 0 deletions man/td.CalcMatrix.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,13 @@ Erin Cole
%% ~~objects to See Also as \code{\link{help}}, ~~~
}
\examples{
\dontrun{
on2 <- on(target= "select * from tab1")
query <- td.CalcMatrix(selectPhrase="select session as ampkey, D1.* from TD_SYSFNLIB.calcmatrix", ons=on1, phase="LOCAL", as="D1")
res <- tdQuery(query)
print(res)
}
}
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{ ~kwd1 }% use one of RShowDoc("KEYWORDS")
Expand Down
2 changes: 2 additions & 0 deletions man/td.ExecR.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ Erin Cole
\code{\link{on}}
}
\examples{
\dontrun{
on1 <- on(target="select *", from="tab1", hash="c1", local_order="c2")
query <- td.ExecR(selectPhrase="select distinct * from TD_SYSGPL.ExecR", ons=on1, contract="~/Documents/contract.txt", operator="~/Documents/operator.txt")
res <- tdQuery(query)
print(res)
}
}
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{ ~kwd1 }% use one of RShowDoc("KEYWORDS")
Expand Down
17 changes: 17 additions & 0 deletions teradataR.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX

BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source