GithubHelp home page GithubHelp logo

Comments (2)

jimhester avatar jimhester commented on June 12, 2024

Unless I am misunderstanding your question this is what archive::archive() does

download.packages("fs", ".")
#>      [,1] [,2]               
#> [1,] "fs" "./fs_1.2.6.tar.gz"
archive::archive("fs_1.2.6.tar.gz")
#> # A tibble: 266 x 3
#>    path                               size date               
#>    <chr>                             <dbl> <dttm>             
#>  1 fs/                                   0 2018-08-23 15:34:26
#>  2 fs/inst/                              0 2018-08-23 13:48:36
#>  3 fs/inst/WORDLIST                    217 2018-08-23 13:48:36
#>  4 fs/inst/COPYRIGHTS                24718 2018-01-22 09:01:46
#>  5 fs/tests/                             0 2018-08-23 13:48:36
#>  6 fs/tests/testthat.R                  48 2018-01-22 09:01:46
#>  7 fs/tests/testthat/                    0 2018-08-23 15:34:26
#>  8 fs/tests/testthat/test-utils.R      175 2018-08-23 13:48:36
#>  9 fs/tests/testthat/test-fs_perms.R  3173 2018-01-17 08:07:53
#> 10 fs/tests/testthat/test-delete.R    2157 2018-08-23 13:48:36
#> # ... with 256 more rows

Created on 2018-11-06 by the reprex package (v0.2.1)

from archive.

noamross avatar noamross commented on June 12, 2024

Sorry, missed that. In browsing the docs I misinterpreted the function title "Construct a new archive", as creating the archive on disk, rather than creating the archive R object.

from archive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.