Warning messages when we install the package
gaow opened this issue · comments
gaow commented
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Warning: replacing previous import ‘dplyr::filter’ by ‘stats::filter’ when loading ‘pecotmr’
Warning: replacing previous import ‘dplyr::lag’ by ‘stats::lag’ when loading ‘pecotmr’
Warning: replacing previous import ‘stats::filter’ by ‘dplyr::filter’ when loading ‘pecotmr’
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
Warning: replacing previous import ‘dplyr::filter’ by ‘stats::filter’ when loading ‘pecotmr’
Warning: replacing previous import ‘dplyr::lag’ by ‘stats::lag’ when loading ‘pecotmr’
Warning: replacing previous import ‘stats::filter’ by ‘dplyr::filter’ when loading ‘pecotmr’
** testing if installed package keeps a record of temporary installation path
* DONE (pecotmr)
Warning messages:
1: replacing previous import ‘dplyr::filter’ by ‘stats::filter’ when loading ‘pecotmr’
2: replacing previous import ‘dplyr::lag’ by ‘stats::lag’ when loading ‘pecotmr’
3: replacing previous import ‘stats::filter’ by ‘dplyr::filter’ when loading ‘pecotmr’
these needs fixing.
gaow commented
I guess this is relevant to fixing the dependency and function import that @danielnachun can take care of after @Travyse finalinze on the unit test.
hsun3163 commented
Another dependency related problem is fail to install packages locally via git folder
> install.packages(".", repos = NULL, type = "source")
* installing *source* package ‘pecotmr’ ...
** using staged installation
** libs
make: Nothing to be done for 'all'.
installing to /sc/arion/work/sunh14/conda/envs/xqtl-python-3.9/lib/R/library/00LOCK-pecotmr/00new/pecotmr/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Warning: replacing previous import ‘dplyr::filter’ by ‘stats::filter’ when loading ‘pecotmr’
Warning: replacing previous import ‘dplyr::lag’ by ‘stats::lag’ when loading ‘pecotmr’
Warning: replacing previous import ‘stats::filter’ by ‘dplyr::filter’ when loading ‘pecotmr’
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘fsusieR’
Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
ERROR: lazy loading failed for package ‘pecotmr’
* removing ‘/sc/arion/work/sunh14/conda/envs/xqtl-python-3.9/lib/R/library/pecotmr’
* restoring previous ‘/sc/arion/work/sunh14/conda/envs/xqtl-python-3.9/lib/R/library/pecotmr’
Warning message:
In install.packages(".", repos = NULL, type = "source") :
installation of package ‘.’ had non-zero exit status
>
gaow commented
I fixed it