> # > # r-version > # > > R.Version() $platform [1] "x86_64-w64-mingw32" $arch [1] "x86_64" $os [1] "mingw32" $crt [1] "ucrt" $system [1] "x86_64, mingw32" $status [1] "" $major [1] "4" $minor [1] "3.1" $year [1] "2023" $month [1] "06" $day [1] "16" $`svn rev` [1] "84548" $language [1] "R" $version.string [1] "R version 4.3.1 (2023-06-16 ucrt)" $nickname [1] "Beagle Scouts" > # > # installs > # > > remotes::install_github("OHDSI/DbDiagnostics") Downloading GitHub repo OHDSI/DbDiagnostics@HEAD These packages have more recent versions available. It is recommended to update all of them. Which would you like to update? 1: All 2: CRAN packages only 3: None 4: curl (5.0.0 -> 5.0.1) [CRAN] Enter one or more numbers, or an empty line to skip updates: 1 curl (5.0.0 -> 5.0.1) [CRAN] Skipping 1 packages not available: CohortGenerator Installing 2 packages: curl, CohortGenerator Installing packages into ‘C:/ProgramData/R/lib’ (as ‘lib’ is unspecified) trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/curl_5.0.1.zip' Content type 'application/zip' length 2654815 bytes (2.5 MB) downloaded 2.5 MB package ‘curl’ successfully unpacked and MD5 sums checked Warning: cannot remove prior installation of package ‘curl’ Warning: restored ‘curl’ The downloaded binary packages are in C:\Users\gresh\AppData\Local\Temp\Rtmp8GJjmn\downloaded_packages ── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔ checking for file 'C:\Users\gresh\AppData\Local\Temp\Rtmp8GJjmn\remotes14920b706ff7\OHDSI-DbDiagnostics-522ae94/DESCRIPTION' ... ─ preparing 'DbDiagnostics': ✔ checking DESCRIPTION meta-information ... ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building 'DbDiagnostics_1.3.1.tar.gz' Installing package into ‘C:/ProgramData/R/lib’ (as ‘lib’ is unspecified) ERROR: dependency 'CohortGenerator' is not available for package 'DbDiagnostics' * removing 'C:/ProgramData/R/lib/DbDiagnostics' Warning messages: 1: package ‘CohortGenerator’ is not available for this version of R A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages 2: In file.copy(savedcopy, lib, recursive = TRUE) : problem copying C:\ProgramData\R\lib\00LOCK\curl\libs\x64\curl.dll to C:\ProgramData\R\lib\curl\libs\x64\curl.dll: Permission denied 3: In i.p(...) : installation of package ‘C:/Users/gresh/AppData/Local/Temp/Rtmp8GJjmn/file149206ae668ef/DbDiagnostics_1.3.1.tar.gz’ had non-zero exit status > # > # libraries > # > > library(DbDiagnostics) Error in library(DbDiagnostics) : there is no package called ‘DbDiagnostics’