From edd @end|ng |rom deb|@n@org  Mon Aug 12 19:51:01 2019
From: edd @end|ng |rom deb|@n@org (Dirk Eddelbuettel)
Date: Mon, 12 Aug 2019 12:51:01 -0500
Subject: [Rd] ALTREP package interaction with testthat
In-Reply-To: <CAGiFhPP7kyoXh7=k_7T3aPOk2eJ93X=Yc_ybRbras6Mn5BpCpw@mail.gmail.com>
References: <CAGiFhPP7kyoXh7=k_7T3aPOk2eJ93X=Yc_ybRbras6Mn5BpCpw@mail.gmail.com>
Message-ID: <23889.42757.43491.813668@rob.eddelbuettel.com>


On 12 August 2019 at 12:56, Wang Jiefei wrote:
| I am stuck here. I do not know if it is a bug of my package or testthat or
| the ALTREP implementation of R or possibly the interaction between them.

I don't have any concrete advice for your issue here but when I find myself
in similar debugging situations involving four or more moving parts, I
usually try to remove one or two. Once I am down to 'just base R and my
package' it tends to become much clearer where the issue is.

_Narrator: Base R usually wins._

Dirk

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



[Rd] ALTREP package interaction with testthat
Dirk Eddelbuettel