Thanks David, I will look into your suggestion more. Sebastien
From: David Bosak <dbosak01 at gmail.com>
Sent: Tuesday, December 22, 2020 20:27
To: Sebastien Bihorel <Sebastien.Bihorel at cognigencorp.com>; r-package-devel at r-project.org <r-package-devel at r-project.org>
Subject: RE: [R-pkg-devel] Question about package dependency
Sent: Tuesday, December 22, 2020 20:27
To: Sebastien Bihorel <Sebastien.Bihorel at cognigencorp.com>; r-package-devel at r-project.org <r-package-devel at r-project.org>
Subject: RE: [R-pkg-devel] Question about package dependency
Hi Sebastian: What you describe sounds like it could be handled by the ?suggests? section of the Description file. Then you can conditionally require it for your different user groups, perhaps based on a configuration setting. See if this helps: https://r-pkgs.org/description.html David Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Sebastien Bihorel<mailto:Sebastien.Bihorel at cognigencorp.com> Sent: Tuesday, December 22, 2020 8:09 PM To: r-package-devel at r-project.org<mailto:r-package-devel at r-project.org> Subject: [R-pkg-devel] Question about package dependency Hi I am working on modifying a package originally developed for use within my company, with the intent to distribute it to users external to our company. The package currently depends on ROracle to extract data from an Oracle database. The modifications I am implementing would allow the package to operate under 2 modes of data extraction: from this database for internal users or from locally stored data files for external users. Beyond the data extraction step, the package would provide functionality to manipulate the data which is independent of their origin. I was wondering if and how I could set up my package code and DESCRIPTION file so that external users don't have to install ROracle to install and use my package (since they would operate only in the 2nd mode of data extraction described above). Thank in advance for your suggestions. [[alternative HTML version deleted]] ______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel