Skip to content

packrat fails #1

@floswald

Description

@floswald

sorry :-(

➜  git git clone git@github.com:tlamadon/blm-replicate.git
Cloning into 'blm-replicate'...
remote: Enumerating objects: 122, done.
remote: Counting objects: 100% (122/122), done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 521 (delta 72), reused 82 (delta 38), pack-reused 399
Receiving objects: 100% (521/521), 1.59 MiB | 3.45 MiB/s, done.
Resolving deltas: 100% (311/311), done.
➜  git cd blm-replicate 

➜  blm-replicate git:(master) R

R version 3.5.1 (2018-07-02) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin15.6.0 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

Packrat is not installed in the local library -- attempting to bootstrap an installation...
> No source tarball of packrat available locally
> Using user-library packrat (0.4.9.3) to bootstrap this project
Packrat mode on. Using library in directory:
- "~/git/blm-replicate/packrat/lib"
> install.packages("packrat")
Installing package into ‘/Users/florian.oswald/git/blm-replicate/packrat/lib/x86_64-apple-darwin15.6.0/3.5.1’
(as ‘lib’ is unspecified)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  438k  100  438k    0     0   177k      0  0:00:02  0:00:02 --:--:--  177k

The downloaded binary packages are in
	/var/folders/d2/hbd_ncyd6rg7jj25j7d4ht3h0000gp/T//RtmpnnXRbW/downloaded_packages
> source("packrat/init.R") 
Error in !packrat::opts$symlink.system.packages() : invalid argument type
> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS  10.14.3

Matrix products: default
BLAS: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib

locale:
[1] C/UTF-8/C/C/C/C

attached base packages:
[1] stats     graphics  grDevices datasets  utils     methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.5.1 tools_3.5.1    packrat_0.5.0 
> 

I get the same if I erase the repo, re-clone, first install.packages("packrat"), then starting R inside your package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions