Open drtrix90 opened 5 years ago
This all seems related to some fixes I made recently. I hope I didn't mess up to much stuff...
So after the reinstall, you don't have the first issue anymore?
Regarding the second issue, I just deployed a fix for that.
No, I guess I wrote that in the wrong order. First I re-installed SingleR, got the "possible error" and now I am unable to use the CreateSinglerSeuratObject function.
I just tried it again and the installation "possible error" is gone, but this error:
Error in makeCluster(numCores) : could not find function "makeCluster"
still persists.
Thanks for your help!
ok. I fixed the NAMESPACE file. Should work now (if you reinstall).
Now I'm getting this error at the same step:
Error in registerDoParallel(cl) : could not find function "registerDoParallel"
sorry about that. Added this as well now...
Now I get this error when trying to install the package...
Downloading GitHub repo dviraran/SingleR@master
Skipping 3 packages not available: GSEABase, GSVA, singscore
✔ checking for file ‘/private/var/folders/sh/qplsh1hj1rncjz_h9wtk4j8c0000gn/T/RtmpczxeGd/remotes1334728f77a0b/dviraran-SingleR-4785077/DESCRIPTION’ ...
─ preparing ‘SingleR’: (968ms)
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ looking to see if a ‘data/datalist’ file should be added
─ building ‘SingleR_0.2.2.tar.gz’ (17.7s)
* installing *source* package ‘SingleR’ ...
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error : object ‘registerDoParallel’ is not exported by 'namespace:parallel'
ERROR: lazy loading failed for package ‘SingleR’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/SingleR’
Error in i.p(...) :
(converted from warning) installation of package ‘/var/folders/sh/qplsh1hj1rncjz_h9wtk4j8c0000gn/T//RtmpczxeGd/file133477c973bfd/SingleR_0.2.2.tar.gz’ had non-zero exit status```
Eventually we'll get there... please try now
Slightly different this time :)
> devtools::install_github('dviraran/SingleR')
Downloading GitHub repo dviraran/SingleR@master
Skipping 3 packages not available: GSEABase, GSVA, singscore
✔ checking for file ‘/private/var/folders/sh/qplsh1hj1rncjz_h9wtk4j8c0000gn/T/RtmpczxeGd/remotes1334753f53ed3/dviraran-SingleR-99aff7c/DESCRIPTION’ ...
─ preparing ‘SingleR’: (1s)
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ looking to see if a ‘data/datalist’ file should be added
─ building ‘SingleR_0.2.2.tar.gz’ (18s)
* installing *source* package ‘SingleR’ ...
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘doParallel’
ERROR: lazy loading failed for package ‘SingleR’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/SingleR’
Error in i.p(...) :
(converted from warning) installation of package ‘/var/folders/sh/qplsh1hj1rncjz_h9wtk4j8c0000gn/T//RtmpczxeGd/file13347395d6df9/SingleR_0.2.2.tar.gz’ had non-zero exit status
:) added it to the description...
Hmm the package installs fine but still get this message when running the create object function:
Error in registerDoParallel(cl) : could not find function "registerDoParallel"
not sure what I'm doing wrong. Anyway, changed it to explicitly call doParallel::registerDoParallel
same error :(
hmmm.. can you try to install doParallel, load the library, and then run SingleR? I am not sure why this is failing. Maybe also restart RStudio?
Looks like that did it, thanks for your help!
I'm getting the following output when i try to run CreateSinglerSeuratObject:
I just re-installed SingleR in order to convert to the new S4 format and use the browser interface. When I installed I did get this "possible error" which might be related:
Any help would be appreciated, love the package otherwise! Thanks!