Skip to content
Back to formatted view

Raw Message

Message-ID: <2eb718bb-aea2-dc05-fec4-9ccc5c9cfc7d@statistik.tu-dortmund.de>
Date: 2019-05-16T15:14:24Z
From: Uwe Ligges
Subject: [R-pkg-devel] noL
In-Reply-To: <421f5f54d0d14e76b2f8c36bbeee6838@nyulangone.org>

From https://www.stats.ox.ac.uk/pub/bdr/noLD/README.txt :
"tests on x86_64 Linux with R-devel configured --disable-long-double"
in order to mimick platforms without support for long doubles.


Best,
Uwe Ligges





On 16.05.2019 15:31, Goldfeld, Keith wrote:
> Good morning -
> 
> I have one final issue that is preventing me from a successful
> submission of my package simstudy to CRAN. In one of my examples, I sum
> a vector of probabilities and check to make sure they sum to one.
> 
> I am getting an "noLD" error - so there is some issue with a long double. I
> am a at a bit of a loss on how to go about fixing this (would rounding help),
> but more importantly, how can I check this to make sure I have fixed it -
> since I do not get an error on my local system (and it passes all other
> checks.)
> 
> I've included the log from the noLD
> (https://www.stats.ox.ac.uk/pub/bdr/noLD/simstudy.out) below.
> 
> - Keith
> 
> 
> * checking examples ... ERROR
> Running examples in ?simstudy-Ex.R? failed
> The error most likely occurred in:
> 
>> ### Name: genCorOrdCat
>> ### Title: Generate correlated ordinal categorical data
>> ### Aliases: genCorOrdCat
>>
>> ### ** Examples
>>
>> #### Set definitions
>>
>> baseprobs <- matrix(c(0.2, 0.1, 0.1, 0.6,
> +                       0.7, 0.2, 0.1, 0,
> +                       0.5, 0.2, 0.3, 0,
> +                       0.4, 0.2, 0.4, 0,
> +                       0.6, 0.2, 0.2, 0),
> +                     nrow = 5, byrow = TRUE)
>>
>> set.seed(333)
>> dT <- genData(1000)
>>
>> dX <- genCorOrdCat(dT, adjVar = NULL, baseprobs = baseprobs,
> +                    prefix = "q", rho = .125, corstr = "cs")
> Error in genCorOrdCat(dT, adjVar = NULL, baseprobs = baseprobs, prefix = "q",  :
>    Probabilities are not properly specified
> Execution halted
> * checking for unstated dependencies in vignettes ... OK
> * checking package vignettes in ?inst/doc? ... OK
> * checking re-building of vignette outputs ... OK
> * checking PDF version of manual ... OK
> * DONE
> 
> Status: 1 ERROR
> See
>    ?/data/gannet/ripley/R/packages/tests-noLD/simstudy.Rcheck/00check.log?
> for details.
> 
> 
> ------------------------------------------------------------
> This email message, including any attachments, is for ...{{dropped:8}}