Skip to content

Commit

Permalink
Reset package state to 3.2.3 version
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalKieslich committed Jan 19, 2024
1 parent bfc728b commit f4469a1
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: mousetrap
Type: Package
Version: 3.2.3.9000
Version: 3.2.3
Title: Process and Analyze Mouse-Tracking Data
Description: Mouse-tracking, the analysis of mouse movements in computerized
experiments, is a method that is becoming increasingly popular in the
Expand Down
6 changes: 6 additions & 0 deletions R/heatmap.R
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,9 @@ mt_heatmap_raw <- function(
#' 111-130). New York, NY: Routledge.
#'
#' @examples
#' \dontrun{
#' mt_heatmap(KH2017, xres=500, n_shades=5, mean_image=0.2)
#' }
#'
#'
#'
Expand Down Expand Up @@ -667,7 +669,9 @@ mt_heatmap <- function(
#' 111-130). New York, NY: Routledge.
#'
#' @examples
#' \dontrun{
#' mt_heatmap_ggplot(KH2017, xres=500, n_shades=5, mean_image=0.2)
#' }
#'
#' @export
mt_heatmap_ggplot <- function(data,
Expand Down Expand Up @@ -849,10 +853,12 @@ print.mt_heatmap_raw = function(x,...){
#' 111-130). New York, NY: Routledge.
#'
#' @examples
#' \dontrun{
#' mt_diffmap(
#' KH2017, condition="Condition",
#' xres=400, smooth_radius=6, n_shades=5
#' )
#' }
#'
#' @export
mt_diffmap <- function(
Expand Down
2 changes: 1 addition & 1 deletion R/startupmessage.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.onAttach <- function(libname, pkgname) {
packageStartupMessage("Welcome to mousetrap 3.2.3.9000!")
packageStartupMessage("Welcome to mousetrap 3.2.3!")
packageStartupMessage("Summary of recent changes: http://pascalkieslich.github.io/mousetrap/news/")
packageStartupMessage("Forum for questions: https://forum.cogsci.nl/index.php?p=/categories/mousetrap")
}
2 changes: 2 additions & 0 deletions man/mt_diffmap.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/mt_heatmap.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/mt_heatmap_ggplot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/distMat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ NumericMatrix distMat3d(NumericMatrix x,
int power = 2) {
int ni = x.ncol(), nt = x.nrow();
double xd,yd,zd,d = 0;
NumericMatrix dist(nt, nt);
NumericMatrix dist(nt,nt);
for(int r = 0; r < nt; r++) { // loop rows
for(int c = r; c < nt; c++) { // loop cols (only half due to symmetry)
d = 0; //dummy value of final matrix entry
Expand Down

0 comments on commit f4469a1

Please sign in to comment.