We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73231a5 commit 812e6ceCopy full SHA for 812e6ce
inst/include/cpp11/matrix.hpp
@@ -189,11 +189,11 @@ class matrix : public matrix_slices<S> {
189
190
operator SEXP() const { return SEXP(vector_); }
191
192
- sexp attr(const char* name) { return vector_.attr(name); }
+ attribute_proxy<V> attr(const char* name) { return vector_.attr(name); }
193
194
- sexp attr(const std::string& name) { return vector_.attr(name); }
+ attribute_proxy<V> attr(const std::string& name) { return vector_.attr(name); }
195
196
- sexp attr(SEXP name) { return vector_.attr(name); }
+ attribute_proxy<V> attr(SEXP name) { return vector_.attr(name); }
197
198
void attr(const char* name, SEXP value) { vector_.attr(name) = value; }
199
0 commit comments