Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

petalNet should be installable with devtools::install_github("julipetal/petalNet") #1

Open
holgerbrandl opened this issue Aug 18, 2016 · 5 comments

Comments

@holgerbrandl
Copy link

To allow for this, the actual package sources from https://github.com/julipetal/petalNet/tree/master/src/petal would need to sit in the root of the directory.

Also some installation hints + reference to the paper in the README.md would be nice.

@ghost
Copy link

ghost commented Apr 12, 2017

Hi Holger,
I completely agree. How did you end up installing it?
As indicated in your Header it didn't work for me either.
Thanks and best
Fabian

@julipetal
Copy link
Owner

Hi Fabian,
After you download the gz file, try the following
install.packages(path_to_gzfile, repos = NULL, type="source")

@ghost
Copy link

ghost commented Apr 24, 2017

Thanks for the hint!
Just for other users:
After downloading from https://github.com/julipetal/petalNet via the "Clone Or Download" button
I extracted the petal folder from within the src folder. This I copied to a separate folder
and used then the suggested command for the installation in R:
install.packages("...\petalNET\petal", repos = NULL, type="source")
It was not zipped.

@julipetal
Copy link
Owner

Fabian,
So sorry for this very late reply.
You need to specify the tar.gz file
install.packages("...\petal_0.2.4.tar.gz", repos = NULL, type="source"
I hope this helps.

@IvanTsers
Copy link

IvanTsers commented Jul 16, 2020

I have found an appropriate way to install petal via devtools. One should specify the way to the source folder:

devtools::install_github("julipetal/petalNet/src/petal")

Worked just fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants