R/firstlib.R

Defines functions .onAttach

# This file is a part of rOpenGov (http://ropengov.org)

# Copyright (C) 2010-2022 Juuso Parkkinen, Joona Lehtomaki, Pyry Kantanen, Leo Lahti <ropengov.org>.
# All rights reserved.

# This program is open source software; you can redistribute it and/or modify
# it under the terms of the FreeBSD License (keep this notice):
# http://en.wikipedia.org/wiki/BSD_licenses

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


.onAttach <- function(lib, pkg) {
  # This may help with encodings in Mac/Linux
  # Sys.setlocale(locale = "UTF-8")
  # Sys.setlocale(locale = "WINDOWS-1252")

  packageStartupMessage("\nhelsinki R package: tools for open data from Helsinki, Finland capital region.\nThis R package is part of rOpenGov <ropengov.org>.\nCopyright (C) 2010-2022 Juuso Parkkinen, Joona Lehtomaki, Pyry Kantanen, Leo Lahti.\nThis is free software. You are free to use, modify and redistribute it under the FreeBSD license.")
}
rOpenGov/helsinki documentation built on Feb. 19, 2023, 3:26 a.m.