[Rd] ":::" operator doesn't work with data object Ecdat:::Crime
@pencer@gr@ve@ @end|ng |rom prod@y@e@com
Tue Mar 17 06:47:06 CET 2020
The ":::" operator doesn't work for me with "Ecdat:::Crime" on
either macOS 10.15.3 or Windows 10.
A different but related issue is that "plm::Crime" says "Error:
'Crime' is not an exported object from 'namespace:plm'", even though
"library(plm); data(Crime); Crime" works. I would naively think a user
should be able to compare "Crime" objects documented in different
packages using the "::" and ":::" operators, even if a package
maintainer chooses not to "export" data objects.
What do you think?
*** The following is from my Mac; I could give you the comparable
results from Windows 10 if you want it.
 630 24
Error in get(name, envir = asNamespace(pkg), inherits = FALSE) :
object 'Crime' not found
R version 3.6.3 (2020-02-29)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Catalina 10.15.3
Matrix products: default
attached base packages:
 stats graphics grDevices utils datasets
 methods base
loaded via a namespace (and not attached):
 Rcpp_1.0.3 lattice_0.20-40
 mvtnorm_1.1-0 BMA_3.18.12
 Ecdat_0.3-7 rrcov_1.5-2
 MASS_7.3-51.5 leaps_3.1
 grid_3.6.3 pcaPP_1.9-73
 stats4_3.6.3 TeachingDemos_2.10
 Ecfun_0.2-4 robustbase_0.93-5
 xml2_1.2.5 Matrix_1.2-18
 splines_3.6.3 tools_3.6.3
 DEoptimR_1.0-8 jpeg_0.1-8.1
 survival_3.1-11 compiler_3.6.3
 inline_0.3.15 fda_126.96.36.199
 The six "Crime" objects I found were in the following packages:
Ecdat, BSDA, plm, mosaicModel, statisticalModeling, and gpk.
More information about the R-devel