Improvements
-
adds
vignette("design")
to sketch out the different design philosohies that appear in boxr functions. (#170) -
deprecates the
x
argument tobox_write()
in favor ofobject
. (#187) -
some return objects can be printed as tibble (vs. data-frame). To enable this behavior, set
options(boxr.print_tibble = TRUE)
(perhaps in your.Rprofile
). -
new tools to manage collaborations:
box_dir_invite()
is deprecated in favor ofbox_collab_create()
.- adds
box_collab_create()
, which supports file and group based collaborations. - also adds
box_collab_get()
to check existing collaborations, andbox_collab_delete()
to delete. box_collab_create()
andbox_collab_get()
each return the (list-based) response from the Box API.
If you prefer to work with data frames, these return-objects each haveas.data.frame()
andas_tibble()
methods.
-
box_previous_versions()
is superseded in favor ofbox_version_history()
:- returns a data frame that includes columns
version_no
(numeric) andversion_id
, rather thanversion
(character) andfile_version_id
. - exports an internal function
box_version_api()
, if you are interested in the unparsed content of the response from the API.
- returns a data frame that includes columns
-
new function
box_version_number()
returns the current version of a file; this number is consistent with theversion_no
argument used by functions such asbox_dl()
. -
new functions
box_read_rds()
andbox_save_rds()
to work withRDS
files directly on Box. -
new function
box_browse()
to open a browser window directly to a given folder or file on Box's web app. -
new functions
box_comment_create()
andbox_comment_get()
to create or get comments on Box files. These functions return specially classedlists
of the API response, on which you can useas.data.frame()
oras_tibble()
. -
uses
httr::RETRY()
for API requests to handle momentary issues with network connectivity. Thanks @jameslamb and @chircollab! -
box_ls()
provides the currentversion_id
by default. (#185, @alexbrodersen)
Bug Fixes
-
box_file_delete()
andbox_folder_delete()
each now returninvisible(NULL)
. (#197) -
box_auth_service()
more resilient to bad-request failures. (#166) -
box_auth()
longer throws error if {usethis} not installed. (#168, @malcombarret) -
...
is now passed towrite_fun
inbox_write()
. (#144) -
box_ls()
is more robust for remote folders that contain links. (#140) -
box_previous_versions()
fixed for "no-previous-versions" case. (#139)