Skip to content

Commit

Permalink
suggest rdrop2 and add remote
Browse files Browse the repository at this point in the history
* has been archived on cran due to dependency issues
  • Loading branch information
jefferis committed Jun 5, 2024
1 parent 3c1a01c commit 5eeb186
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 5 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ Suggests:
fastcluster,
reticulate,
doParallel,
qs
qs,
rdrop2
VignetteBuilder: knitr
Depends:
R (>= 3.1),
Expand All @@ -58,7 +59,6 @@ Imports:
jpeg,
png,
googledrive,
rdrop2,
jsonlite,
plyr,
catmaid,
Expand All @@ -83,8 +83,9 @@ Remotes:
natverse/nat.nblast,
natverse/nat,
natverse/nat.flybrains,
schlegelp/nat.hdf5
schlegelp/nat.hdf5,
karthik/rdrop2
Language: en-GB
RoxygenNote: 7.2.1
RoxygenNote: 7.3.1
URL: https://github.com/flyconnectome/hemibrainr, https://flyconnectome.github.io/hemibrainr
BugReports: https://github.com/flyconnectome/hemibrainr/issues
2 changes: 2 additions & 0 deletions R/utilities-gdrive.R
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ remote_upload <- function(file,
verbose = verbose)
}
}else if(remote=="dropbox"){
if(!requireNamespace('rdrop2', quietly = T))
stop("Please install suggested package rdrop2 to use Dropbox")
rdrop2::drop_upload(file = file,
path = path,
mode = "overwrite",
Expand Down

0 comments on commit 5eeb186

Please sign in to comment.