Re: [Bioc-devel] How to recreate R CMD BUILD environment in interactive session?

2017-10-23 Thread Hervé Pagès
On 10/23/2017 01:42 PM, Martin Morgan wrote: On 10/23/2017 04:40 PM, Hervé Pagès wrote: Hi Elizabeth, Thanks for troubleshooting this. Note that testing with identical()/checkIdentical() is safer than with 'any(sort(colnames1) != sort(colnames2))'. The latter won't do the right thing if

Re: [Bioc-devel] How to recreate R CMD BUILD environment in interactive session?

2017-10-23 Thread Elizabeth Purdom
Dear Martin, Just for completeness, I figured out the discrepancy and solved my problem. In my check, I check that the column names contain the expected names and I didn’t want to make the order required in a certain way so I used sort -- but only of one side because I naively assumed the

Re: [Bioc-devel] How to recreate R CMD BUILD environment in interactive session?

2017-10-23 Thread Elizabeth Purdom
> > I can reproduce the error with > > clusterExperiment/vignettes master$ R_DEFAULT_PACKAGES= LC_COLLATE=C R -f > clusterExperimentTutorial.R > > leading to > > > ## > > recallRSEC > >

Re: [Bioc-devel] How to recreate R CMD BUILD environment in interactive session?

2017-10-23 Thread Martin Morgan
On 10/23/2017 09:59 AM, Elizabeth Purdom wrote: On Oct 23, 2017, at 3:47 PM, Martin Morgan > wrote: On 10/23/2017 09:26 AM, Elizabeth Purdom wrote: Hello, I am updating an existing package and I am getting an error in

Re: [Bioc-devel] How to recreate R CMD BUILD environment in interactive session?

2017-10-23 Thread Elizabeth Purdom
> On Oct 23, 2017, at 3:47 PM, Martin Morgan > wrote: > > On 10/23/2017 09:26 AM, Elizabeth Purdom wrote: >> Hello, >> I am updating an existing package and I am getting an error in running my >> vignette (and a similar error in an example in help pages) but

Re: [Bioc-devel] How to recreate R CMD BUILD environment in interactive session?

2017-10-23 Thread Martin Morgan
On 10/23/2017 09:26 AM, Elizabeth Purdom wrote: Hello, I am updating an existing package and I am getting an error in running my vignette (and a similar error in an example in help pages) but ONLY when I run R CMD BUILD. I can’t recreate the error in any session where I can debug and figure