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

devtools::install_github("OHDSI/CommonDataModel") #23

Open
RaghaSrinivasan opened this issue Mar 6, 2024 · 0 comments
Open

devtools::install_github("OHDSI/CommonDataModel") #23

RaghaSrinivasan opened this issue Mar 6, 2024 · 0 comments

Comments

@RaghaSrinivasan
Copy link

RaghaSrinivasan commented Mar 6, 2024

https://github.com/OHDSI/CommonDataModel/?tab=readme-ov-file#first-install-the-package-from-github

error

Create DDL, Foreign Keys, Primary Keys, and Indexes from R
First, install the package from GitHub
install.packages("devtools")
devtools::install_github("OHDSI/CommonDataModel")

https://github.com/OHDSI/CommonDataModel/?tab=readme-ov-file#first-install-the-package-from-github

devtools::install_github("OHDSI/CommonDataModel")
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo OHDSI/CommonDataModel@HEAD
-- R CMD build ------------------------------------------------------------------------------
v checking for file 'C:\Users\rsrini86\AppData\Local\Temp\2\Rtmp0QaJGi\remotes38840f1542\OHDSI-CommonDataModel-43f6573/DESCRIPTION' (392ms)

  • preparing 'CommonDataModel': (1.2s)
    v checking DESCRIPTION meta-information ...
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories
    Omitted 'LazyData' from DESCRIPTION
  • building 'CommonDataModel_0.2.0.tar.gz'

Installing package into ‘C:/Users/rsrini86/Documents/renv/library/R-4.2/x86_64-w64-mingw32’
(as ‘lib’ is unspecified)
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
Execution halted
Warning messages:
1: In untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers
2: In untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers
3: In i.p(...) :
installation of package ‘C:/Users/rsrini86/AppData/Local/Temp/2/Rtmp0QaJGi/file3887a6338f0/CommonDataModel_0.2.0.tar.gz’ had non-zero exit status

SOLUTION SUGGESTION - https://stackoverflow.com/questions/15170399/change-r-default-library-path-using-libpaths-in-rprofile-site-fails-to-work

https://www.accelebrate.com/library/how-to-articles/r-rstudio-library

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

1 participant