Open elfunesto opened 3 weeks ago
My package version is icesSAG 1.4.1
Hi,
Unfortunately the upload is not working at pressent. I hope to fix this in the next few days.
If you install from github or from r-universe most other things should work as they should...
install.packages("icesSAG", repos = c("https://ices-tools-prod.r-universe.dev", "https://cloud.r-project.org"))
For example:
library(icesSAG) library(dplyr) options(icesSAG.use_token = FALSE) getListStocks(2024) |> filter(Status != "Published")
options(icesSAG.use_token = TRUE) getListStocks(2024) |> filter(Status != "Published")
The only thing missing is the upload capability... I hope to fix that soon! I will be pushing to CRAN soon.
Cheers, Colin
Dear all, I am not able to upload my fish stock assessment data, receiving a message
Screening file ... Client error: (404) Not Found Erreur dans icesSAG::uploadStock(stock_info, fishdata, verbose = TRUE) : There was a problem with the screening utility. Check input data, and try again.
If I run the uploadStock function, it seems to fail at lines 26 27datsu_resp <- httr::GET(uri) message(httr::http_status(datsu_resp)$message)
with the content of
datsu_resp
being:I have been able to download the xml
drouineau_lwiep1oehsh.xml
and test it manually on datsu, and it seems to be correction (no errror, correct number of records). Any clues on what is happening? Thank you by advance, Hilaire