Skip to content

Commit

Permalink
4.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
truecluster committed Oct 13, 2020
1 parent b4158fc commit 46bc1c5
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 12 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ff
Version: 4.0.3
Date: 2020-10-11
Version: 4.0.4
Date: 2020-10-13
Title: Memory-Efficient Storage of Large Data on Disk and Fast Access Functions
Author: Daniel Adler [aut],
Christian Gläser [aut],
Expand Down
9 changes: 9 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
CHANGES IN ff VERSION 4.0.4

BUG FIXES

o test that fail under any MACOS
have been disabled under that platform



CHANGES IN ff VERSION 4.0.3

USER VISIBLE CHANGES
Expand Down
4 changes: 2 additions & 2 deletions R/CFUN.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# source("d:/mwp/eanalysis/ff/R/CFUN.R")

# xx TODO: extend this for weighted means, weighted median etc., see http://tolstoy.newcastle.edu.au/R/help/02a/1073.html and http://tolstoy.newcastle.edu.au/R/help/02a/1060.html or google "Re: [R] Weighted median"
# xx TODO: extend this for weighted means, weighted median etc., google "Re: [R] Weighted median"

#! \name{CFUN}
#! \alias{CFUN}
Expand Down Expand Up @@ -64,7 +64,7 @@
#! }
#! \section{ff options}{
#! xx TODO: extend this for weighted means, weighted median etc., \cr
#! see http://tolstoy.newcastle.edu.au/R/help/02a/1073.html and http://tolstoy.newcastle.edu.au/R/help/02a/1060.html or google "Re: [R] Weighted median"
#! google "Re: [R] Weighted median"
#! }
#! \value{
#! depends on the CFUN used
Expand Down
2 changes: 1 addition & 1 deletion R/ff.R
Original file line number Diff line number Diff line change
Expand Up @@ -2119,7 +2119,7 @@ str.ff <- function(object, nest.lev=0, ...){
#! }
#! }
#! \section{OS specific}{
#! The following table gives an overview of file size limits for common file systems (see \url{http://en.wikipedia.org/wiki/Comparison_of_file_systems} for further details):
#! The following table gives an overview of file size limits for common file systems (see \url{https://en.wikipedia.org/wiki/Comparison_of_file_systems} for further details):
#! \tabular{ll}{
#! \strong{File System} \tab \strong{File size limit} \cr
#! FAT16 \tab 2GB \cr
Expand Down
2 changes: 1 addition & 1 deletion man/CFUN.rd
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ cmean(\dots, na.rm = FALSE)
}
\section{ff options}{
xx TODO: extend this for weighted means, weighted median etc., \cr
see http://tolstoy.newcastle.edu.au/R/help/02a/1073.html and http://tolstoy.newcastle.edu.au/R/help/02a/1060.html or google "Re: [R] Weighted median"
google "Re: [R] Weighted median"
}
\value{
depends on the CFUN used
Expand Down
2 changes: 1 addition & 1 deletion man/ff.rd
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ ff( initdata = NULL
}
}
\section{OS specific}{
The following table gives an overview of file size limits for common file systems (see \url{http://en.wikipedia.org/wiki/Comparison_of_file_systems} for further details):
The following table gives an overview of file size limits for common file systems (see \url{https://en.wikipedia.org/wiki/Comparison_of_file_systems} for further details):
\tabular{ll}{
\strong{File System} \tab \strong{File size limit} \cr
FAT16 \tab 2GB \cr
Expand Down
10 changes: 5 additions & 5 deletions tests/testthat/test-zero_lengths.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ library("ff")
# stopifnot(identical(x,y))
# }

is_not_oldrel_macos <- function(){Sys.info()["sysname"] != 'Darwin' || R.version$major >= 4}
is_not_macos <- function(){Sys.info()["sysname"] != 'Darwin'}

context("ff-zero-lengths")

Expand Down Expand Up @@ -33,7 +33,7 @@ test_that("file size is correct when creating ff integer from scratch", {
expect_true(file.exists(f0))
expect_true(file.exists(f1))
gc()
if (is_not_oldrel_macos()){
if (is_not_macos()){
expect_false(file.exists(f0))
expect_false(file.exists(f1))
}
Expand Down Expand Up @@ -64,7 +64,7 @@ test_that("file size is correct when creating ff quad from scratch", {
expect_true(file.exists(f0))
expect_true(file.exists(f1))
gc()
if (is_not_oldrel_macos()){
if (is_not_macos()){
expect_false(file.exists(f0))
expect_false(file.exists(f1))
}
Expand Down Expand Up @@ -92,7 +92,7 @@ test_that("file size is correct when creating ff integer from existing file", {
expect_false(file.exists(f0))
expect_false(file.exists(f1))
gc()
if (is_not_oldrel_macos()){
if (is_not_macos()){
expect_false(file.exists(f0))
expect_false(file.exists(f1))
}
Expand Down Expand Up @@ -126,7 +126,7 @@ test_that("file size is correct when creating ff quad from existing file", {
expect_false(file.exists(f0))
expect_false(file.exists(f1))
gc()
if (is_not_oldrel_macos()){
if (is_not_macos()){
expect_false(file.exists(f0))
expect_false(file.exists(f1))
}
Expand Down

0 comments on commit 46bc1c5

Please sign in to comment.