Skip to content

Instantly share code, notes, and snippets.

View JoseAlanis's full-sized avatar

José C. García Alanis JoseAlanis

View GitHub Profile
JoseAlanis /
Last active August 26, 2019 10:00
Final Report Google Summer of Code with MNE-Python

Final Report - Google Summer of Code 2019 with MNE-Python

During the last couple of months, I've been working on the GSoC-project for enhancing statistical inference using linear regression in MNE-Python.

  • Please refer to the project's GitHub repository, which contains the code developed during the GSoC period (although also see here and here for completeness).
  • Also a detailed list of contributions can be found here.
  • In addition, I've put up a website that contains the major achievements of the GSoC project.

JoseAlanis / load_packages.R
Last active September 1, 2022 09:53
Checks if multiple R packages are installed. If yes, they are required. If not, they are installed and required.
View load_packages.R
load.package <- function(package, repos) {
# list of packages missing
missing <- package[!package %in% installed.packages()[, 'Package']]
# check wich packages are not intalled and install them
if (!is.null(missing)) {
if (missing(repos)) {
# use Goettingen (Germany) mirror as default
repos <- ''