From joroman at rand.org  Mon Mar 27 20:27:02 2017
From: joroman at rand.org (Roman, John)
Date: Mon, 27 Mar 2017 18:27:02 +0000
Subject: [Rd] R fails to read repo index on NGINX
In-Reply-To: <22745.21978.217320.875223@max.eddelbuettel.com>
References: <EDD04CD16EC1524FACF04CF343DAB49428692944@smmb1.rand.org>,
	<22745.21978.217320.875223@max.eddelbuettel.com>
Message-ID: <EDD04CD16EC1524FACF04CF343DAB49428692AC5@smmb1.rand.org>

Dirk,
Thank you for your elaboration.  This issue is related to curl trusting a CA cert as its called by R.  
curl called from bash recognizes the system cert bundle for CA's, curl called from R does not.

may I know how to trust the system certificate bundle from within R?


John Roman
Linux System Administrator
RAND Corporation
joroman at rand.org
X7302

________________________________________
From: Dirk Eddelbuettel [dirk.eddelbuettel at gmail.com] on behalf of Dirk Eddelbuettel [edd at debian.org]
Sent: Monday, March 27, 2017 11:11 AM
To: Roman, John
Cc: R-devel at r-project.org
Subject: Re: [Rd] R fails to read repo index on NGINX

On 27 March 2017 at 17:46, Roman, John wrote:
| im hosting a local cran repo on an NGINX server and it fails to pull the index at /src/contrib/
|
| the layout of the index is different from apache, could this be disrupting R?

You mean when you look at the directory in a browser?

Should not matter.  Use any command-line client (wget, curl, ...) or R's
download.file() to slurp down  http://$MYSERVER/src/contrib/PACKAGES to
inspect, compare, ... -- and that is an absolute path so the index does not
matter.

Dirk

--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org


__________________________________________________________________________

This email message is for the sole use of the intended r...{{dropped:6}}



[Rd] R fails to read repo index on NGINX
Roman, John