RGLab / openCyto

A package that provides data analysis pipeline for flow cytometry.
GNU Affero General Public License v3.0
75 stars 29 forks source link

Package Build Errors #24

Closed ramhiser closed 11 years ago

ramhiser commented 11 years ago

@mikejiang, is there a file named fcObject-methods.R missing? I removed the reference in my local build, but I have not pushed the changes in case you actually have this file.

R CMD INSTALL ../openCyto/
* installing to library ‘/home/jramey/local/lib64/R/library’
* installing *source* package ‘openCyto’ ...
** R
Error in .install_package_code_files(".", instdir) : 
files in 'Collate' field missing from '/home/jramey/rglab/Rpackages/openCyto/R':
  fcObject-methods.R
ERROR: unable to collate and parse R files for package ‘openCyto’
* removing ‘/home/jramey/local/lib64/R/library/openCyto’
* restoring previous ‘/home/jramey/local/lib64/R/library/openCyto’

After fixing the above issue in m local build, I get the following error. I'm assuming you meant to add fcFilterList-methods.R to the DESCRIPTION file.

R CMD INSTALL ../openCyto/
* installing to library ‘/home/jramey/local/lib64/R/library’
* installing *source* package ‘openCyto’ ...
** R
Error in .install_package_code_files(".", instdir) : 
files in '/home/jramey/rglab/Rpackages/openCyto/R' missing from 'Collate' field:
  fcFilterList-methods.R
ERROR: unable to collate and parse R files for package ‘openCyto’
* removing ‘/home/jramey/local/lib64/R/library/openCyto’
* restoring previous ‘/home/jramey/local/lib64/R/library/openCyto’
ramhiser commented 11 years ago

More errors:

Error in loadNamespace(package, c(which.lib.loc, lib.loc)) : 
  in package ‘openCyto’ classes fcObject, fcObject2d were specified for export but not defined
Error: loading failed
Execution halted
ERROR: loading failed

I'm assuming these are related to the above errors.

ramhiser commented 11 years ago

@mikejiang have you ever used the devtools package to generate automatically the man package, DESCRIPTION, and NAMESPACE? It would resolve these build issues.