Hi,
I am trying to create separate package which will support Oracle as additional backend in dplyr. I thought it is wise not to copy entire dplyr - it would be smart to have only as little as needed in my package so it is easier to maintain.
I started by copying the following files: tbl-sql, dbi-s3, utils. Added src-oracle. Added some packages to depends and imports.
Now the process was
1) added translate-sql after "object 'all_names' not found" when using document
2) I can connect, but "batting <- tbl(my_db, "Batting")" resuts in " could not find function "is.sql_variant". Added translate-sql-helpers.r to my package
3) Another error: Error in as.list(from) : object 'base_symbols' not found ,... added translate-sql-base.r
4) .......STOP :/
Apparently my process will continue until I copy entire dplyr codebase to my project (something I tried to avoid). MonetDB.R (another dplyr backend) has quite few files in codebase, but I am not sure how they made it work.
Any hints on this?
Tomas
This what I have in description:
Depends:
dplyr,
DBI (>= 0.3.1),
digest (>= 0.6.4),
methods,
ROracle,
R (>= 3.1.1)
Imports:
assertthat