Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Releases: jennybc/googlesheets

googlesheets 0.3.0

29 Jun 15:33
Compare
Choose a tag to compare

The motivation for this release is to avoid a warning on R-devel that occurs if a package is referenced in the tests (in this case, tibble) that is not a direct dependency. We now use an equivalent function from the imported package dplyr.

googlesheets v0.2.2

07 May 19:31
Compare
Choose a tag to compare

The motivation for this release is for compatibility with the about-to-be released purrr 0.2.2.1.

  • Update ggplot2 usage to clear warnings about use of deprecated arguments.
  • Remove all uses of purrr::dmap() and friends, which have been removed from purrr.
  • gs_upload() now has an overwrite argument. (#285 @omgjens)
  • Add vignette to show interactive authentication in a non-default browser.

googlesheets v0.2.1

26 Jun 15:30
Compare
Choose a tag to compare
  • XML is no longer a dependency.
  • Automatic retries for Internal Server Error (HTTP 500). On or around 2016-03-11, there was a huge increase in the frequency of this error on Google Drive API calls.
    • Remedy: all HTTP GET calls in the package are automatically retried up to 5 times, with exponential backoff, for statuses 500 and higher.
  • Functions prefixed with gd_ refer to Google Drive and might eventually migrate into a separate Google Drive package. Generally there is a synonym with the gs_ prefix.
  • gd_token() is a new function to expose information about the current Google token. Some of this was migrated out of gd_user() and into gd_token(). New information includes scopes and cache path.
  • gd_user() now returns an S3 object of class drive_user, but it's really just a list with a nice print method. It exposes information about the current Google user. New information includes user's Drive permissionId and rootFolderId.

googlesheets v0.2.0

19 Mar 20:28
Compare
Choose a tag to compare

googlesheets 0.2.0

  • Added a NEWS.md file to track changes to the package.
  • httr v1.1.0: to become compatible with this version, we now require it.
  • Dependency changes:
    • plyr is no longer required (#204)
    • purrr is a new dependency
  • gs_browse() is a new function to visit a Google Sheet in the browser.
  • gs_rename() is a new function to rename an existing Sheet (#145).
  • gs_add_row() now works for two-dimensional input, by calling itself once per row of input (#188, @jimhester).
  • Updated the scope for the Drive API. It is possible that new/updated Drive functions will require a token obtained with the new scope. This could mean that tokens stored and loaded from file in a non-interactive environment will need to be remade.
  • gs_read_listfeed() now supports parameters to manipulate data in the API call itself: reverse inverts row order, orderby selects a column to sort on, sq accepts a structured query to filter rows. (#17)
  • gs_read_listfeed() doesn't return API-mangled column names anymore. They should now be the same as those from the other read functions and what you see in the browser.
  • readr-style data ingest: We explicitly try to match the interface of readr::read_csv(). The read functions gs_read(), gs_read_csv(), and gs_read_listfeed() and the reshaper gs_reshape_cellfeed() should all return the same data frame when operating on the same worksheet. And this should match what readr::read_csv() would return on a .csv file exported from that worksheet. The type conversion arguments for gs_simplify_cellfeed() have also changed accordingly.
    • The header argument is no longer accepted. Use col_names.
    • If you're not happy with the defaults, take control via the ... arguments of gs_read* or reshape/simplify functions. Specify column_types, col_names, locale, na, trim_ws, etc. here.
    • See the sections "Controlling data ingest, theory and practice" in the the basic usage vignette for details and examples.
    • readr exception #1: variables that consist entirely of missing values will be NA of the logical type, not NA_character_.
    • readr exception #2: googlesheets will never return a data frame with NA as a variable name. Instead, it will create a dummy variable name, like X5.
    • readr exception #3: All read/reshape functions accept check.names, in the spirit of utils::read.table(), which defaults to FALSE. If TRUE, variable names will be run through make.names(..., unique = TRUE). (#208)
  • gs_read_cellfeed() now returns all possible definitions of cell contents:
    • value: The variable previously known as cell_text. What you see in the browser and what Sheets API returns by default.
    • input_value: What you would have typed into the cell. Will give unevaluated formulas. (#18, #19, #152)
    • numeric_value: An actual number, if such exists, unmangled by rounding or other numeric formatting. (#152, #178)
  • New argument literal = FALSE available in reading/reshaping functions that call the cell feed. Tries to be clever about using different definitions of cell contents.
  • gs_deauth() is a newly exported function that allows you to suspend the current token and, optionally, disable the .httr-oauth token cache file by renaming it to .httr-oauth-SUSPENDED.

Here is the actual .tar.gz that was submitted to CRAN (prepared in a CRAN submission branch, due to vignette issues that need to be finessed.)

googlesheets_0.2.0.tar.gz

Turned on integration with Zenodo

30 Jul 00:47
Compare
Choose a tag to compare

Zenodo seems to require a new release to start working with a GitHub repo. That is the only reason for this "release".

First CRAN release

06 Jul 07:20
Compare
Choose a tag to compare
machinations necessary for success w/ CRAN submission [skip ci]

suppress execution of certain vignette chunks on CRAN
  * to still build the full vignette locally, make sure envvar NOT_CRAN is TRUE
  * I forgot to do this and submitted a largely unexecuted vignette :(
  * I figure I'll need to update for other reasons before too long and can re-submit vignette at same time

 make sure the *unencrypted* token is not sent to CRAN
  * list the token in tests/testthat in .Rbuildignore
  * this will cause tests to fail on travis (hence we are skipping ci)

v0.0.0.9003

21 Jun 05:42
Compare
Choose a tag to compare
v0.0.0.9003 Pre-release
Pre-release

Requires v1.0.0 or later of cellranger

Refactor data read/write; complete transition to gs_* naming scheme

01 Jun 07:37
Compare
Choose a tag to compare

Completes the major user-facing changes planned at this point.

Refactor registration and embrace gs_* naming scheme

08 May 22:47
Compare
Choose a tag to compare
Merge pull request #121 from jennybc/refactor-sheet-listing-registration

Refactor sheet listing and registration; rename almost everything

v0.0.0.9000: better initial version number

08 May 19:38
Compare
Choose a tag to compare
will soon merge a branch with lots of UI-breaking changes and want to be able to tag the before