Skip to content

Commit

Permalink
Merge branch 'master' of github.com:flyconnectome/hemibrainr
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbates committed Aug 6, 2024
2 parents d20f843 + 5c9af84 commit 4e6b63d
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}

Expand Down
14 changes: 10 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ Suggests:
fastcluster,
reticulate,
doParallel,
qs
qs,
rdrop2,
arrow,
doSNOW,
ggplot2,
gridExtra
VignetteBuilder: knitr
Depends:
R (>= 3.1),
Expand All @@ -58,7 +63,6 @@ Imports:
jpeg,
png,
googledrive,
rdrop2,
jsonlite,
plyr,
catmaid,
Expand All @@ -83,8 +87,10 @@ Remotes:
natverse/nat.nblast,
natverse/nat,
natverse/nat.flybrains,
schlegelp/nat.hdf5
schlegelp/nat.hdf5,
karthik/rdrop2,
dbaston/bitsqueezr
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
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@ importFrom(rgl,spheres3d)
importFrom(rlang,.data)
importFrom(stats,ave)
importFrom(stats,dist)
importFrom(stats,na.omit)
importFrom(stats,offset)
importFrom(stats,sd)
importFrom(utils,download.file)
importFrom(utils,installed.packages)
importFrom(utils,setTxtProgressBar)
importFrom(utils,txtProgressBar)
2 changes: 1 addition & 1 deletion R/hemibrain_synapses.R
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ hemibrain_ntplot.neuronlist <- function(x,
do.call(gridExtra::grid.arrange, c(plist, ncol=nCol))
}else{
syns.nt = lapply(x, function(y) y$connectors)
syns.nt = do.call(pluyr::rbind.fill, syns.nt)
syns.nt = do.call(plyr::rbind.fill, syns.nt)
syns.nt$id = "collapse"
hemibrain_ntplot.data.frame(syns.nt)
}
Expand Down
4 changes: 4 additions & 0 deletions R/hemibrainr-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@
# The following block is used by usethis to automatically manage
# roxygen namespace tags. Modify with care!
## usethis namespace: start
#' @importFrom stats na.omit
#' @importFrom stats offset
#' @importFrom utils setTxtProgressBar
#' @importFrom utils txtProgressBar
## usethis namespace: end
NULL
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
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}

# Set googlesheets API key
try(hemibrainr_google_login())
# try(hemibrainr_google_login())

# Set Google sheets of interest
hemibrainr_matching_gsheet = ifelse(!is.null(getOption("hemibrainr_matching_gsheet")),getOption("hemibrainr_matching_gsheet"),"1OSlDtnR3B1LiB5cwI5x5Ql6LkZd8JOS5bBr-HTi0pOw")
Expand Down
1 change: 1 addition & 0 deletions man/flywire_neurons.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4e6b63d

Please sign in to comment.