Skip to content

Commit 6cda5c6

Browse files
committed
Update CRAN comments
1 parent 1af81da commit 6cda5c6

File tree

5 files changed

+13
-27
lines changed

5 files changed

+13
-27
lines changed

cran-comments.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,31 @@
11

22
## Submission
33

4-
This submission of fst adresses Prof. Ripley's request to move the OpenMP flag to PKG_CXXFLAGS.
5-
In addition several minor issues have been resolved to increase package stability and the
6-
libraries on which fst depends (fstlib, LZ4 and ZSTD) are updated to their latest version.
4+
This submission of fst (v0.9.0) addresses Dr. Kurt Hornik's request to fix issues identified by rchk. These issues result from PROTECT / UNPROTECT pairs called in the constructor / destructor pairs of C++ classes. rchk (rightfully) warns about those because it can't determine from the code if pairs are properly matched. With this submission the relevant SEXP classes are protected by containing them in SEXP classes that are already PROTECTED, which allows for removal of the PROTECT / UNPROTECT pairs in question.
75

8-
## Test environments
6+
Two false warnings remain, detected in fst_compress.cpp lines 134 and 164. The code was thoroughly checked to affirm the stability of the code.
7+
8+
In addition, support for fst files generated with package versions before 0.8.0 has been deprecated, significantly reducing the (C++) code base.
9+
10+
## Test environments
911

1012
* OSX on travis-ci
1113
* Ubuntu 14.04 on travis-ci
1214
* Ubuntu 18.10 locally
1315
* Ubuntu 18.10 locally using clang-6.0
14-
* docker with the rocker/r-devel-ubsan-clang instrumented image
15-
* docker with the rocker/r-devel-san instrumented image
16-
* Windows 10 local R 3.5.1
16+
* Docker with the rocker/r-devel-ubsan-clang instrumented image
17+
* Docker with the rocker/r-devel-san instrumented image
18+
* Windows 10 local R 3.5.3
1719
* Windows 10 local R-dev 3.6.0 pre-release
18-
* Windows Server 2012 R2 x64 (build 9600) on AppVeyor R 3.5.1
19-
* R-Devel 3.6.0 build on Windows 10
20+
* Windows Server 2012 R2 x64 (build 9600) on AppVeyor (R 3.5.3)
21+
* Singularity-container package for running rchk on Ubuntu 18.10
22+
* Valgrind on Ubuntu 18.10.
23+
* Rhub (only on systems that support OpenMP)
2024

2125
## R CMD check results
2226

2327
There were no ERRORs or WARNINGs.
2428

25-
On some platforms a note is generated with R CMD check:
26-
installed size is 7.0Mb
27-
The install size on different platforms varies significantly, from 1.42 MB (windows 10) to more than 7 MB on fedora.
28-
29-
## Valgrind
30-
31-
To reproduce the CRAN valgrind report, an instrumented (level 2) build of R was constructed on a fresh Ubuntu 16.04 image using config.site and configure parameters as specified in the memtests README file on CRAN. That build shows no valgrind warnings using the current submision.
32-
3329
## Downstream dependencies
3430

3531
I have run R CMD check on downstream dependencies and found no issues:

src/fst_column.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,6 @@ class FactorColumn : public IFactorColumn
154154
{
155155
return blockReaderStrVecP.get();
156156
}
157-
158-
// FstColumnAttribute Attribute()
159-
// {
160-
// return columnAttribute;
161-
// }
162157
};
163158

164159

src/fst_type_factory.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,3 @@ class TypeFactory : public ITypeFactory
7979

8080

8181
#endif // TYPE_FACTORY_H
82-

src/fstcore/factor/factor_v7.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636

3737
#include <compression/compressor.h>
3838

39-
// #include <boost/unordered_map.hpp>
40-
4139
using namespace std;
4240

4341

src/fstcore/interface/fststore.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ class FstStore
3939
std::unique_ptr<char[]> metaDataBlockP;
4040

4141
public:
42-
// IStringColumn* blockReader;
43-
4442
unsigned long long* p_nrOfRows;
4543
int* keyColPos;
4644

0 commit comments

Comments
 (0)