-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Using R STudio
library(boxr)
#create a Box directory.
newFolder <- "NEWFOLDER"
names(newFolder) <- c("name")
newFolders_df <- as.data.frame(t(newFolder))
#--------------------------------------------------------------------------------------------------
FAILS:
box_upload_new(dir_id = "123", file = "C:/Users/Desktop/Test",pb = FALSE)
Error in could not find function "box_upload_new"
#---------------------------------------------------------
ALSO FAILS:
box_dir_create(dir_name = newFolders_df$name, parent_dir_id = box_getwd())
ERROR:
in x$name : $ operator is invalid for atomic vectors
#----------------------------------------------------------
ALSO FAILS:
box_ul(
dir_id = box_getwd(),
file = "C:/Users/Desktop/TEST/TestUpload.txt",
pb = FALSE,
description = NULL
)
ERROR:
in httr::content(ul_req)$status :
$ operator is invalid for atomic vectors
#----------------------------------------------------------
ALSO FAILS - IT does nothing, returns no ERRORS:
box_push(
dir_id = "123",
local_dir = "C:/Users/Desktop/TEST",
ignore_dots = TRUE,
overwrite = FALSE,
delete = FALSE
)