rrdf icon indicating copy to clipboard operation
rrdf copied to clipboard

Define a class for the Jena model

Open cboettig opened this issue 11 years ago • 5 comments

  • Defines the S4 class "triplestore", inheriting the existing java object class jobjRef.
  • Also adds basic roxygen literate documentation.

cboettig avatar Dec 03 '13 05:12 cboettig

Before I pull this in, can you tell me how the .Rd files are autogenerated from the inline documentation? Is that done automatically by "R CMD build"? If some command is needed, can you explain that in the README?

egonw avatar Dec 23 '13 09:12 egonw

The class patch is pulled in.

egonw avatar Dec 23 '13 09:12 egonw

Good point, sorry. Several ways, easiest is to use the document() function in the devtools package. You'll find much more detail on @hadley's devtools GitHub page or the Roxygen2 vignette. Sorry for the brevity, traveling now.


Carl Boettiger http://carlboettiger.info

sent from mobile device; my apologies for any terseness or typos On Dec 23, 2013 8:14 PM, "Egon Willighagen" [email protected] wrote:

The class patch is pulled in.

— Reply to this email directly or view it on GitHubhttps://github.com/egonw/rrdf/pull/23#issuecomment-31109901 .

cboettig avatar Dec 23 '13 22:12 cboettig

Carl, I had applied your patch but reverted it in master, because it was causing regressions. I will look into that. You can verify issues with R CMD check rrdf_x.y.z.tar.gz ...

egonw avatar Jan 01 '14 11:01 egonw

@egonw Thanks for the note and sorry about the error, i should have run check before sending the patch. I just missed a spot where I didn't coerce the triplestore class back to a jobjRef class before passing it to .jcall. (Actually looks like my patch forgot to commit the file triplestore.R providing the class definition). Very sorry about that.

I've fixed this in my fork and merged in your recent changes. My fork now passes R CMD check --as-cran cleanly. Again my apologies for not catching this the first time around.

cboettig avatar Jan 03 '14 06:01 cboettig