- Uses Ubuntu 22 by default.
- The GitHub actions are now using the most recent version of R and GH workflows.
- Fixes wrong resource_id with
tag_resource()
.
- Added databases() function, which does the same as droplets() but for managed databases.
- Offers link with 100 dollars in promotional credits.
- Fixes authentication issues when creating keys.
- Method
as.url.domain
supports additional arguments.
- Method
as.url.domain
supports...
docklet_create()
,docklet_shinyserver()
anddocklet_shinyapp()
now allow to specify the ssh key location.
- provides new oauth app (the previous one was deleted because of a platform error)
space_delete()
deletes an existing (empty) space and all of its contents.space_upload()
allows to upload a local directory to an existing Space.space_download()
allows to download a remote directory from an existing Space.
- Makes conditional use on
arrow
, it can write in Parquet format, which is ideal for S3 filesystems. docklet_create()
now defaults to Ubuntu 20.04
droplet_create()
captures the droplet status and IP for immediate use without additional steps such as status update.- adds
droplet_ip()
function to avoid cumbersome writing to obtain droplet's IP.
- The new referral link provides 100 USD in credits for end users instead of 10.
- Uses Ubuntu machines by default.
- Benefits from CRAN mirror hosted on DigitalOcean data center.
- Extended battery of unit tests for droplet creation, installing packages, etc. @pachadotdev
- The documentation now mentions how use the RStudio Server image from DigitalOcean Marketplace.
debian_install_r()
gains argumentrprofile
to customize theoptions
setting when installing R (#204) thanks @csgillespie
debian_install_r()
: changerepos
entry fromhttp://cran.rstudio.com
tohttps://cloud.r-project.org
(#202) thanks @csgillespie- change default region to
sfo3
throughout package (#203) - update link to package docs
- all
debian_
functions gain four parameters:user
,keyfile
,ssh_passwd
andverbose
(#199) thanks @muschellij2
- gains function
install_github_r_package()
for installing R packages from github on your droplet (#191) thanks @muschellij2
neighbors()
fxn fix: DigitalOcean updated the route used for neighbors information, and the returned named element in the response body (#186)
- fix for
droplet_execute()
for running R on a droplet (#193) (#195) thanks @pieterprovoost - fixed
droplet_action()
internal function - explicitly state the content type for each request - should affect many exported functions (#192) - fix for internal function
droplet_ip()
: we were sometimes extracting the private IP instead of the public IP address (#198) thanks @muschellij2
The following were partly introduced in previous versions, partly worked on for this version:
- clean up spaces code: consistent terminology, rearrange code so its easier to find, all
spaces_*
functions renamed tospace_*
(#175) (#176) - add high level documentation object
?info
with details on droplet focused functions and spaces focused functions (#150) - Functions for working with DigitalOcean Spaces have been partly introduced in previous releases, and various fixes have been made in this version (#136) (#138) (#146) (#161) (#165)
aws.s3
has been orphaned; movedaws.s3
to Suggests, use is now conditional (#188) (#189)- add new section to
docklet_create()
manual file Managing Docker containers from R, with notes about managing Docker containers from R (#179)
- gains new functions to support working with Digital Ocean projects:
as.project
,as.url.project
,project
,projects
,project_create
,project_delete
,project_patch
, andproject_update
(#183)
- changed default region from 'sfo1' to 'sfo2' throughout package (#180) thanks @patperu
droplets_create
anddocklets_create
: uselist()
instead ofNULL
as default (#181)- fixed
print.tag
to uselast_tagged_uri
instead of the defunctlast_tagged$id
(#182) volume_create()
gains new parametersfilesystem_type
,filesystem_label
, andtags
(#184)
- Now using package
ssh
to do ssh operations instead of shelling out viasystem
/etc. (#143) (#160) & various fixes for ssh (#154) - New functions for working with DO certificates API routes:
certificate
,certificate_create
,certificate_delete
,certificates
, andas.certificate
(#156) - New functions for working with DO firewalls API routes:
firewall
,firewall_add_droplets
,firewall_add_tags
,firewall_create
,firewall_delete
,firewall_remove_droplets
,firewall_remove_tags
,firewall_update
,firewalls
, andas.firewall
(#157)
- Changed default droplet size from "1gb" to "s-1vcpu-2gb" (#149) (#152)
- Changed default droplet image from "ubuntu-14-04-x64" (Ubuntu 14) to "ubuntu-18-04-x64" (Ubuntu 18) (#151)
- fix
docklet_create()
to use by default the image "docker-18-04" instead of "docker" (#174) - Add more documentation for how to deal with droplet object not have the IP address. Happens when the DO API tells R that the droplet is up, but they haven't given us the IP address yet (#166)
- Package gains new manual page
?droplet_functions
to help the user navigate the many functions for working with the DO API droplet_ssh
gains new parameterskeyfile
andssh_passwd
for specifying the user's optional private key file, and the optional passphrase or callback function for authentication
- fix to user and password params for
docklet_rstudio()
: at first thanks @nielsaka for (#170) (#171) but then we decided better to go with (#172) and make both params required with no default so the user is forced to set their own values - Change default value for
ssh_keys
param indroplet_create()
and related functions toNULL
(#144)
as.key
function changed toas.sshkey
to avoid collision withopenssl
package (#126)- Gains new functions
domain_record_update
to update a domain record anddomain_record
to get a domain record by id (#124) domain_record_create
gains paramaterttl
for time to live for the domain record, in seconds (#124)
- Fixed some typos (#131) thanks @patperu
docklet_rstudio
,docklet_shinyserver
, anddocklet_shinyapp
now return a droplet instead of a URL so they can be piped - docs now contain how to construct the URL for the rstudio or shiny server instance in case user setsbrowse = FALSE
(#134)domain_record_create
anddomain_record_update
gain parametersflags
andtag
for CAA support for Domain Record resources (#137)docklet_images
gets anall
param, with default value ofTRUE
(#135)- Added examples to docs for how to install specific R versions
easily with docker, see
?docklet_create
(#106)
- Fix to
droplet_create
: it couldn't generate a random name without first loading the package vialibrary
(#125) thanks @trestletech debian_add_swap
adds swap memory, but was not persisted across reboots. fixed now (#127) thanks @trestletech- In
droplet_create
, the parametersssh_keys
andtags
now default tolist()
instead ofNULL
as they path pass toI()
that warns now onNULL
(#129)
tag_rename
is now defunct as is you can no longer rename tags (#123)
- New function
docklets_create()
to create many docklets at once (similar todroplets_create()
) (#120) - New volumes methods for the new block storage (aka volumes):
volume
,volume_action
,volume_actions
,volume_attach
,volume_create
,volume_delete
,volume_detach
,volume_resize
,volume_snapshot_create
,volume_snapshots
,volumes
,as.volume
(#121) - New methods for new unified snapshots DO endpoints:
snapshot
,snapshots
,snapshot_delete
, andas.shapshot
(#121)
- You can now pass
tags
to the parameter of the same name when creating droplets, with eitherdroplet_create
,droplets_create
,docklet_create
, ordocklets_create
. The tags can be existing ones, or if not they will be created (#122) - Added more help on ssh keys to pkg level man file and to vignette (#115)
- Suite of new functions for tags:
tag()
,tag_create()
,tag_delete()
,tag_rename()
,tag_resource()
,tag_resource_delete()
,tags()
, andas.tag()
(#117) - Related to last bulllet:
droplet_delete()
gains new parametertag
;droplets()
gains new parametertag
, and examples added to its man file for tag usage. - New functions
docklet_shinyserver()
anddocklet_shinyapp()
to spin up Shiny server and a Shiny app, respectively. (#100) - New function
droplet_enable_backups()
(#110) - New function
droplets_create()
to create many droplets at once (#112) - New function
droplets_cost()
to calculate cost of droplets across one or more droplets.
- Added
floating_ip_limit
field toaccount()
print method (#111) - Improved description of
name
parameter fordroplet_create()
anddocklet_create()
- Fixed problem with
docklet_create()
when port 22 is not open before further action is taken on the droplet. We now check if port 22 is open and error with informative message about waiting a bit for it to open (#113) thanks @fmichonneau @hrbrmstr - Fixed problem in the
print.droplet
due to problem indroplet_ip()
internal function (#109) - Fix to
*_create
to allow flexibility in how often DO API is pinged. Previously we pinged every second, meaning you could hit your API rate limit fastish. Now you can set an optiondo.wait_time
to tweak time bewtween pings to check for droplet creation (or other actions). for example of doing droplet creation in parallel. (#108) thanks @simecek ! - Fixed parsing bug in
sizes()
(#119)
- Released to CRAN.