Skip to content

Commit

Permalink
Export the S4 classes
Browse files Browse the repository at this point in the history
I did this in a simpler way than proposed in #267, I verfied this does
fix the WARNING when installing sos4R

Closes #267
  • Loading branch information
jimhester committed Jul 29, 2019
1 parent 3ee2aa3 commit 4fa5bdf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ windows
^_pkgdown.yml$
^docs/$
^docs$
^CRAN-RELEASE$
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ export(xml_type)
export(xml_unserialize)
export(xml_url)
export(xml_validate)
exportClasses(xml_document)
exportClasses(xml_missing)
exportClasses(xml_node)
exportClasses(xml_nodeset)
importFrom(Rcpp,sourceCpp)
importFrom(methods,setOldClass)
useDynLib(xml2, .registration = TRUE)
1 change: 1 addition & 0 deletions R/S4.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#' @importFrom methods setOldClass
#' @exportClass xml_document xml_missing xml_node xml_nodeset
setOldClass("xml_document")
setOldClass("xml_missing")
setOldClass("xml_node")
Expand Down

0 comments on commit 4fa5bdf

Please sign in to comment.