Hi,
I have currently trouble with installing MTX model 3. I have followed the manual (MTX model 3 · biobakery/biobakery Wiki · GitHub) but I a unable to install “maaslin3_tutorial_files”.
I did:
if (!require('devtools', character.only = TRUE)) {
install.packages('devtools')
}
# Install MaAsLin 3
library("devtools")
devtools::install_github("biobakery/maaslin3")
install_github("biobakery/maaslin3_tutorial_files")
But I run in the following error:
Downloading GitHub repo biobakery/maaslin3_tutorial_files@HEAD
── R CMD build ────────────────────────────────────────────────────────────────────────────────
✔ checking for file 'C:\Users\au810585\AppData\Local\Temp\RtmpsDkxAu\remotes6d681c9a55c7\biobakery-maaslin3_tutorial_files-ed75044/DESCRIPTION' (576ms)
Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
problem copying .\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_P461_PWY_hexitol_fermentation_to_lactate_formate_ethanol__acetate_LM.png to C:\Users\au810585\AppData\Local\Temp\Rtmpg1JhKS\Rbuild68304c5d4ec5\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_P461_PWY_hexitol_fermentation_to_lactate_formate_ethanol__acetate_LM.png: No such file or directory
Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
problem copying .\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_rna\figures\association_plots\dysbiosis_state_GLUCOSE1PMETAB_PWY_glucose__glucose_1_phosphate_deg_logistic.png to C:\Users\au810585\AppData\Local\Temp\Rtmpg1JhKS\Rbuild68304c5d4ec5\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_rna\figures\association_plots\dysbiosis_state_GLUCOSE1PMETAB_PWY_glucose__glucose_1_phosphate_deg_logistic.png: No such file or directory
Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
problem copying .\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_rna\figures\association_plots\dysbiosis_state_P461_PWY_hexitol_fermentation_to_lactate_formate_ethanol__acetate_LM.png to C:\Users\au810585\AppData\Local\Temp\Rtmpg1JhKS\Rbuild68304c5d4ec5\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_rna\figures\association_plots\dysbiosis_state_P461_PWY_hexitol_fermentation_to_lactate_formate_ethanol__acetate_LM.png: No such file or directory
ERROR
copying to build directory failed
Error: Failed to install 'maaslin3TutorialFiles' from GitHub:
! System command 'Rcmd.exe' failed
I also tried
pak::pak("biobakery/maaslin3_tutorial_files")
But receive the error:
→ Package library at C:\Users\au810585\AppData\Local\Programs\R\R-4.6.1\library.
→ Will install 1 package.
→ Will download 1 package with unknown size.
+ maaslin3TutorialFiles 0.99.0 [bld][cmp][dl] (GitHub: ed75044)
ℹ Getting 1 pkg with unknown size
✔ Cached copy of maaslin3TutorialFiles 0.99.0 (source) is the latest build
✔ No downloads needed, all packages are cached
ℹ Packaging maaslin3TutorialFiles 0.99.0
! The maaslin3TutorialFiles package has very long paths. The installation will probably fail
because most Windows versions do not support long paths. Please tell the package authors about
this.
✖ Failed to create source package maaslin3TutorialFiles 0.99.0
── Standard output ────────────────────────────────────────────────────────────────────────────
Warning: unknown option '--no-lock'
* checking for file 'C:\Users\au810585\AppData\Local\Temp\Rtmpa4StGu\X\maaslin3TutorialFiles\biobakery-maaslin3_tutorial_files-ed75044/DESCRIPTION' ... OK
Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
problem copying .\biobakery-maaslin3_tutorial_files-ed75044\maaslin3_tutorial\output\hmp2_output\figures\association_plots\dysbiosis_state\logistic\dysbiosis_state_Faecalibacterium_prausnitzii_logistic.png to C:\Users\au810585\AppData\Local\Temp\RtmpwFD5OY\Rbuild7c8467937b3\biobakery-maaslin3_tutorial_files-ed75044\maaslin3_tutorial\output\hmp2_output\figures\association_plots\dysbiosis_state\logistic\dysbiosis_state_Faecalibacterium_prausnitzii_logistic.png: No such file or directory
Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
problem copying .\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_ASPASN_PWY_SP_of_L_aspartate__L_asparagine_biosyn_LM.png to C:\Users\au810585\AppData\Local\Temp\RtmpwFD5OY\Rbuild7c8467937b3\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_ASPASN_PWY_SP_of_L_aspartate__L_asparagine_biosyn_LM.png: No such file or directory
Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
problem copying .\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_P461_PWY_hexitol_fermentation_to_lactate_formate_ethanol__acetate_LM.png to C:\Users\au810585\AppData\Local\Temp\RtmpwFD5OY\Rbuild7c8467937b3\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_P461_PWY_hexitol_fermentation_to_lactate_formate_ethanol__acetate_LM.png: No such file or directory
Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
problem copying .\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_PWY_5083_NAD_NADH_phosphorylation__dephosphorylation_LM.png to C:\Users\au810585\AppData\Local\Temp\RtmpwFD5OY\Rbuild7c8467937b3\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_PWY_5083_NAD_NADH_phosphorylation__dephosphorylation_LM.png: No such file or directory
Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
problem copying .\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_PWY_6386_UDP_N_acetylmuramoyl_pentapeptide_biosyn_II_LM.png to C:\Users\au810585\AppData\Local\Temp\RtmpwFD5OY\Rbuild7c8467937b3\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_PWY_6386_UDP_N_acetylmuramoyl_pentapeptide_biosyn_II_LM.png: No such file or directory
Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
problem copying .\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_PWY_6387_UDP_N_acetylmuramoyl_pentapeptide_biosyn_I_LM.png to C:\Users\au810585\AppData\Local\Temp\RtmpwFD5OY\Rbuild7c8467937b3\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_PWY_6387_UDP_N_acetylmuramoyl_pentapeptide_biosyn_I_LM.png: No such file or directory
Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
problem copying .\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_UDPNAGSYN_PWY_UDP_N_acetyl_D_glucosamine_biosyn_I_LM.png to C:\Users\au810585\AppData\Local\Temp\RtmpwFD5OY\Rbuild7c8467937b3\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_mtx_mgx\figures\association_plots\dysbiosis_state_UDPNAGSYN_PWY_UDP_N_acetyl_D_glucosamine_biosyn_I_LM.png: No such file or directory
Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
problem copying .\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_ratio\figures\association_plots\dysbiosis_state_PWY_6387_UDP_N_acetylmuramoyl_pentapeptide_biosyn_I_LM.png to C:\Users\au810585\AppData\Local\Temp\RtmpwFD5OY\Rbuild7c8467937b3\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_ratio\figures\association_plots\dysbiosis_state_PWY_6387_UDP_N_acetylmuramoyl_pentapeptide_biosyn_I_LM.png: No such file or directory
Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
problem copying .\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_rna\figures\association_plots\dysbiosis_state_GLUCOSE1PMETAB_PWY_glucose__glucose_1_phosphate_deg_logistic.png to C:\Users\au810585\AppData\Local\Temp\RtmpwFD5OY\Rbuild7c8467937b3\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_rna\figures\association_plots\dysbiosis_state_GLUCOSE1PMETAB_PWY_glucose__glucose_1_phosphate_deg_logistic.png: No such file or directory
Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
problem copying .\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_rna\figures\association_plots\dysbiosis_state_P461_PWY_hexitol_fermentation_to_lactate_formate_ethanol__acetate_LM.png to C:\Users\au810585\AppData\Local\Temp\RtmpwFD5OY\Rbuild7c8467937b3\biobakery-maaslin3_tutorial_files-ed75044\mtx_model_tutorial\output\demo_output_rna\figures\association_plots\dysbiosis_state_P461_PWY_hexitol_fermentation_to_lactate_formate_ethanol__acetate_LM.png: No such file or directory
ERROR
copying to build directory failed
Error:
! error in pak subprocess
Caused by error in `stop_task_package_build(state, worker)`:
! Failed to create source package maaslin3TutorialFiles from source tree at
C:\Users\au810585\AppData\Local\Temp\Rtmpa4StGu\file32e87c1f4db1/src/contrib/maaslin3TutorialFiles_0.99.0_ed75044.tar.gz-t
Type .Last.error to see the more details.
Are the maaslin 3 tutorials necessary for maaslin3 to work or can I skip it?
Thank you for your feedback.
best regards