Skip to content

Commit

Permalink
small fix in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
RossanaTat committed Nov 4, 2024
1 parent 18515b8 commit 7dd0d83
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 84 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ With {syncdr}, users can:
You can install the development version of syncdr from
[GitHub](https://github.com/) with:

```{r}
```{r, eval=FALSE}
# install.packages("devtools")
devtools::install_github("RossanaTat/syncdr")
```
Expand Down
94 changes: 11 additions & 83 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,78 +32,6 @@ You can install the development version of syncdr from
``` r
# install.packages("devtools")
devtools::install_github("RossanaTat/syncdr")
#> Using github PAT from envvar GITHUB_PAT
#> Downloading GitHub repo RossanaTat/syncdr@HEAD
#> xfun (0.47 -> 0.49 ) [CRAN]
#> rlang (1.1.3 -> 1.1.4 ) [CRAN]
#> glue (1.7.0 -> 1.8.0 ) [CRAN]
#> cli (3.6.2 -> 3.6.3 ) [CRAN]
#> Rcpp (1.0.13 -> 1.0.13-1 ) [CRAN]
#> fastmap (1.1.1 -> 1.2.0 ) [CRAN]
#> digest (0.6.34 -> 0.6.37 ) [CRAN]
#> promises (1.2.1 -> 1.3.0 ) [CRAN]
#> fs (1.6.3 -> 1.6.5 ) [CRAN]
#> cachem (1.0.8 -> 1.1.0 ) [CRAN]
#> tinytex (0.52 -> 0.54 ) [CRAN]
#> evaluate (0.24.0 -> 1.0.1 ) [CRAN]
#> rmarkdown (2.28 -> 2.29 ) [CRAN]
#> collapse (15f2d3be7... -> 6f2515d4e...) [GitHub]
#> httpuv (1.6.14 -> 1.6.15 ) [CRAN]
#> rstudioapi (0.15.0 -> 0.17.1 ) [CRAN]
#> secretbase (1.0.1 -> 1.0.3 ) [CRAN]
#> Installing 16 packages: xfun, rlang, glue, cli, Rcpp, fastmap, digest, promises, fs, cachem, tinytex, evaluate, rmarkdown, httpuv, rstudioapi, secretbase
#> Installing packages into 'C:/Users/wb621604/AppData/Local/Temp/RtmpUff3hS/temp_libpath7df0176d6287'
#> (as 'lib' is unspecified)
#>
#> There is a binary version available but the source version is later:
#> binary source needs_compilation
#> rmarkdown 2.28 2.29 FALSE
#>
#> package 'xfun' successfully unpacked and MD5 sums checked
#> package 'rlang' successfully unpacked and MD5 sums checked
#> package 'glue' successfully unpacked and MD5 sums checked
#> package 'cli' successfully unpacked and MD5 sums checked
#> package 'Rcpp' successfully unpacked and MD5 sums checked
#> package 'fastmap' successfully unpacked and MD5 sums checked
#> package 'digest' successfully unpacked and MD5 sums checked
#> package 'promises' successfully unpacked and MD5 sums checked
#> package 'fs' successfully unpacked and MD5 sums checked
#> package 'cachem' successfully unpacked and MD5 sums checked
#> package 'tinytex' successfully unpacked and MD5 sums checked
#> package 'evaluate' successfully unpacked and MD5 sums checked
#> package 'httpuv' successfully unpacked and MD5 sums checked
#> package 'rstudioapi' successfully unpacked and MD5 sums checked
#> package 'secretbase' successfully unpacked and MD5 sums checked
#>
#> The downloaded binary packages are in
#> C:\Users\wb621604\AppData\Local\Temp\Rtmp4mcE3K\downloaded_packages
#> installing the source package 'rmarkdown'
#> Downloading GitHub repo SebKrantz/collapse@HEAD
#>
#> ── R CMD build ─────────────────────────────────────────────────────────────────
#> checking for file 'C:\Users\wb621604\AppData\Local\Temp\Rtmp4mcE3K\remotes796857ac340e\SebKrantz-collapse-6f2515d/DESCRIPTION' ... ✔ checking for file 'C:\Users\wb621604\AppData\Local\Temp\Rtmp4mcE3K\remotes796857ac340e\SebKrantz-collapse-6f2515d/DESCRIPTION' (859ms)
#> ─ preparing 'collapse': (11.7s)
#> checking DESCRIPTION meta-information ... checking DESCRIPTION meta-information ... ✔ checking DESCRIPTION meta-information
#> ─ cleaning src
#> ─ checking for LF line-endings in source and make files and shell scripts (1.1s)
#> ─ checking for empty or unneeded directories (335ms)
#> ─ building 'collapse_2.0.17.tar.gz'
#>
#>
#> Installing package into 'C:/Users/wb621604/AppData/Local/Temp/RtmpUff3hS/temp_libpath7df0176d6287'
#> (as 'lib' is unspecified)
#> ── R CMD build ─────────────────────────────────────────────────────────────────
#> checking for file 'C:\Users\wb621604\AppData\Local\Temp\Rtmp4mcE3K\remotes79681bb55ce6\RossanaTat-syncdr-653222f/DESCRIPTION' ... checking for file 'C:\Users\wb621604\AppData\Local\Temp\Rtmp4mcE3K\remotes79681bb55ce6\RossanaTat-syncdr-653222f/DESCRIPTION' ... ✔ checking for file 'C:\Users\wb621604\AppData\Local\Temp\Rtmp4mcE3K\remotes79681bb55ce6\RossanaTat-syncdr-653222f/DESCRIPTION' (769ms)
#> ─ preparing 'syncdr': (11.2s)
#> checking DESCRIPTION meta-information ... checking DESCRIPTION meta-information ... ✔ checking DESCRIPTION meta-information
#> ─ checking for LF line-endings in source and make files and shell scripts (705ms)
#> ─ checking for empty or unneeded directories
#> Omitted 'LazyData' from DESCRIPTION
#> ─ building 'syncdr_0.0.2.9001.tar.gz'
#>
#>
#> Installing package into 'C:/Users/wb621604/AppData/Local/Temp/RtmpUff3hS/temp_libpath7df0176d6287'
#> (as 'lib' is unspecified)
```

## Usage example
Expand All @@ -125,7 +53,7 @@ right <- .syncdrenv$right
display_dir_tree(path_left = left,
path_right = right)
#> (←)Left directory structure:
#> C:/Users/wb621604/AppData/Local/Temp/Rtmp4mcE3K/left
#> C:/Users/wb621604/AppData/Local/Temp/Rtmpeg8Y3y/left
#> ├── A
#> │ ├── A1.Rds
#> │ ├── A2.Rds
Expand All @@ -143,7 +71,7 @@ display_dir_tree(path_left = left,
#> │ └── D2.Rds
#> └── E
#> (→)Right directory structure:
#> C:/Users/wb621604/AppData/Local/Temp/Rtmp4mcE3K/right
#> C:/Users/wb621604/AppData/Local/Temp/Rtmpeg8Y3y/right
#> ├── A
#> ├── B
#> │ ├── B1.Rds
Expand All @@ -167,21 +95,21 @@ compare_directories(left_path = left,
right_path = right)
#>
#> ── Synchronization Summary ─────────────────────────────────────────────────────
#> • Left Directory: 'C:/Users/wb621604/AppData/Local/Temp/Rtmp4mcE3K/left'
#> • Right Directory: 'C:/Users/wb621604/AppData/Local/Temp/Rtmp4mcE3K/right'
#> • Left Directory: 'C:/Users/wb621604/AppData/Local/Temp/Rtmpeg8Y3y/left'
#> • Right Directory: 'C:/Users/wb621604/AppData/Local/Temp/Rtmpeg8Y3y/right'
#> • Total Common Files: 7
#> • Total Non-common Files: 9
#> • Compare files by: date
#>
#> ── Common files ────────────────────────────────────────────────────────────────
#> path modification_time_left modification_time_right modified
#> 1 /left/B/B1.Rds 2024-11-04 15:09:19 2024-11-04 15:09:20 right
#> 2 /left/B/B2.Rds 2024-11-04 15:09:22 2024-11-04 15:09:23 right
#> 3 /left/C/C1.Rds 2024-11-04 15:09:20 2024-11-04 15:09:20 same date
#> 4 /left/C/C2.Rds 2024-11-04 15:09:23 2024-11-04 15:09:24 right
#> 5 /left/C/C3.Rds 2024-11-04 15:09:25 2024-11-04 15:09:26 right
#> 6 /left/D/D1.Rds 2024-11-04 15:09:22 2024-11-04 15:09:21 left
#> 7 /left/D/D2.Rds 2024-11-04 15:09:25 2024-11-04 15:09:24 left
#> 1 /left/B/B1.Rds 2024-11-04 15:13:49 2024-11-04 15:13:50 right
#> 2 /left/B/B2.Rds 2024-11-04 15:13:52 2024-11-04 15:13:53 right
#> 3 /left/C/C1.Rds 2024-11-04 15:13:50 2024-11-04 15:13:50 same date
#> 4 /left/C/C2.Rds 2024-11-04 15:13:53 2024-11-04 15:13:54 right
#> 5 /left/C/C3.Rds 2024-11-04 15:13:55 2024-11-04 15:13:56 right
#> 6 /left/D/D1.Rds 2024-11-04 15:13:52 2024-11-04 15:13:51 left
#> 7 /left/D/D2.Rds 2024-11-04 15:13:55 2024-11-04 15:13:54 left
#>
#> ── Non-common files ────────────────────────────────────────────────────────────
#>
Expand Down

0 comments on commit 7dd0d83

Please sign in to comment.