Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: adoupdate : problem with reported r(pkglist)


From   "Clive Nicholas" <[email protected]>
To   [email protected]
Subject   Re: st: adoupdate : problem with reported r(pkglist)
Date   Wed, 23 May 2007 03:07:44 +0100

On 21/05/07, Zurab Sajaia <[email protected]> wrote:

My program uses other user-written programs and I'm thinking of finding ways
how to check whether those packages are present/up-to-date.

I use -adoupdate- but it seems to return not what's the help file says it
would :

"adoupdate saves in r(pkglist) a space-separated list of package names that
need updating (option update not specified) or that were updated (option
update specified)."

if I write

. adoupdate "somelistofarguments"

r(pkglist) contains the exactly same list of arguments, even if packages
were not found or already up to date.

Have anybody encountered the similar behavior?
I've encountered a slight niggle with -adoupdate, update- that may be
related to Zurab's issue; namely, that it keeps insisting that the
same couple of SSC packages on my list have new versions ready to
download, when in fact they don't: one of them is your very own
-xml_tab-. It does it every time I execute -adoupdate-.

--
Clive Nicholas
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index