readwritesqlite icon indicating copy to clipboard operation
readwritesqlite copied to clipboard

readwritesqlite not available for R version 4.4.2?

Open NewGraphEnvironment opened this issue 10 months ago • 3 comments

Seems odd - so incredibly sorry if this is actually just a system specific error.

Seems to install fine with pak from github....

was originally 4.4.0

> pak::pkg_install('readwritesqlite')
✔ Updating metadata database ... done                                     
                                                                           
→ Will update 1 package.
→ Will download 1 package with unknown size.
+ readwritesqlite 0.2.0.9006 → 0.2.0  ⬇
? Do you want to continue (Y/n) Y
ℹ Getting 1 pkg with unknown size
✖ Failed to download readwritesqlite 0.2.0 (aarch64-apple-darwin20)           
✖ Failed to download 1 package.                                               
Error: 
! error in pak subprocess
Caused by error: 
! Failed to download readwritesqlite from `https://cran.rstudio.com//bin/macosx/big-sur-arm64/contrib/4.4/readwritesqlite_0.2.0.tgz` and `https://mac.r-project.org/bin/macosx/big-sur-arm64/contrib/4.4/readwritesqlite_0.2.0.tgz`.
Type .Last.error to see the more details.
> install.packages("readwritesqlite")
Installing package into ‘/Users/airvine/Library/R/arm64/4.4/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
  package ‘readwritesqlite’ 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
``

NewGraphEnvironment avatar Feb 21 '25 03:02 NewGraphEnvironment

@NewGraphEnvironment

Thanks for reporting!

pak::pkg_install('readwritesqlite') fails on my machine too but with a different error

> pak::pkg_install('readwritesqlite')
✔ Updated metadata database: 7.35 MB in 11 files.                         
✔ Updating metadata database ... done                                     
                                                                           
→ Will update 1 package.
→ Will download 1 CRAN package (167.65 kB).
+ readwritesqlite 0.2.0.9006 → 0.2.0.9006  ⬇ (167.65 kB)

! readwritesqlite is loaded in the current R session, you probably need to restart R after the installation.

? Do you want to continue (Y/n) Y
ℹ Getting 1 pkg (167.65 kB)
✔ Got readwritesqlite 0.2.0.9006 (aarch64-apple-darwin20) (167.65 kB)           
✔ Downloaded 1 package (167.65 kB) in 954ms                                     
Error:                                                                       
! ! error in pak subprocess
Caused by error in `filelock::lock(lockfile)`:
! Cannot open lock file: Permission denied

What happens with

install.packages("readwritesqlite")

joethorley avatar Feb 21 '25 14:02 joethorley

Should have separated my initial issue text above to improve clarity.

was the same error with R 4.4.0 so updated to R 4.4.2 with same response

> install.packages("readwritesqlite")
Installing package into ‘/Users/airvine/Library/R/arm64/4.4/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
  package ‘readwritesqlite’ 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

pak::pkg_install("poissonconsulting/readwritesqlite") installed and seems to work fine so really just an fyi.

packageVersion("readwritesqlite") [1] ‘0.2.0.9006’

Absolute gem of a package that we use daily. Thank you so much!!!

NewGraphEnvironment avatar Feb 21 '25 15:02 NewGraphEnvironment

@NewGraphEnvironment - thanks for the heads up! I'm glad you find it helpful.

joethorley avatar Feb 22 '25 01:02 joethorley

Looks like we requested that CRAN archive this pkg (although we will of course continue to maintain). Given that, can I close this @joethorley?

evanamiesgalonski avatar Jun 10 '25 22:06 evanamiesgalonski

I think so!

joethorley avatar Jun 11 '25 07:06 joethorley