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

installing package #23

Open
lellean opened this issue Oct 25, 2019 · 1 comment
Open

installing package #23

lellean opened this issue Oct 25, 2019 · 1 comment

Comments

@lellean
Copy link

lellean commented Oct 25, 2019

Hello,
Thanks for the great package. I recently updated R and Rstudio and tried to install the package with:

install_github("sachsmc/rclinicaltrials")

and got the following error:
Error: Failed to install 'unknown package' from GitHub:
HTTP error 401.
Bad credentials

I then cloned the repo and tried to use devtools::build and got the following error:

devtools::build("/Users/ljebailey/Documents/IDS/Analyses/IBD_Cancer/rclinicaltrials")
✔ checking for file ‘/Users/ljebailey/Documents/IDS/Analyses/IBD_Cancer/rclinicaltrials/DESCRIPTION’ ...
─ preparing ‘rclinicaltrials’:
✔ checking DESCRIPTION meta-information ...
─ installing the package to build vignettes
E creating vignettes (13.8s)
--- re-building ‘basics.Rmd’ using rmarkdown
Quitting from lines 34-40 (basics.Rmd)
Error: processing vignette 'basics.Rmd' failed with diagnostics:
arguments imply differing number of rows: 1, 0
--- failed re-building ‘basics.Rmd’

SUMMARY: processing the following file failed:
‘basics.Rmd’

Error: Vignette re-building failed.
Execution halted
Error in (function (command = NULL, args = character(), error_on_status = TRUE, :
System command error

When I source the functions I am able to continue with reproducing my work as before ( for the most part) but would like to be able to install the package properly.

I am using a Mac , R version 3.6.1 , git version 2.17.2 (Apple Git-113), Rstudio Version 1.2.1335

Any tips? Thanks!

@kamsomm
Copy link

kamsomm commented Nov 6, 2019

You can try the code below

install.packages("devtools")
library(devtools)
install_github("titaniumtroop/rclinicaltrials")
library(rclinicaltrials)

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

2 participants