Closed fmichonneau closed 7 years ago
Hi @fmichonneau, sorry for taking so long to look at this. Moving half way around the world takes you out of the loop!
I gather this was an intermittent problem with the NCBI's servers, ending up with no nucleotide links for this dataset. I should work out if it makes more sense to check for the existence of these IDs in the rotl
function or add a warning on the rentrez
side.
In the data mashup vignette in rotl, it seems that one piece of the code just started to fail, but I'm unsure why, as it doesn't look like there is a new version of rentrez. I can't reproduce the problem when running the code interactively, it's only when it's run through
devtools::check()
ordevtools::build_vignettes()
.We have in the vignette:
That returns:
Error: Must specify either (not both) 'id' or 'web_history' arguments
In debugging mode within the
id_or_webenv()
function, I find that bothargs$id
andargs$web_history
areNULL
which triggers the error. I haven't messed with environments enough to figure out what's wrong, but my guess is that devtools runs the vignette in a special environment and callingsys.parent()
doesn't work as expected. Is it something that could be fixed in rentrez, or do I need to bring it up with devtools?