ShawnWx2019 / MetMiner

MetMiner: A user-friendly pipeline for large-scale plant metabolomics data analysis
MIT License
16 stars 1 forks source link

Error in data_import_raw_server: 参数没有用(data_download = download) #1

Closed QAQD closed 1 month ago

QAQD commented 1 month ago

Dear Zhang and Wang: First, thanks for your sharing of MetMiner. When I run this software:

run_metMiner(maxRequestSize = 300)

The software interface blinks and displays the following error message:

载入需要的程辑包:shiny
载入程辑包:‘shiny’
The following object is masked from ‘package:xcms’:
    span
Listening on http://127.0.0.1:5564
The `name` provided ('chart') does not correspond to a known icon
The `name` provided ('chart') does not correspond to a known icon
The `name` provided ('chart') does not correspond to a known icon
Warning: Error in data_import_raw_server: 参数没有用(data_download = download)
  40: server
   3: runApp
   2: print.shiny.appobj
   1: <Anonymous>
Error in data_import_raw_server(id = "data_import_raw_id", volumes = volumes,  : 
  参数没有用(data_download = download)

Here's all the information I had when I ran MetMiner:

> library(tidyverse)
── Attaching core tidyverse packages ────────────────── tidyverse 2.0.0 ──
✔ dplyr     1.1.4     ✔ readr     2.1.5
✔ forcats   1.0.0     ✔ stringr   1.5.1
✔ ggplot2   3.5.1     ✔ tibble    3.2.1
✔ lubridate 1.9.3     ✔ tidyr     1.3.1
✔ purrr     1.0.2     
── Conflicts ──────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag()    masks stats::lag()
ℹ Use the conflicted package to force all conflicts to become errors
> library(tidymass)
Registered S3 method overwritten by 'Hmisc':
  method       from      
  vcov.default fit.models
── Attaching packages ────────────────────────────────── tidymass 1.0.8 ──
✔ massdataset   1.0.34     ✔ metpath       1.0.8 
✔ massprocesser 1.0.10     ✔ metid         1.2.33
✔ masscleaner   1.0.12     ✔ masstools     1.0.10
✔ massqc        1.0.6      ✔ magrittr      2.0.3 
✔ massstat      1.0.5      
Warning messages:
1: replacing previous import ‘massdataset::check_mass_dataset’ by ‘metid::check_mass_dataset’ when loading ‘tidymass’ 
2: replacing previous import ‘masstools::remove_noise’ by ‘metid::remove_noise’ when loading ‘tidymass’ 
> library(MDAtoolkits)
> library(MetMiner)

> ##> start metMiner shinyapp
> run_metMiner(maxRequestSize = 300, data_download = "")
载入需要的程辑包:shiny

载入程辑包:‘shiny’

The following object is masked from ‘package:xcms’:

    span

Listening on http://127.0.0.1:5564
The `name` provided ('chart') does not correspond to a known icon
The `name` provided ('chart') does not correspond to a known icon
The `name` provided ('chart') does not correspond to a known icon
Warning: Error in data_import_raw_server: 参数没有用(data_download = download)
  40: server
   3: runApp
   2: print.shiny.appobj
   1: <Anonymous>
Error in data_import_raw_server(id = "data_import_raw_id", volumes = volumes,  : 
  参数没有用(data_download = download)

How to resolve these problems? Thanks for your help in advance.

ShawnWx2019 commented 1 month ago

Hi, We are currently fixing the image download module. The last commit introduced an erroneous parameter, and I am in the process of correcting it. You will be able to reinstall the MetMiner package afterward. The stable version is expected to be uploaded around October 7, 2024. Please keep an eye on package updates during this time. Thank you!

ShawnWx2019 commented 1 month ago

I think it is work now, please re-install MetMiner:

library("remotes")
remotes::install_github('ShawnWx2019/MetMiner')
QAQD commented 1 month ago

Thanks for your response and the program worked correctly. Wish you a happy life and a smooth scientific research!