Skip to content

icesConnect

1.2.0Package record

Provides User Tokens for Access to ICES Web Services

5packages depend
5.7Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Provides user tokens for ICES web services that require authentication and authorization. Web services covered by this package are ICES VMS database, the ICES DATSU web services, and the ICES SharePoint site https://www.ices.dk/data/tools/Pages/WebServices.aspx.

Changes in 1.2.0
  • tokens are now created by logging in at https://data.ices.dk/token, which uses two-factor authentication. Tokens can no longer be requested from R using a username and password, and can not be refreshed from R. This removes the token request code that caused the errors reported in #2 and addressed by #3.
  • add function set_token() to store a token copied from https://data.ices.dk/token. A username is no longer needed, and set_username() now does nothing except print a message (#5).
  • ices_token() now explains how to get a new token, and gives the expiry date when the stored token has expired.
  • the token file is now only readable by the user.
  • bugfix: decode_token() could fail on valid tokens, as the token payload is base64url encoded. decode_token() now warns and returns an empty list for tokens that can not be decoded.
Show all changes in 1.2.0Hide the rest of the changes in 1.2.0
  • request functions now fail gracefully: if the request can not be made (for example, no internet connection), a message is given and NULL is returned. ices_get() and ices_post() also return NULL, rather than trying to parse the response, when the server returns an error status (#6).
  • the messages for HTTP 401 and 403 responses now point to https://data.ices.dk/token.
  • remove dependency on askpass

icesConnect 1.1.4 (2025-04-30)

  • allow encoding to be set in ices_post()

icesConnect 1.1.3 (2025-04-03)

  • remove dependency on askPass

icesConnect 1.1.1 (2025-04-03)

  • convert to holding token in DCF file

icesConnect 1.0.0 (2022-02-09)

  • Same as previous version.

icesConnect 0.0.0.9007 (2022-02-09)

  • add JWT argument to allow no authentication requests
  • add encoding to request functions
  • add refresh argument to ices_token()
  • export token decoding functions
  • add function set_username()
  • added function ices_get_jwt()
  • initial commit with ices_token() and clear_token() functions

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 52 s · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.0
READMEYes · 230 wordsVignettesNoNEWSYes · 100% structured · mentions 1.2.0Citation fileNoWebsiteYes
Help pages
5
Examples that run
0%4 never run
Exported functions with examples
80%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

5.7K
CRAN downloads in the past year
Rank #7,537 · ~16/day · ~476/mo
Daily download trend is not available in this view yet.
45730 days
1.2K90 days
5.7K1 year
Compare downloads with other packages →
Also on97 r2u1 autocran

Repository

0Stars
2Forks
3Open issues
1Open PRs
0Releases
55Commits
1Commit identities
55 commits · Last activity 2026-10-20
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
6
Median days to close, 50 most recently updated closed PRs
not measured

Forks over time

2025-05-14 · 22026-07-07 · 2
PracticesBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/ices-tools-prod/icesconnect on 2026-10-22.

Docs source (1)
README.Rmd
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing icesConnect adds 9 packages (7 with compiled code, 3.0 MB of source tarballs). Heaviest: openssl 1.1 MB, jsonlite 1.0 MB, curl 714 KB.

Depends (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
5direct
1indirect
Imports 5
Depends, Imports or LinkingTo, most downloaded first

People & History

People (1)
Author, Maintainer since 1.0.0 (2022)
Releases (3)

Pick two releases to compare their code metrics.

  • 1.2.0Latest
    record
    2026-10-20 · current release · diff ↗ ·
    removed 3 exports
    clear_token, clear_username, get_username
    added 1 export
    set_token
  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.4
    record
    2025-04-30 · diff ↗ ·
    added 4 exports
    clear_username, get_username, ices_get, ices_post
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.0
    record
    2022-02-10
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-02-10
Total releases
3 / 4 yrs
License
GPL-3 OSI
Download size
8.9 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("icesConnect")
Millar, C. (2026). icesConnect: Provides User Tokens for Access to ICES Web Services (Version 1.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.icesConnect

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for icesConnect version 1.2.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy