You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
m<-"Could not auto-link to datacube, please use odcr::config() to link to the correct python binary/environment that has the datacube module installed."
145
+
#' @keywords internal
146
+
#' @noRd
147
+
.onAttach=function(libname, pkgname) {
148
+
if(.dc_available()){
149
+
m<- paste0("Linking to datacube ", .dc_version())
166
150
} else{
167
-
v<-dc$"__version__"
168
-
m<- paste0("Linking to datacube ", v)
151
+
m<-"Could not auto-link to datacube, please use odcr::config() to link to the correct python binary/environment that has the datacube module installed."
169
152
}
170
-
171
-
# if(!py_module_available("datacube")){
172
-
# m <- "Could not auto-link to datacube, please use odcr::config() to link to the correct python binary/environment that has the datacube module installed."
0 commit comments