rstudio / rstudio/packrat

Error in readRDS(pfile) : unknown input format AND MORE

Open
#343 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
409
Forks
89
PR merge metrics
No merged PRs in 30d

Description

When starting Rstudio, I am getting:

Type 'q()' to quit R.
Error in readRDS(file) : unknown input format
Error in readRDS(file) : unknown input format
Error in readRDS(pfile) : unknown input format

Then,

> packrat::status()
Error in readRDS(pfile) : unknown input format
In addition: Warning messages:
1: In FUN(X[[i]], ...) :
  No DESCRIPTION file for installed package 'file11a432497fd7'
2: In FUN(X[[i]], ...) :
  No DESCRIPTION file for installed package 'file11a469e63773'
3: In FUN(X[[i]], ...) :
  No DESCRIPTION file for installed package 'file161041c23441'
4: In FUN(X[[i]], ...) :
  No DESCRIPTION file for installed package 'file161070ae55b4'
5: In FUN(X[[i]], ...) :
  No DESCRIPTION file for installed package 'file1610d3f36be'
> packrat::clean()
Error in readRDS(pfile) : unknown input format
> packrat::status()
Error in readRDS(pfile) : unknown input format
In addition: Warning messages:
1: In FUN(X[[i]], ...) :
  No DESCRIPTION file for installed package 'file11a432497fd7'
2: In FUN(X[[i]], ...) :
  No DESCRIPTION file for installed package 'file11a469e63773'
3: In FUN(X[[i]], ...) :
  No DESCRIPTION file for installed package 'file161041c23441'
4: In FUN(X[[i]], ...) :
  No DESCRIPTION file for installed package 'file161070ae55b4'
5: In FUN(X[[i]], ...) :
  No DESCRIPTION file for installed package 'file1610d3f36be'

This some of this for good measure,

> packrat::clean()
Error in readRDS(pfile) : unknown input format
Calls: <Anonymous> ... system.file -> find.package -> lapply -> FUN -> readRDS
> remove.packages("data.table")
Removing package from ‘C:/Users/rbruner/Dropbox/HIGHSCOPE/packrat/lib/x86_64-w64-mingw32/3.3.2’
(as ‘lib’ is unspecified)
Error in readRDS(pfile) : unknown input format
Calls: <Anonymous> -> .rs.listInstalledPackages
Error in remove.packages : Error in readRDS(pfile) : unknown input format
Calls: <Anonymous> -> .rs.listInstalledPackages

Basically, the whole packrat project seems to have gone AWAL. I am not sure what is going on, or how to recover it. All I know is that I came back after the weekend to find this.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Use the reported RStudio startup and packrat::status(), packrat::clean(), and remove.packages() calls as reproduction steps. Investigate the unknown input format error alongside the missing DESCRIPTION warnings; done means the cause is identified and the reported packrat operations complete without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.