-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
rchk issues #190
Comments
The Docker version doesn't match.
|
readODS/inst/include/cpp11/r_vector.hpp Lines 912 to 929 in 47df07c
Changing to this template <typename T>
inline r_vector<T>::operator SEXP() const {
auto* p = const_cast<r_vector<T>*>(this);
if (data_ == R_NilValue) {
p->resize(0);
return data_;
}
if (length_ < capacity_) {
p->data_ = truncate(p->data_, length_, capacity_);
SEXP nms;
PROTECT(nms = names());
auto nms_size = Rf_xlength(nms);
if ((nms_size > 0) && (length_ < nms_size)) {
nms = truncate(nms, length_, capacity_);
names() = nms;
}
UNPROTECT(1);
}
return data_;
} does not raise the |
can't run |
|
Now I can directly attribute the |
And this cancels the |
https://raw.githubusercontent.com/kalibera/cran-checks/master/rchk/results/readODS.out
Cannot reproduce it locally.
The text was updated successfully, but these errors were encountered: