This is the error I get attempting to build and install a package I wrote.

I am using R Studio (but I did try with R CMDs as well).

The file that is blamed in the error is the last file alphabetically.  If I
remove that file.  I get the same error on the remaining last file
alphabetically.  So my guess is that it isn't actually one of these files.
 However, I have no clue how to troubleshoot this problem.  I am quite new
to R.

I built a generator to create this R pkg.  But it is based on a very
similar one that works okay that I built by hand.

They are available in their entirety on GitHub at:
https://github.com/mlhim/R_test_prj

The one that works is:  ccdTest244AllDatatypes299a8123d9f7

The one that doesn't work is: ccdTest244AllDatatypesa5c7aca0036f

The 00install.out file isn't particularly enlightening:
-----------------------------------------------------------------------------
* installing *source* package ‘ccdTest244AllDatatypesa5c7aca0036f’ ...
** R
Error in parse(outFile) :

/home/tim/MLHIM/git/R_test_prj/ccdTest244AllDatatypesa5c7aca0036f.Rcheck/00_pkg_src/ccdTest244AllDatatypesa5c7aca0036f/R/meta:43:0:
unexpected end of input
41:     return('
http://www.ccdgen.com/ccdlib/ccd-31598ac4-eac4-4f45-928e-a5c7aca0036f.xsd')
42: }
   ^
ERROR: unable to collate and parse R files for package
‘ccdTest244AllDatatypesa5c7aca0036f’
* removing
‘/home/tim/MLHIM/git/R_test_prj/ccdTest244AllDatatypesa5c7aca0036f.Rcheck/ccdTest244AllDatatypesa5c7aca0036f’



* installing *source* package ‘ccdTest244AllDatatypesa5c7aca0036f’ ...
** R
Error in parse(outFile) :

/home/tim/MLHIM/git/R_test_prj/ccdTest244AllDatatypesa5c7aca0036f.Rcheck/00_pkg_src/ccdTest244AllDatatypesa5c7aca0036f/R/meta:43:0:
unexpected end of input
41:     return('
http://www.ccdgen.com/ccdlib/ccd-31598ac4-eac4-4f45-928e-a5c7aca0036f.xsd')
42: }
   ^
ERROR: unable to collate and parse R files for package
‘ccdTest244AllDatatypesa5c7aca0036f’
* removing
‘/home/tim/MLHIM/git/R_test_prj/ccdTest244AllDatatypesa5c7aca0036f.Rcheck/ccdTest244AllDatatypesa5c7aca0036f’
-------------------------------------------------------------

Any help  is greatly appreciated.

This is part of a large open source effort in healthcare interoperability
and data analysis.

Thanks In Advance,
Tim


============================================
Timothy Cook
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
MLHIM http://www.mlhim.org

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to