RobinHankin / permutations

https://robinhankin.github.io/permutations/
5 stars 3 forks source link

weyl package dependency? #28

Closed RobinHankin closed 2 years ago

RobinHankin commented 2 years ago
> library(permutations)
> x <- rperm()
> y <- rperm()
> .[x,y]
Loading required package: weyl
Error in .requirePackage(package) : 
  unable to find required package ‘weyl’
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘weyl’
> 
RobinHankin commented 2 years ago

curiouser and curiouser:

rstudio % R --vanilla --quiet
> library(permutations,quietly=TRUE)

Attaching package: ‘permutations’

The following object is masked from ‘package:stats’:

    cycle

> class(`.`)
[1] "dot"
attr(,"package")
[1] "weyl"
> 
RobinHankin commented 2 years ago

curiouser and curiouser and curiouser:

permutations % find . -type f |xargs egrep weyl
permutations % 

. . . that is, until I realised that the problem was actually in file data/dot.rda.

RobinHankin commented 2 years ago

Problem certainly is in data/dot.rda:

data % R --vanilla

> getwd()
[1] "/Users/rhankin/rstudio/permutations/data"
> load("dot.rda")
> .
Loading required package: weyl
Error in .requirePackage(package) : 
  unable to find required package ‘weyl’
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘weyl’
>