You're right! But notice that the RPackage logic of one to one mapping
with categories, only
breaks   when it  only provides extension methods as in the case of
'AST-Core' and 'RPackage'.

| p |
p := RPackageOrganizer default packageNamed: 'AST-Core'.
( p extensionMethods size = 2 ) & ( p definedClasses size = 0 )

Only then, maybe this is a bug?


On Thu, Aug 9, 2012 at 1:52 PM, Mariano Martinez Peck
<marianop...@gmail.com> wrote:
>
>
> On Thu, Aug 9, 2012 at 1:25 PM, Fernando Olivero 
> <fernando.oliv...@usi.ch<mailto:fernando.oliv...@usi.ch>> wrote:
> Hi Mariano,
>
> I've been using RPackage so i stumbled on the same "problem".
>  RPackage maps System Categories (one to one), thus your problem
> happens because there's no category named 'RPackage'.
>
>
> But for the rest it works. For example:
>
> (RPackageOrganizer default packageNamed: 'AST-Core')
>
> And there is no category 'AST-Core'.
>
> Moreover, I have just discovered that if I evaluate:  RPackageOrganizer 
> initialize.
> Then it appears :)
>
>
> For example evaluate  (RPackageOrganizer default packageNamed: 
> 'RPackage-Core')
>
> Saludos,
> Fernando
>
> On Thu, Aug 9, 2012 at 12:24 PM, Mariano Martinez Peck
> <marianop...@gmail.com<mailto:marianop...@gmail.com>> wrote:
>> (MCWorkingCopy allManagers  collect: [:p | p package name] ) includes: 
>> 'RPackage' -> true
>>
>> (RPackageOrganizer default packageNamed: 'RPackage') -> KeyNotFound
>>
>> bug?
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>

Reply via email to