@@ -97,8 +97,8 @@ the Connections pane, so the new table automatically shows up.
9797con <- connection_open(SQLite(), " local.sqlite" )
9898
9999copy_to(con , mtcars , temporary = FALSE , overwrite = TRUE )
100- # > # Source: table<mtcars> [?? x 11]
101- # > # Database: sqlite 3.41.2 [/Users/edgar/r_projects /connections/local.sqlite]
100+ # > # Source: table<` mtcars` > [?? x 11]
101+ # > # Database: sqlite 3.50.4 [/Users/edgar/Projects /connections/local.sqlite]
102102# > mpg cyl disp hp drat wt qsec vs am gear carb
103103# > <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
104104# > 1 21 6 160 110 3.9 2.62 16.5 0 1 4 4
@@ -129,8 +129,8 @@ database integration.
129129db_mtcars %> %
130130 group_by(am ) %> %
131131 summarise(avg_mpg = mean(mpg , na.rm = TRUE ))
132- # > # Source: SQL [2 x 2]
133- # > # Database: sqlite 3.41.2 [/Users/edgar/r_projects /connections/local.sqlite]
132+ # > # Source: SQL [?? x 2]
133+ # > # Database: sqlite 3.50.4 [/Users/edgar/Projects /connections/local.sqlite]
134134# > am avg_mpg
135135# > <dbl> <dbl>
136136# > 1 0 17.1
@@ -158,7 +158,7 @@ library(pins)
158158board <- board_folder(" ~/pins" )
159159
160160connection_pin_write(board , con , name = " my_conn" )
161- # > Creating new version '20231218T234042Z-8d9ce '
161+ # > Creating new version '20250910T182252Z-b2dcd '
162162# > Writing to pin 'my_conn'
163163```
164164
@@ -190,8 +190,8 @@ db_mtcars <- tbl(con1, "mtcars") %>%
190190 summarise(avg_mpg = mean(mpg , na.rm = TRUE ))
191191
192192db_mtcars
193- # > # Source: SQL [2 x 2]
194- # > # Database: sqlite 3.41.2 [/Users/edgar/r_projects /connections/local.sqlite]
193+ # > # Source: SQL [?? x 2]
194+ # > # Database: sqlite 3.50.4 [/Users/edgar/Projects /connections/local.sqlite]
195195# > am avg_mpg
196196# > <dbl> <dbl>
197197# > 1 0 17.1
@@ -213,7 +213,7 @@ the top results to the R Console. The `pin` records two things:
213213
214214``` r
215215connection_pin_write(board , db_mtcars , name = " avg_mpg" )
216- # > Creating new version '20231218T234042Z-ae23e '
216+ # > Creating new version '20250910T182252Z-20f35 '
217217# > Writing to pin 'avg_mpg'
218218```
219219
@@ -226,8 +226,8 @@ processed at the time `connection_pin_read()` runs.
226226
227227``` r
228228connection_pin_read(board , " avg_mpg" )
229- # > # Source: SQL [2 x 2]
230- # > # Database: sqlite 3.41.2 [/Users/edgar/r_projects /connections/local.sqlite]
229+ # > # Source: SQL [?? x 2]
230+ # > # Database: sqlite 3.50.4 [/Users/edgar/Projects /connections/local.sqlite]
231231# > am avg_mpg
232232# > <dbl> <dbl>
233233# > 1 0 17.1
@@ -253,14 +253,14 @@ tbl_summary <- con %>%
253253
254254
255255connection_pin_write(board , tbl_summary , name = " cyl_mpg" )
256- # > Creating new version '20231218T234042Z-835f4 '
256+ # > Creating new version '20250910T182252Z-f8594 '
257257# > Writing to pin 'cyl_mpg'
258258
259259connection_close(con )
260260
261261connection_pin_read(board , " cyl_mpg" )
262- # > # Source: SQL [3 x 2]
263- # > # Database: sqlite 3.41.2 [/Users/edgar/r_projects /connections/local.sqlite]
262+ # > # Source: SQL [?? x 2]
263+ # > # Database: sqlite 3.50.4 [/Users/edgar/Projects /connections/local.sqlite]
264264# > cyl avg_mpg
265265# > <dbl> <dbl>
266266# > 1 4 26.7
0 commit comments