Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: RNetCDF
Version: 2.10-3
Date: 2025-04-25
Version: 2.11-1
Date: 2025-04-30
Title: Interface to 'NetCDF' Datasets
Authors@R: c(person("Pavel", "Michna", role = "aut",
email = "rnetcdf-devel@bluewin.ch"),
Expand Down
4 changes: 2 additions & 2 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ R CMD INSTALL Example

R CMD INSTALL --configure-args="CPPFLAGS=-I/sw/include \
LDFLAGS=-L/sw/lib LIBS=-lhdf5 --with-cc=mpicc --with-mpiexec=mpiexec" \
RNetCDF_2.10-3.tar.gz
RNetCDF_2.11-1.tar.gz


LD_LIBRARY_PATH
Expand Down Expand Up @@ -126,7 +126,7 @@ R CMD check Example
===================

R CMD check --install-args="--configure-args='CPPFLAGS=-I/sw/include \
LDFLAGS=-L/sw/lib'" RNetCDF_2.10-3.tar.gz
LDFLAGS=-L/sw/lib'" RNetCDF_2.11-1.tar.gz


Time units
Expand Down
7 changes: 6 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Version 2.10-3, 2025-04-25
Version 2.11-1, 2025-04-30
* Do not use nc-config compiler by default
* Use new R API functions for environments
* Use config.h to simplify compiler flags
* Call gc before opening datasets
- This may avoid corruption or crashes if a dataset is changed
unexpectedly when the garbage collector closes unreferenced ncids

Version 2.10-2, 2025-04-15
* Fix bashism in configure.ac
Expand Down
18 changes: 9 additions & 9 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.72 for RNetCDF 2.10-3.
# Generated by GNU Autoconf 2.72 for RNetCDF 2.11-1.
#
#
# Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
Expand Down Expand Up @@ -601,8 +601,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='RNetCDF'
PACKAGE_TARNAME='rnetcdf'
PACKAGE_VERSION='2.10-3'
PACKAGE_STRING='RNetCDF 2.10-3'
PACKAGE_VERSION='2.11-1'
PACKAGE_STRING='RNetCDF 2.11-1'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''

Expand Down Expand Up @@ -1259,7 +1259,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
'configure' configures RNetCDF 2.10-3 to adapt to many kinds of systems.
'configure' configures RNetCDF 2.11-1 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1321,7 +1321,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of RNetCDF 2.10-3:";;
short | recursive ) echo "Configuration of RNetCDF 2.11-1:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1412,7 +1412,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
RNetCDF configure 2.10-3
RNetCDF configure 2.11-1
generated by GNU Autoconf 2.72

Copyright (C) 2023 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1929,7 +1929,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by RNetCDF $as_me 2.10-3, which was
It was created by RNetCDF $as_me 2.11-1, which was
generated by GNU Autoconf 2.72. Invocation command line was

$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -7542,7 +7542,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by RNetCDF $as_me 2.10-3, which was
This file was extended by RNetCDF $as_me 2.11-1, which was
generated by GNU Autoconf 2.72. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -7606,7 +7606,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
RNetCDF config.status 2.10-3
RNetCDF config.status 2.11-1
configured by $0, generated by GNU Autoconf 2.72,
with options \\"\$ac_cs_config\\"

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Initialize #
#-------------------------------------------------------------------------------#

AC_INIT([RNetCDF],[2.10-3])
AC_INIT([RNetCDF],[2.11-1])

: ${R_HOME=`R RHOME`}
AS_IF([test -z "${R_HOME}"],
Expand Down
2 changes: 1 addition & 1 deletion src/RNetCDF.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Name: RNetCDF.h
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: Declare RNetCDF functions callable from R
*
Expand Down
2 changes: 1 addition & 1 deletion src/attribute.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Name: attribute.c
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: NetCDF attribute functions for RNetCDF
*
Expand Down
2 changes: 1 addition & 1 deletion src/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Name: common.c
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: Common definitions for RNetCDF functions
*
Expand Down
2 changes: 1 addition & 1 deletion src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Name: common.h
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: Common definitions for RNetCDF functions
*
Expand Down
2 changes: 1 addition & 1 deletion src/convert.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Name: convert.c
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: Type conversions for RNetCDF
*
Expand Down
2 changes: 1 addition & 1 deletion src/convert.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Name: convert.h
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: Type conversions for RNetCDF
*
Expand Down
2 changes: 1 addition & 1 deletion src/dataset.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Name: dataset.c
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: NetCDF dataset functions for RNetCDF
*
Expand Down
2 changes: 1 addition & 1 deletion src/dimension.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Name: dimension.c
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: NetCDF dimension functions for RNetCDF
*
Expand Down
2 changes: 1 addition & 1 deletion src/group.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Name: group.c
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: NetCDF group functions for RNetCDF.
*
Expand Down
2 changes: 1 addition & 1 deletion src/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Name: common.c
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: RNetCDF initialisation
*
Expand Down
2 changes: 1 addition & 1 deletion src/type.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Name: type.c
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: NetCDF type functions for RNetCDF
*
Expand Down
2 changes: 1 addition & 1 deletion src/udunits.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Name: udunits.c
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: udunits2 functions for RNetCDF.
*
Expand Down
2 changes: 1 addition & 1 deletion src/variable.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Name: variable.c
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: NetCDF variable functions for RNetCDF
*
Expand Down
2 changes: 1 addition & 1 deletion tests/RNetCDF-test.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Name: RNetCDF-test.R
#
# Version: 2.10-3
# Version: 2.11-1
#
# Purpose: Test functions to the NetCDF interface for R.
#
Expand Down
2 changes: 1 addition & 1 deletion tools/convert.m4
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dnl Insert warning into generated C code:
*
* Name: convert.c
*
* Version: 2.10-3
* Version: 2.11-1
*
* Purpose: Type conversions for RNetCDF
*
Expand Down
Loading