Skip to content

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

Description

@RaghaSrinivasan

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions