kornl / crossover

Crossover Designs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot install the development version

ywebbvar opened this issue · comments

Hi Kornelius!
I got the following error when attempting to install from github (install_github("kornl/Crossover")):

Downloading GitHub repo kornl/Crossover@master
from URL https://api.github.com/repos/kornl/Crossover/zipball/master
Error: Does not appear to be an R package (no DESCRIPTION)

The package looks very useful! Thank you for developing it.

  • Yenny

Dear Yenny,

like it says on the project page please use

install_github("Crossover", username="kornl", subdir="pkg/Crossover")

(There is more in this Github repository than just the R pkg in the subdirectory pkg, i.e. libraries to run the GUI from Eclipse without setting the path to the different package locations, further documentation (mostly for myself of special cases), further generated designs, helper scripts that have built some designs in the package, further tests for the search algorithm etc. - But everything you need, should be in the package.)

Thanks for your interest and let me know, if you have any further suggestions.

Best regards, Kornelius

Hi Kornerlius,

Thank you for the prompt response! I tried it like that because I got a
warning, and an error, when I tried it with the one in the project page:

install_github("Crossover", username="kornl", subdir="pkg/Crossover")
Downloading GitHub repo kornl/Crossover@master
from URL https://api.github.com/repos/kornl/Crossover/zipball/master
Error: Could not find build tools necessary to build Crossover
In addition: Warning message:
Username parameter is deprecated. Please use kornl/Crossover

Now that I see the error, it makes sense that I have problems with the
installation of the java components. What other tools do I need to build it?

Warm regards,

Yenny

On Fri, May 6, 2016 at 12:33 AM, Kornelius Rohmeyer <
notifications@github.com> wrote:

Dear Yenny,

like it says on the project page https://github.com/kornl/crossover
please use

install_github("Crossover", username="kornl", subdir="pkg/Crossover")

(There is more in this Github repository than just the R pkg in the
subdirectory pkg, i.e. libraries to run the GUI from Eclipse without
setting the path to the different package locations, further documentation
(mostly for myself of special cases), further generated designs, helper
scripts that have built some designs in the package, further tests for the
search algorithm etc. - But everything you need, should be in the package.)

Thanks for your interest and let me know, if you have any further
suggestions.

Best regards, Kornelius


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#2 (comment)

Hi Yenny,

first thanks for letting me know about the deprecated parameter in devtools. I'll change it in the description to install_github("kornl/Crossover", subdir="pkg/Crossover") so that it does not give a warning.

Regarding the error "Could not find build tools necessary to build…" this is more of a general R and devtools package question (when I google it, I find some stackoverflow topics regarding different problems under OS X). What is the output if you run R CMD INSTALL Crossover_0.1-15.tar.gz on the source package dowloaded from CRAN?

Thanks and best regards, Kornelius