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 uCkqDbmSH2C6fgAA0tVLHw (envelope-from ) for ; Sun, 07 Feb 2021 07:11:53 +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 wHraCLmSH2DxIwAAbx9fmQ (envelope-from ) for ; Sun, 07 Feb 2021 07:11:53 +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 8BC1D94060F for ; Sun, 7 Feb 2021 07:11:52 +0000 (UTC) Received: from localhost ([::1]:40308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8eEY-000085-5N for larch@yhetil.org; Sun, 07 Feb 2021 02:11:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8eEM-00007w-6w for help-guix@gnu.org; Sun, 07 Feb 2021 02:11:38 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8eEK-0007HH-AG for help-guix@gnu.org; Sun, 07 Feb 2021 02:11:37 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1612681893; cv=none; d=zohomail.com; s=zohoarc; b=HZ8Cn+sJF3wqyn7XzImdaNBz7ASRJklAJJbpEjKUZERUwQE7+WTnSixHkFpw9V5WoIHpOQvpgDfGABrWkfIzrpEFc1K2b+bCyeG0y4KstlxCcseyz+BV2MO3OoSOJrNAPYyhoaogNIQdO/n1usdHK7g2EKgdv4Xqi9VojhNDRQU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612681893; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=CWD9sgqUlfvKdBFTauheUfw/yQGQ1DOVHGuZKxncMNI=; b=Jw0wJ9TEgw+n9DkuMpIAu67f7KUfyqMZcRrxx6KlH3Mg7GEqud93cGVJMHq8wAIYi2xLW7l6kZtweY7tb4NXJPbL4tiOzRlwudi32OouWc8TanlRYXki47jFAzTrpqqhactyDPuPyo6uJlBKwmErY/DNIZCbIqx5AzrmMl+q220= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1612681893; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=CWD9sgqUlfvKdBFTauheUfw/yQGQ1DOVHGuZKxncMNI=; b=aeVE2O1PbNhkZAgbGUzC/ME8Rg/iGxc4MSifTDHgA8Ybh/CnX9D9hktE4uOFv45X 1Nn8zIgmx+1GSqXnyYcDN3rWhU/BM2UVqW+6NRS3lXWJeBccuLcCpDSDUDECCAHnSeF pFXgiAT7nKguqvhTUNRjvO6MnEHK0gzxvQBWWSfM= Received: from localhost (p54ad402c.dip0.t-ipconnect.de [84.173.64.44]) by mx.zohomail.com with SMTPS id 1612681891137387.8415281900884; Sat, 6 Feb 2021 23:11:31 -0800 (PST) References: <57572613456b4704f097480b687fef4e8944cf68.camel@divoplade.fr> <867dnlb8v0.fsf@gmail.com> <87ft29tdu5.fsf@elephly.net> User-agent: mu4e 1.4.14; emacs 27.1 From: Ricardo Wurmus To: divoplade Subject: Re: Wrapping an R script: how do I compose the R_LIBS_SITE environment variable? In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 07 Feb 2021 08:11:27 +0100 Message-ID: <87v9b4s674.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=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.64 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=aeVE2O1P; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); 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: 8BC1D94060F X-Spam-Score: 1.64 X-Migadu-Scanner: scn1.migadu.com X-TUID: inj4ipSDghQ4 divoplade writes: > Attached is an example of a script written in R that has non-trivial > recursive dependencies. Why don=E2=80=99t you use the r-build-system here? > If you look at the package definition, you see that I call wrap-program=20 > in order to set the R_LIBS_SITE environment variable. The components of > R_LIBS_SITE is the R dependencies of my package, and their recursive R > dependencies. But I don't know how to get them. The r-build-system has a procedure =E2=80=9Cgenerate-site-path=E2=80=9D to = generate R_LIBS_SITE. --=20 Ricardo