From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id LPGrMXGzH2BsaAAA0tVLHw (envelope-from ) for ; Sun, 07 Feb 2021 09:31:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uMP3LHGzH2BjAgAAbx9fmQ (envelope-from ) for ; Sun, 07 Feb 2021 09:31:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 18134940251 for ; Sun, 7 Feb 2021 09:31:29 +0000 (UTC) Received: from localhost ([::1]:33812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8gPf-00023B-OM for larch@yhetil.org; Sun, 07 Feb 2021 04:31:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8gP8-00022k-0P for help-guix@gnu.org; Sun, 07 Feb 2021 04:30:54 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:39275) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8gP4-0003L9-CJ for help-guix@gnu.org; Sun, 07 Feb 2021 04:30:53 -0500 X-Originating-IP: 86.239.3.142 Received: from pruneau-1.home (lfbn-poi-1-564-142.w86-239.abo.wanadoo.fr [86.239.3.142]) (Authenticated sender: d@divoplade.fr) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 7ADEE1BF20B; Sun, 7 Feb 2021 09:30:47 +0000 (UTC) Message-ID: Subject: Re: Wrapping an R script: how do I compose the R_LIBS_SITE environment variable? From: divoplade To: Ricardo Wurmus Date: Sun, 07 Feb 2021 10:30:46 +0100 In-Reply-To: <87v9b4s674.fsf@elephly.net> References: <57572613456b4704f097480b687fef4e8944cf68.camel@divoplade.fr> <867dnlb8v0.fsf@gmail.com> <87ft29tdu5.fsf@elephly.net> <87v9b4s674.fsf@elephly.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.201; envelope-from=d@divoplade.fr; helo=relay8-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 18134940251 X-Spam-Score: -1.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: NxVjMsoOC+Qn Hello, Le dimanche 07 février 2021 à 08:11 +0100, Ricardo Wurmus a écrit : > The r-build-system has a procedure “generate-site-path” to generate > R_LIBS_SITE. Thank you, I did not know about this function. It is not exported, but I can copy it, or re-use the R_LIBS_SITE environment variable after the install phase.