facebookexperimental / Robyn

Robyn is an experimental, AI/ML-powered and open sourced Marketing Mix Modeling (MMM) package from Meta Marketing Science. Our mission is to democratise modeling knowledge, inspire the industry through innovation, reduce human bias in the modeling process & build a strong open source marketing science community.
https://facebookexperimental.github.io/Robyn/
MIT License
1.07k stars 323 forks source link

Cannot execute remotes::install_github("facebookexperimental/Robyn/app") #963

Open jalo90 opened 2 months ago

jalo90 commented 2 months ago

Project Robyn

Describe issue

Cannot execute remotes::install_github("facebookexperimental/Robyn/app")

Provide reproducible example

remotes::install_github("facebookexperimental/Robyn/app") Downloading GitHub repo facebookexperimental/Robyn@HEAD Error in utils::download.file(url, path, method = method, quiet = quiet, : cannot open URL ' https://api.github.com/repos/facebookexperimental/Robyn/tarball/HEAD'

Environment & Robyn version

Robyn ‘3.9.0’ "R version 4.2.1 (2022-06-23 ucrt)"

shuvayan commented 2 months ago

Can you please try with the below code and try. I am not being able to reproduce the error :

> library(remotes)
> remotes::install_github("facebookexperimental/Robyn/R")
Downloading GitHub repo facebookexperimental/Robyn@HEAD
── R CMD build ────────────────────────────────────────────────────────────────────────────────────────────────────
✔  checking for file ‘/private/var/folders/__/qxp2lqfx6w9_fbpbybfth3b40000gn/T/RtmpR6QiSA/remotesdc324b72a86d/facebookexperimental-Robyn-7ca8d28/R/DESCRIPTION’ ...
─  preparing ‘Robyn’:
✔  checking DESCRIPTION meta-information
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘Robyn_3.10.6.9004.tar.gz’

Installing package into ‘/Users/SD/Library/R/arm64/4.4/library’
(as ‘lib’ is unspecified)
* installing *source* package ‘Robyn’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (Robyn)
jalo90 commented 1 month ago

We tried what you have suggested but it didn't push through:

library(remotes) Warning message: package ‘remotes’ was built under R version 4.2.3 remotes::install_github("facebookexperimental/Robyn/R") Error: Failed to install 'Robyn' from GitHub: Timeout was reached: [api.github.com] SSL/TLS connection timeout remotes::install_github("facebookexperimental/Robyn/R") Downloading GitHub repo facebookexperimental/Robyn@HEAD Error in utils::download.file(url, path, method = method, quiet = quiet, : cannot open URL ' https://api.github.com/repos/facebookexperimental/Robyn/tarball/HEAD'

gufengzhou commented 1 month ago

It's not a Robyn problem. Are you on a windows machine? if yes, can you please check this thread? https://github.com/forestgeo/learn/issues/102

jalo90 commented 1 month ago

Thank you! I will try to do as suggested in the link you gave. I'll let you know if it works.

On Fri, May 3, 2024 at 1:49 PM gufengzhou @.***> wrote:

It's not a Robyn problem. Are you on a windows machine? if yes, can you please check this thread? forestgeo/learn#102 https://github.com/forestgeo/learn/issues/102

— Reply to this email directly, view it on GitHub https://github.com/facebookexperimental/Robyn/issues/963#issuecomment-2092348974, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6UNEPSEB4Z5PNCWTYUEOADZAMQPRAVCNFSM6AAAAABG7J3EOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSGM2DQOJXGQ . You are receiving this because you authored the thread.Message ID: @.***>

jalo90 commented 37 minutes ago

Hi!

We've tried running under devtools instead of remotes, it still cannot open the URL [https://api.github.com/repos/facebookexperimental/Robyn/tarball/HEAD']

I've tried to copy the above URL and it downloads the file, but when I only type in https://api.github.com/repos/facebookexperimental/Robyn in the browser image

Should this matter? Can we use/ call up the downloaded file instead? image

Please advise.

Thanks, Johanne