luca-scr / GA

An R package for optimization using genetic algorithms
http://luca-scr.github.io/GA/
91 stars 29 forks source link

Perhaps there is an error in the README file #6

Closed matteodefelice closed 7 years ago

matteodefelice commented 7 years ago

Installed the package with devtools...done. loaded the package with library(GA) as suggested in the README I have tried to show the vignette...

> vignette("GA")
Warning message:
vignette ‘GA’ not found 
luca-scr commented 7 years ago

It seems that by default the vignette is not built.

You could try

devtools::install_github("luca-scr/GA", build_vignettes = TRUE)

or install the CRAN version which surely has the vignette already build.

matteodefelice commented 7 years ago

Same again:

> devtools::install_github("luca-scr/GA", build_vignettes = T)
[...]
> vignette('GA')
Warning message:
vignette ‘GA’ not found 
luca-scr commented 7 years ago

Remove the package first

remove.packages("GA")

and then install from GitHub. It did work for me, so it should also for you.

LS

matteodefelice commented 7 years ago

Great! Thank you, now it works!