> install_github("mycompany/my-package", subdir="packagex") Downloading github repo prismfp/prismfp-package@master Error in download(dest, src, auth) : client error: (404) Not Found
If I try to authenticate using a password (using my personal GH account), it still fails:> install_github("mycompany/my-package", auth_user="myname", password="trustno1", subdir="packagex") Downloading github repo prismfp/prismfp-package@master Error in download(dest, src, auth) : client error: (404) Not FoundI added my personal GitHub account 'myname' to 'GitHub authentication' in the ShinyApps.io dashboard, and ticked 'Private Repository Access'. However I still saw the same message as above when trying to deploy.
I generated an authentication token for my personal account on GitHub, and used this to install instead of the password:> install_github("mycompany/my-package", subdir="packagex", auth_token="15efaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa414a") Downloading github repo mycompany/prismfp-package@master Installing packagex...
This seemed to work fine. I had the line library("packagex") in my code, and I hoped for the package to be automatically installed on deploy. However I got the error message:> shinyapps::deployApp('.') Preparing to deploy application...DONE Uploading application bundle...DONE Deploying application: 41756... Waiting for task: 32072061 building: Parsing manifest building: Building image: 179292 building: Building package: packagex ################################## Begin Log ################################## ################################### End Log ################################### Error: Unhandled Exception: Child Task 32072062 failed: Error building image: Error fetching packagex (0.23.0) source. Error accessing GitHub repository mycompany/my-package. HTTP 404: Not Found
I think that possibly shinyapps::deployApp() makes some assumption when installing packages that the first part of the repo identifier (here the organization name 'mycompany') is the same as the user name (here 'myname') and that the installation fails if this is not the case. Am I doing something else wrong or can this problem be fixed or worked around?
Thanks in advance for your help,
Jack Grahl
--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/58219b7b-1c5c-43fb-be2a-c00909e82f64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/3ef5d8c5-8dd7-4c7e-b538-21507072c5af%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/c5b931e0-07b1-4210-b95b-5ab173492886%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/CA%2Bk%3DytksLWXZfhTYf3%2B0kuDPhT-YqQZxH7JyeC_q_aop%3DKc1tQ%40mail.gmail.com.
Could you run the devtools::install_github() call again and capture the output, along with the output of appDependencies()?Also, can you please send me the output of devtools::session_info()?-Tareef