Comments (2)
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.
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)
- archive() listing files and folders from online archive takes as much time as for downloading it
- archive: avoid `SETLENGTH()` etc. HOT 1
- Release archive 1.1.8 HOT 1
- Release archive 1.1.8
- `archive_extract()` not working for files compress using `data.table::fwrite()` HOT 1
- Can't roundtrip a filepath with non-ascii characters in a non-UTF-8 locale HOT 1
- Can I change session timeout time length? HOT 1
- Possible to read from a multi-file archive?
- Blank lib_path in R/zzz.R in Mac OS X conda environment HOT 1
- archive_extract fails on 7-zip archives > 2 GB HOT 2
- archive_read.cpp does not include required defines for Big-endian platforms HOT 3
- archive_extract keeps working after extracting the desired files from remote .zip HOT 4
- Unsupported ZIP compression method (deflation-64-bit)
- Suggest adding new `archive_extract_filter` which uses `fs::path_filter` HOT 3
- Error with .7z file "The file content is encrypted, but currently not supported"
- Release archive 1.1.6 HOT 2
- archive update from CRAN HOT 1
- Release archive 1.1.7
- archive_write_files fails on compressing geopackage files into 7zip HOT 5
- archive_write_files stores files with CRLF-LF coverted on Windows, resulting in corrupted archive HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archive.