if you use the R version 3.6, you may encounter the following problems like
install_github("BMILAB/scNPF")
* installing *source* package ‘scNPF’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package ‘foreach’ was built under R version 3.6.2
Execution halted
ERROR: lazy loading failed for package ‘scNPF’ * removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/scNPF’
Error: Failed to install 'scNPF' from GitHub: (converted from warning) installation of package ‘/var/folders/sc/7
if you use the R version 3.6, you may encounter the following problems like
Please setting Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS=TRUE) fixes it,